commit | 7e38f0e5c2db5667d95ef98610922a578ef27510 | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Mon Jun 13 14:37:29 2016 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Mon Jun 13 14:37:29 2016 -0700 |
tree | f7dc35f37b7636dfbdacf49b4894faabac6032ec | |
parent | a39ac67df22c0f3ce5c5a24c7ac1a49c2bce78c1 [diff] |
move vtr to onboarding
diff --git a/xos/services/vtr/admin.py b/xos/onboard/vtr/admin.py similarity index 100% rename from xos/services/vtr/admin.py rename to xos/onboard/vtr/admin.py
diff --git a/xos/api/tenant/truckroll.py b/xos/onboard/vtr/api/tenant/truckroll.py similarity index 100% rename from xos/api/tenant/truckroll.py rename to xos/onboard/vtr/api/tenant/truckroll.py
diff --git a/xos/services/vtr/models.py b/xos/onboard/vtr/models.py similarity index 100% rename from xos/services/vtr/models.py rename to xos/onboard/vtr/models.py
diff --git a/xos/synchronizers/vtr/files/run_tcpdump.sh b/xos/onboard/vtr/synchronizer/files/run_tcpdump.sh similarity index 100% rename from xos/synchronizers/vtr/files/run_tcpdump.sh rename to xos/onboard/vtr/synchronizer/files/run_tcpdump.sh
diff --git a/xos/onboard/vtr/synchronizer/manifest b/xos/onboard/vtr/synchronizer/manifest new file mode 100644 index 0000000..61ffb39 --- /dev/null +++ b/xos/onboard/vtr/synchronizer/manifest
@@ -0,0 +1,10 @@ +manifest +vtr-synchronizer.py +vtn_vtr_synchronizer_config +steps/sync_vtrtenant.py +steps/sync_vtrtenant.yaml +vtr_synchronizer_config +files/run_tcpdump.sh +run-vtn.sh +model-deps +run.sh
diff --git a/xos/synchronizers/vtr/model-deps b/xos/onboard/vtr/synchronizer/model-deps similarity index 100% rename from xos/synchronizers/vtr/model-deps rename to xos/onboard/vtr/synchronizer/model-deps
diff --git a/xos/synchronizers/vtr/run-vtn.sh b/xos/onboard/vtr/synchronizer/run-vtn.sh similarity index 100% rename from xos/synchronizers/vtr/run-vtn.sh rename to xos/onboard/vtr/synchronizer/run-vtn.sh
diff --git a/xos/synchronizers/vtr/run.sh b/xos/onboard/vtr/synchronizer/run.sh similarity index 100% rename from xos/synchronizers/vtr/run.sh rename to xos/onboard/vtr/synchronizer/run.sh
diff --git a/xos/synchronizers/vtr/steps/sync_vtrtenant.py b/xos/onboard/vtr/synchronizer/steps/sync_vtrtenant.py similarity index 100% rename from xos/synchronizers/vtr/steps/sync_vtrtenant.py rename to xos/onboard/vtr/synchronizer/steps/sync_vtrtenant.py
diff --git a/xos/synchronizers/vtr/steps/sync_vtrtenant.yaml b/xos/onboard/vtr/synchronizer/steps/sync_vtrtenant.yaml similarity index 100% rename from xos/synchronizers/vtr/steps/sync_vtrtenant.yaml rename to xos/onboard/vtr/synchronizer/steps/sync_vtrtenant.yaml
diff --git a/xos/synchronizers/vtr/vtn_vtr_synchronizer_config b/xos/onboard/vtr/synchronizer/vtn_vtr_synchronizer_config similarity index 100% rename from xos/synchronizers/vtr/vtn_vtr_synchronizer_config rename to xos/onboard/vtr/synchronizer/vtn_vtr_synchronizer_config
diff --git a/xos/synchronizers/vtr/vtr-synchronizer.py b/xos/onboard/vtr/synchronizer/vtr-synchronizer.py similarity index 100% rename from xos/synchronizers/vtr/vtr-synchronizer.py rename to xos/onboard/vtr/synchronizer/vtr-synchronizer.py
diff --git a/xos/synchronizers/vtr/vtr_synchronizer_config b/xos/onboard/vtr/synchronizer/vtr_synchronizer_config similarity index 100% rename from xos/synchronizers/vtr/vtr_synchronizer_config rename to xos/onboard/vtr/synchronizer/vtr_synchronizer_config
diff --git a/xos/services/vtr/templates/vtradmin.html b/xos/onboard/vtr/templates/vtradmin.html similarity index 100% rename from xos/services/vtr/templates/vtradmin.html rename to xos/onboard/vtr/templates/vtradmin.html
diff --git a/xos/onboard/vtr/vtr-onboard.yaml b/xos/onboard/vtr/vtr-onboard.yaml new file mode 100644 index 0000000..1644f02 --- /dev/null +++ b/xos/onboard/vtr/vtr-onboard.yaml
@@ -0,0 +1,23 @@ +tosca_definitions_version: tosca_simple_yaml_1_0 + +description: Onboard the exampleservice + +imports: + - custom_types/xos.yaml + +topology_template: + node_templates: + servicecontroller#vtr: + type: tosca.nodes.ServiceController + properties: + base_url: file:///opt/xos/onboard/vtr/ + # The following will concatenate with base_url automatically, if + # base_url is non-null. + models: models.py + admin: admin.py + admin_template: templates/vtradmin.html + synchronizer: synchronizer/manifest + rest_tenant: api/tenant/truckroll.py + private_key: file:///opt/xos/key_import/vsg_rsa + public_key: file:///opt/xos/key_import/vsg_rsa.pub +