CORD-1053 refactored onboarding recipe for vtn
Change-Id: I176db8bbe15884834d1148952f82da25fc554b8c
diff --git a/xos/vtn-onboardnew.yaml b/xos/vtn-onboardnew.yaml
new file mode 100644
index 0000000..d9dc957
--- /dev/null
+++ b/xos/vtn-onboardnew.yaml
@@ -0,0 +1,23 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+
+description: Onboard the exampleservice
+
+imports:
+ - custom_types/xos.yaml
+
+topology_template:
+ node_templates:
+ servicecontroller#vtn:
+ type: tosca.nodes.ServiceController
+ properties:
+ base_url: file:///opt/xos_services/vtn/xos/
+ # The following will concatenate with base_url automatically, if
+ # base_url is non-null.
+ models: models.py
+ admin: admin.py
+ django_library: vtnnetport.py
+ admin_template: templates/vtnadmin.html
+ tosca_resource: tosca/resources/vtnservice.py
+ rest_service: api/service/vtn.py
+ no_build: true
+ image: xosproject/vtn-synchronizer
\ No newline at end of file