commit | 4e4e1fb6b73cdadf8327766c8704332c0377f1ab | [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 | c26fb26eb01444ef7c73b35ca501a26957a17007 | |
parent | 3256ea1a2134a2f3014fa1616bf590525da2141e [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 +