CORD-1053 refactored onboarding recipe for onos synchronizer
Change-Id: Ic60ccf14039b3450cf6cdd4ea7c56f15401c651a
diff --git a/xos/onos-onboardnew.yaml b/xos/onos-onboardnew.yaml
new file mode 100644
index 0000000..9f02ef5
--- /dev/null
+++ b/xos/onos-onboardnew.yaml
@@ -0,0 +1,25 @@
+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_services/onos-service/xos/
+ # 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
+ tosca_resource: tosca/resources/onosservice.py, tosca/resources/onosapp.py
+ rest_service: api/service/onos.py
+ rest_tenant: subdirectory:onos api/tenant/onos/app.py
+ private_key: file:///opt/xos/key_import/onos_rsa
+ public_key: file:///opt/xos/key_import/onos_rsa.pub
+ no_build: true
+ image: xosproject/onos-synchronizer