CORD-1053 refactored onboarding recipe for vrouter
Change-Id: I9a55ca314da9d675bad6e42737d4316085d28b9a
diff --git a/xos/vrouter-onboardnew.yaml b/xos/vrouter-onboardnew.yaml
new file mode 100644
index 0000000..a2ff31a
--- /dev/null
+++ b/xos/vrouter-onboardnew.yaml
@@ -0,0 +1,23 @@
+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_services/vrouter/xos/
+ # 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_custom_types: vrouter.yaml
+ tosca_resource: tosca/resources/vrouterservice.py
+ rest_service: api/service/vrouter.py
+ no_build: true
+ image: xosproject/vrouter-synchronizer