commit | a78907c62b63dde6abe213b24cb4b94007dd12f4 | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Tue Jun 14 01:37:24 2016 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Tue Jun 14 01:37:24 2016 -0700 |
tree | 33f58ef7eff1aad48c562cffb533c81002142a22 | |
parent | a5037f0807f82ccc9894aa0275f2d5506a0da2fa [diff] |
move onos service over to onoarding
diff --git a/xos/services/onos/admin.py b/xos/onboard/onos/admin.py similarity index 100% rename from xos/services/onos/admin.py rename to xos/onboard/onos/admin.py
diff --git a/xos/api/service/onos.py b/xos/onboard/onos/api/service/onos.py similarity index 100% rename from xos/api/service/onos.py rename to xos/onboard/onos/api/service/onos.py
diff --git a/xos/api/tenant/onos/app.py b/xos/onboard/onos/api/tenant/onos/app.py similarity index 100% rename from xos/api/tenant/onos/app.py rename to xos/onboard/onos/api/tenant/onos/app.py
diff --git a/xos/services/onos/models.py b/xos/onboard/onos/models.py similarity index 100% rename from xos/services/onos/models.py rename to xos/onboard/onos/models.py
diff --git a/xos/onboard/onos/onos-onboard.yaml b/xos/onboard/onos/onos-onboard.yaml new file mode 100644 index 0000000..047b78e --- /dev/null +++ b/xos/onboard/onos/onos-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#onos: + type: tosca.nodes.ServiceController + properties: + base_url: file:///opt/xos/onboard/onos/ + # The following will concatenate with base_url automatically, if + # base_url is non-null. + models: models.py + admin: admin.py + admin_template: templates/onosadmin.html + synchronizer: synchronizer/manifest + synchronizer_run: onos-synchronizer.py + #tosca_custom_types: exampleservice.yaml + tosca_resource: tosca/resources/onosservice.py, tosca/resources/onosapp.py + rest_service: subdirectory:vsg api/service/onos.py + rest_tenant: subdirectory:onos api/tenant/onos/app.py +# private_key: file:///opt/xos/key_import/vsg_rsa +# public_key: file:///opt/xos/key_import/vsg_rsa.pub +
diff --git a/xos/onboard/onos/synchronizer/manifest b/xos/onboard/onos/synchronizer/manifest new file mode 100644 index 0000000..b96216a --- /dev/null +++ b/xos/onboard/onos/synchronizer/manifest
@@ -0,0 +1,16 @@ +manifest +onos-ext-volt-event-publisher-1.0-SNAPSHOT.oar +scripts/dockerip.sh +steps/sync_onosapp.py +steps/sync_onosapp_nocontainer.yaml +steps/sync_onosservice.py +steps/sync_onosservice.yaml +steps/sync_onosapp.yaml +onos-ext-notifier-1.0-SNAPSHOT.oar +start.sh +stop.sh +model-deps +onos_synchronizer_config +supervisor/onos-observer.conf +run.sh +onos-synchronizer.py
diff --git a/xos/synchronizers/onos/model-deps b/xos/onboard/onos/synchronizer/model-deps similarity index 100% rename from xos/synchronizers/onos/model-deps rename to xos/onboard/onos/synchronizer/model-deps
diff --git a/xos/synchronizers/onos/onos-ext-notifier-1.0-SNAPSHOT.oar b/xos/onboard/onos/synchronizer/onos-ext-notifier-1.0-SNAPSHOT.oar similarity index 100% rename from xos/synchronizers/onos/onos-ext-notifier-1.0-SNAPSHOT.oar rename to xos/onboard/onos/synchronizer/onos-ext-notifier-1.0-SNAPSHOT.oar Binary files differ
diff --git a/xos/synchronizers/onos/onos-ext-volt-event-publisher-1.0-SNAPSHOT.oar b/xos/onboard/onos/synchronizer/onos-ext-volt-event-publisher-1.0-SNAPSHOT.oar similarity index 100% rename from xos/synchronizers/onos/onos-ext-volt-event-publisher-1.0-SNAPSHOT.oar rename to xos/onboard/onos/synchronizer/onos-ext-volt-event-publisher-1.0-SNAPSHOT.oar Binary files differ
diff --git a/xos/synchronizers/onos/onos-synchronizer.py b/xos/onboard/onos/synchronizer/onos-synchronizer.py similarity index 100% rename from xos/synchronizers/onos/onos-synchronizer.py rename to xos/onboard/onos/synchronizer/onos-synchronizer.py
diff --git a/xos/synchronizers/onos/onos_synchronizer_config b/xos/onboard/onos/synchronizer/onos_synchronizer_config similarity index 100% rename from xos/synchronizers/onos/onos_synchronizer_config rename to xos/onboard/onos/synchronizer/onos_synchronizer_config
diff --git a/xos/synchronizers/onos/run.sh b/xos/onboard/onos/synchronizer/run.sh similarity index 100% rename from xos/synchronizers/onos/run.sh rename to xos/onboard/onos/synchronizer/run.sh
diff --git a/xos/synchronizers/onos/scripts/dockerip.sh b/xos/onboard/onos/synchronizer/scripts/dockerip.sh similarity index 100% rename from xos/synchronizers/onos/scripts/dockerip.sh rename to xos/onboard/onos/synchronizer/scripts/dockerip.sh
diff --git a/xos/synchronizers/onos/start.sh b/xos/onboard/onos/synchronizer/start.sh similarity index 100% rename from xos/synchronizers/onos/start.sh rename to xos/onboard/onos/synchronizer/start.sh
diff --git a/xos/synchronizers/onos/steps/sync_onosapp.py b/xos/onboard/onos/synchronizer/steps/sync_onosapp.py similarity index 100% rename from xos/synchronizers/onos/steps/sync_onosapp.py rename to xos/onboard/onos/synchronizer/steps/sync_onosapp.py
diff --git a/xos/synchronizers/onos/steps/sync_onosapp.yaml b/xos/onboard/onos/synchronizer/steps/sync_onosapp.yaml similarity index 100% rename from xos/synchronizers/onos/steps/sync_onosapp.yaml rename to xos/onboard/onos/synchronizer/steps/sync_onosapp.yaml
diff --git a/xos/synchronizers/onos/steps/sync_onosapp_nocontainer.yaml b/xos/onboard/onos/synchronizer/steps/sync_onosapp_nocontainer.yaml similarity index 100% rename from xos/synchronizers/onos/steps/sync_onosapp_nocontainer.yaml rename to xos/onboard/onos/synchronizer/steps/sync_onosapp_nocontainer.yaml
diff --git a/xos/synchronizers/onos/steps/sync_onosservice.py b/xos/onboard/onos/synchronizer/steps/sync_onosservice.py similarity index 100% rename from xos/synchronizers/onos/steps/sync_onosservice.py rename to xos/onboard/onos/synchronizer/steps/sync_onosservice.py
diff --git a/xos/synchronizers/onos/steps/sync_onosservice.yaml b/xos/onboard/onos/synchronizer/steps/sync_onosservice.yaml similarity index 100% rename from xos/synchronizers/onos/steps/sync_onosservice.yaml rename to xos/onboard/onos/synchronizer/steps/sync_onosservice.yaml
diff --git a/xos/synchronizers/onos/stop.sh b/xos/onboard/onos/synchronizer/stop.sh similarity index 100% rename from xos/synchronizers/onos/stop.sh rename to xos/onboard/onos/synchronizer/stop.sh
diff --git a/xos/synchronizers/onos/supervisor/onos-observer.conf b/xos/onboard/onos/synchronizer/supervisor/onos-observer.conf similarity index 100% rename from xos/synchronizers/onos/supervisor/onos-observer.conf rename to xos/onboard/onos/synchronizer/supervisor/onos-observer.conf
diff --git a/xos/services/onos/templates/onosadmin.html b/xos/onboard/onos/templates/onosadmin.html similarity index 100% rename from xos/services/onos/templates/onosadmin.html rename to xos/onboard/onos/templates/onosadmin.html
diff --git a/xos/tosca/resources/onosapp.py b/xos/onboard/onos/tosca/resources/onosapp.py similarity index 100% rename from xos/tosca/resources/onosapp.py rename to xos/onboard/onos/tosca/resources/onosapp.py
diff --git a/xos/tosca/resources/onosservice.py b/xos/onboard/onos/tosca/resources/onosservice.py similarity index 100% rename from xos/tosca/resources/onosservice.py rename to xos/onboard/onos/tosca/resources/onosservice.py