commit | 7ce02f2f2ce40b87a774bcc431b9a7a640cf2079 | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Tue Jun 14 14:46:23 2016 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Tue Jun 14 14:46:23 2016 -0700 |
tree | 9fb1229689496f25ccb9a2c4c861ab9be47b7a2b | |
parent | 599d6b0ced68ec622109b806ce0c2f16fe34caea [diff] |
move out vrouter service
diff --git a/xos/services/vrouter/admin.py b/xos/onboard/vrouter/admin.py similarity index 100% rename from xos/services/vrouter/admin.py rename to xos/onboard/vrouter/admin.py
diff --git a/xos/services/vrouter/models.py b/xos/onboard/vrouter/models.py similarity index 100% rename from xos/services/vrouter/models.py rename to xos/onboard/vrouter/models.py
diff --git a/xos/services/vrouter/templates/vrouteradmin.html b/xos/onboard/vrouter/templates/vrouteradmin.html similarity index 100% rename from xos/services/vrouter/templates/vrouteradmin.html rename to xos/onboard/vrouter/templates/vrouteradmin.html
diff --git a/xos/tosca/resources/vrouterservice.py b/xos/onboard/vrouter/tosca/resources/vrouterservice.py similarity index 100% rename from xos/tosca/resources/vrouterservice.py rename to xos/onboard/vrouter/tosca/resources/vrouterservice.py
diff --git a/xos/onboard/vrouter/vrouter-onboard.yaml b/xos/onboard/vrouter/vrouter-onboard.yaml new file mode 100644 index 0000000..e956c96 --- /dev/null +++ b/xos/onboard/vrouter/vrouter-onboard.yaml
@@ -0,0 +1,20 @@ +tosca_definitions_version: tosca_simple_yaml_1_0 + +description: Onboard the vRouter SErvice + +imports: + - custom_types/xos.yaml + +topology_template: + node_templates: + servicecontroller#vrouter: + type: tosca.nodes.ServiceController + properties: + base_url: file:///opt/xos/onboard/vrouter/ + # The following will concatenate with base_url automatically, if + # base_url is non-null. + models: models.py + admin: admin.py + admin_template: templates/vrouteradmin.html + tosca_resource: tosca/resources/vrouterservice.py +