commit | 9b5f51ae66ab195e931b98befc79b8a80a282cd7 | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Tue Jun 14 01:31:43 2016 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Tue Jun 14 01:31:43 2016 -0700 |
tree | c775d138adfbbda2df5a755faca975ed788bc3b7 | |
parent | 1c5ba0e398a197f702abd7ff65f879cbaa6a2dab [diff] |
move over vtn
diff --git a/xos/services/vtn/admin.py b/xos/onboard/vtn/admin.py similarity index 100% rename from xos/services/vtn/admin.py rename to xos/onboard/vtn/admin.py
diff --git a/xos/api/service/vtn.py b/xos/onboard/vtn/api/service/vtn.py similarity index 100% rename from xos/api/service/vtn.py rename to xos/onboard/vtn/api/service/vtn.py
diff --git a/xos/services/vtn/models.py b/xos/onboard/vtn/models.py similarity index 100% rename from xos/services/vtn/models.py rename to xos/onboard/vtn/models.py
diff --git a/xos/onboard/vtn/synchronizer/manifest b/xos/onboard/vtn/synchronizer/manifest new file mode 100644 index 0000000..dccfcdc --- /dev/null +++ b/xos/onboard/vtn/synchronizer/manifest
@@ -0,0 +1,10 @@ +manifest +vtn-synchronizer.py +steps/sync_tenant.py +steps/sync_port_addresses.py +start.sh +stop.sh +model-deps +supervisor/vtn-observer.conf +run.sh +vtn_synchronizer_config
diff --git a/xos/synchronizers/vtn/model-deps b/xos/onboard/vtn/synchronizer/model-deps similarity index 100% rename from xos/synchronizers/vtn/model-deps rename to xos/onboard/vtn/synchronizer/model-deps
diff --git a/xos/synchronizers/vtn/run.sh b/xos/onboard/vtn/synchronizer/run.sh similarity index 100% rename from xos/synchronizers/vtn/run.sh rename to xos/onboard/vtn/synchronizer/run.sh
diff --git a/xos/synchronizers/vtn/start.sh b/xos/onboard/vtn/synchronizer/start.sh similarity index 100% rename from xos/synchronizers/vtn/start.sh rename to xos/onboard/vtn/synchronizer/start.sh
diff --git a/xos/synchronizers/vtn/steps/sync_port_addresses.py b/xos/onboard/vtn/synchronizer/steps/sync_port_addresses.py similarity index 100% rename from xos/synchronizers/vtn/steps/sync_port_addresses.py rename to xos/onboard/vtn/synchronizer/steps/sync_port_addresses.py
diff --git a/xos/synchronizers/vtn/steps/sync_tenant.py b/xos/onboard/vtn/synchronizer/steps/sync_tenant.py similarity index 100% rename from xos/synchronizers/vtn/steps/sync_tenant.py rename to xos/onboard/vtn/synchronizer/steps/sync_tenant.py
diff --git a/xos/synchronizers/vtn/stop.sh b/xos/onboard/vtn/synchronizer/stop.sh similarity index 100% rename from xos/synchronizers/vtn/stop.sh rename to xos/onboard/vtn/synchronizer/stop.sh
diff --git a/xos/synchronizers/vtn/supervisor/vtn-observer.conf b/xos/onboard/vtn/synchronizer/supervisor/vtn-observer.conf similarity index 100% rename from xos/synchronizers/vtn/supervisor/vtn-observer.conf rename to xos/onboard/vtn/synchronizer/supervisor/vtn-observer.conf
diff --git a/xos/synchronizers/vtn/vtn-synchronizer.py b/xos/onboard/vtn/synchronizer/vtn-synchronizer.py similarity index 100% rename from xos/synchronizers/vtn/vtn-synchronizer.py rename to xos/onboard/vtn/synchronizer/vtn-synchronizer.py
diff --git a/xos/synchronizers/vtn/vtn_synchronizer_config b/xos/onboard/vtn/synchronizer/vtn_synchronizer_config similarity index 100% rename from xos/synchronizers/vtn/vtn_synchronizer_config rename to xos/onboard/vtn/synchronizer/vtn_synchronizer_config
diff --git a/xos/services/vtn/templates/vtnadmin.html b/xos/onboard/vtn/templates/vtnadmin.html similarity index 100% rename from xos/services/vtn/templates/vtnadmin.html rename to xos/onboard/vtn/templates/vtnadmin.html
diff --git a/xos/tosca/resources/vtnservice.py b/xos/onboard/vtn/tosca/resources/vtnservice.py similarity index 100% rename from xos/tosca/resources/vtnservice.py rename to xos/onboard/vtn/tosca/resources/vtnservice.py
diff --git a/xos/onboard/vtn/vtn-onboard.yaml b/xos/onboard/vtn/vtn-onboard.yaml new file mode 100644 index 0000000..48f6ad4 --- /dev/null +++ b/xos/onboard/vtn/vtn-onboard.yaml
@@ -0,0 +1,27 @@ +tosca_definitions_version: tosca_simple_yaml_1_0 + +description: Onboard the exampleservice + +imports: + - custom_types/xos.yaml + +topology_template: + node_templates: + servicecontroller#vsg: + type: tosca.nodes.ServiceController + properties: + base_url: file:///opt/xos/onboard/vsg/ + # The following will concatenate with base_url automatically, if + # base_url is non-null. + models: models.py + admin: admin.py + admin_template: templates/vcpeadmin.html + synchronizer: synchronizer/manifest + synchronizer_run: vcpe-synchronizer.py + #tosca_custom_types: exampleservice.yaml + tosca_resource: tosca/resources/vcpeservice.py + rest_service: subdirectory:vsg api/service/vsg/vsgservice.py + rest_tenant: subdirectory:cord api/tenant/cord/vsg.py + private_key: file:///opt/xos/key_import/vsg_rsa + public_key: file:///opt/xos/key_import/vsg_rsa.pub +