blob: 70f24aa9a51ae0b3f72a733058911a2a74ecbf51 [file] [log] [blame]
Andy Bavier01685f82017-12-21 14:06:54 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3imports:
4 - custom_types/onosapp.yaml
5 - custom_types/onosservice.yaml
6 - custom_types/serviceinstanceattribute.yaml
7
8description: carrierethernet-app onboarding, generated by platform-install
9topology_template:
10 node_templates:
11
12 # ONOS_CORD, fully created in vtn.yaml
13 service#ONOS_CORD:
14 type: tosca.nodes.ONOSService
15 properties:
16 name: ONOS_CORD
17 must-exist: true
18
19 # ONOS_Fabric, fully created in fabric.yaml
20 service#ONOS_Fabric:
21 type: tosca.nodes.ONOSService
22 properties:
23 name: ONOS_Fabric
24 must-exist: true
25
26 CarrierEthernet_ONOS_app:
27 type: tosca.nodes.ONOSApp
28 requirements:
29 - owner:
30 node: service#ONOS_CORD
31 relationship: tosca.relationships.BelongsToOne
32 properties:
33 name: CarrierEthernet_ONOS_app
34 install_dependencies: {{ onos_mavenrepo_url }}/repository/org/opencord/ce/ce-api/1.1.0-SNAPSHOT/ce-api-1.1.0-SNAPSHOT.oar, {{ onos_mavenrepo_url }}/repository/org/opencord/ce/bigswitch/1.1.0-SNAPSHOT/bigswitch-1.1.0-SNAPSHOT.oar, {{ onos_mavenrepo_url }}/repository/org/opencord/ce/local-channel/1.1.0-SNAPSHOT/local-channel-1.1.0-SNAPSHOT.oar, {{ onos_mavenrepo_url }}//repository/org/opencord/ce/vee/1.1.0-SNAPSHOT/vee-1.1.0-SNAPSHOT.oar
35 dependencies: org.onosproject.drivers.microsemi, org.onosproject.cfm
36
37 CarrierEthernet_ONOS_app_component_config:
38 type: tosca.nodes.ServiceInstanceAttribute
39 requirements:
40 - service_instance:
41 node: CarrierEthernet_ONOS_app
42 relationship: tosca.relationships.BelongsToOne
43 properties:
44 name: component_config
45 value: >
46 {
47 "org.onosproject.netconf.ctl.impl.NetconfControllerImpl": {
48 "netconfConnectTimeout": "120",
49 "netconfReplyTimeout": "120"
50 },
51 "org.opencord.ce.local.bigswitch.BigSwitchManager": {
52 "domainId": "{{ carrierethernet_domainid_prefix }}-cord-onos"
53 }
54 }
55
56 CarrierEthernet_Fabric_ONOS_app:
57 type: tosca.nodes.ONOSApp
58 requirements:
59 - owner:
60 node: service#ONOS_Fabric
61 relationship: tosca.relationships.BelongsToOne
62 properties:
63 name: CarrierEthernet_Fabric_ONOS_app
64 install_dependencies: {{ onos_mavenrepo_url }}/repository/org/opencord/ce/ce-api/1.1.0-SNAPSHOT/ce-api-1.1.0-SNAPSHOT.oar, {{ onos_mavenrepo_url }}/repository/org/opencord/ce/bigswitch/1.1.0-SNAPSHOT/bigswitch-1.1.0-SNAPSHOT.oar, {{ onos_mavenrepo_url }}//repository/org/opencord/ce/local-channel/1.1.0-SNAPSHOT/local-channel-1.1.0-SNAPSHOT.oar, {{ onos_mavenrepo_url }}//repository/org/opencord/ce/fabric/1.1.0-SNAPSHOT/fabric-1.1.0-SNAPSHOT.oar
65
66 CarrierEthernet_Fabric_ONOS_app_component_config:
67 type: tosca.nodes.ServiceInstanceAttribute
68 requirements:
69 - service_instance:
70 node: CarrierEthernet_Fabric_ONOS_app
71 relationship: tosca.relationships.BelongsToOne
72 properties:
73 name: component_config
74 value: >
75 {
76 "org.opencord.ce.local.bigswitch.BigSwitchManager": {
77 "domainId": "{{ carrierethernet_domainid_prefix }}-fabric-onos"
78 }
79 }