commit | ed1883d9dd886b7574ab77a61e2240c474371855 | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <gwsapan@gmail.com> | Thu Jan 14 14:16:33 2016 -0500 |
committer | Sapan Bhatia <gwsapan@gmail.com> | Thu Jan 14 14:16:33 2016 -0500 |
tree | 025ba2249587fa08988a37c278f0bad085cada36 | |
parent | 3f50410de5f25bdd01e289a6a20b4a24b4b722af [diff] |
Moved dependency_walker into generate, as well as model policies
diff --git a/xos/generate/__init__.py b/xos/generate/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/xos/generate/__init__.py
diff --git a/xos/dependency_walker.py b/xos/generate/dependency_walker.py similarity index 100% rename from xos/dependency_walker.py rename to xos/generate/dependency_walker.py
diff --git a/xos/synchronizers/base/syncstep.py b/xos/synchronizers/base/syncstep.py index 0a25c58..342e43f 100644 --- a/xos/synchronizers/base/syncstep.py +++ b/xos/synchronizers/base/syncstep.py
@@ -8,7 +8,7 @@ from core.models import * from django.db import reset_queries from observer.ansible import * -from dependency_walker import * +from generate.dependency_walker import * from time import time import json
diff --git a/xos/model_policy.py b/xos/synchronizers/model_policy.py similarity index 97% rename from xos/model_policy.py rename to xos/synchronizers/model_policy.py index 9462b35..2f6d980 100644 --- a/xos/model_policy.py +++ b/xos/synchronizers/model_policy.py
@@ -1,8 +1,8 @@ from django.db.models.signals import post_save from django.dispatch import receiver import pdb -from dependency_walker import * -import model_policies +from generator.dependency_walker import * +from synchronizers.openstack import model_policies from util.logger import logger from datetime import datetime import time
diff --git a/xos/model_policies/__init__.py b/xos/synchronizers/openstack/model_policies/__init__.py similarity index 100% rename from xos/model_policies/__init__.py rename to xos/synchronizers/openstack/model_policies/__init__.py
diff --git a/xos/model_policies/model_policy_Controller.py b/xos/synchronizers/openstack/model_policies/model_policy_Controller.py similarity index 100% rename from xos/model_policies/model_policy_Controller.py rename to xos/synchronizers/openstack/model_policies/model_policy_Controller.py
diff --git a/xos/model_policies/model_policy_ControllerSite.py b/xos/synchronizers/openstack/model_policies/model_policy_ControllerSite.py similarity index 100% rename from xos/model_policies/model_policy_ControllerSite.py rename to xos/synchronizers/openstack/model_policies/model_policy_ControllerSite.py
diff --git a/xos/model_policies/model_policy_ControllerSlice.py b/xos/synchronizers/openstack/model_policies/model_policy_ControllerSlice.py similarity index 100% rename from xos/model_policies/model_policy_ControllerSlice.py rename to xos/synchronizers/openstack/model_policies/model_policy_ControllerSlice.py
diff --git a/xos/model_policies/model_policy_ControllerUser.py b/xos/synchronizers/openstack/model_policies/model_policy_ControllerUser.py similarity index 100% rename from xos/model_policies/model_policy_ControllerUser.py rename to xos/synchronizers/openstack/model_policies/model_policy_ControllerUser.py
diff --git a/xos/model_policies/model_policy_Image.py b/xos/synchronizers/openstack/model_policies/model_policy_Image.py similarity index 100% rename from xos/model_policies/model_policy_Image.py rename to xos/synchronizers/openstack/model_policies/model_policy_Image.py
diff --git a/xos/model_policies/model_policy_Instance.py b/xos/synchronizers/openstack/model_policies/model_policy_Instance.py similarity index 100% rename from xos/model_policies/model_policy_Instance.py rename to xos/synchronizers/openstack/model_policies/model_policy_Instance.py
diff --git a/xos/model_policies/model_policy_Network.py b/xos/synchronizers/openstack/model_policies/model_policy_Network.py similarity index 100% rename from xos/model_policies/model_policy_Network.py rename to xos/synchronizers/openstack/model_policies/model_policy_Network.py
diff --git a/xos/model_policies/model_policy_Site.py b/xos/synchronizers/openstack/model_policies/model_policy_Site.py similarity index 100% rename from xos/model_policies/model_policy_Site.py rename to xos/synchronizers/openstack/model_policies/model_policy_Site.py
diff --git a/xos/model_policies/model_policy_SitePrivilege.py b/xos/synchronizers/openstack/model_policies/model_policy_SitePrivilege.py similarity index 100% rename from xos/model_policies/model_policy_SitePrivilege.py rename to xos/synchronizers/openstack/model_policies/model_policy_SitePrivilege.py
diff --git a/xos/model_policies/model_policy_Slice.py b/xos/synchronizers/openstack/model_policies/model_policy_Slice.py similarity index 100% rename from xos/model_policies/model_policy_Slice.py rename to xos/synchronizers/openstack/model_policies/model_policy_Slice.py
diff --git a/xos/model_policies/model_policy_SlicePrivilege.py b/xos/synchronizers/openstack/model_policies/model_policy_SlicePrivilege.py similarity index 100% rename from xos/model_policies/model_policy_SlicePrivilege.py rename to xos/synchronizers/openstack/model_policies/model_policy_SlicePrivilege.py
diff --git a/xos/model_policies/model_policy_Sliver.py b/xos/synchronizers/openstack/model_policies/model_policy_Sliver.py similarity index 100% rename from xos/model_policies/model_policy_Sliver.py rename to xos/synchronizers/openstack/model_policies/model_policy_Sliver.py
diff --git a/xos/model_policies/model_policy_User.py b/xos/synchronizers/openstack/model_policies/model_policy_User.py similarity index 100% rename from xos/model_policies/model_policy_User.py rename to xos/synchronizers/openstack/model_policies/model_policy_User.py
diff --git a/xos/synchronizers/openstack/syncstep.py b/xos/synchronizers/openstack/syncstep.py index 0a25c58..342e43f 100644 --- a/xos/synchronizers/openstack/syncstep.py +++ b/xos/synchronizers/openstack/syncstep.py
@@ -8,7 +8,7 @@ from core.models import * from django.db import reset_queries from observer.ansible import * -from dependency_walker import * +from generate.dependency_walker import * from time import time import json