blob: 70f24aa9a51ae0b3f72a733058911a2a74ecbf51 [file] [log] [blame]
Andrea Campanella770ca042017-06-23 14:06:03 +02001tosca_definitions_version: tosca_simple_yaml_1_0
2
3imports:
Matteo Scandolo1ed76b82017-12-05 13:58:22 -08004 - custom_types/onosapp.yaml
5 - custom_types/onosservice.yaml
6 - custom_types/serviceinstanceattribute.yaml
Andrea Campanella770ca042017-06-23 14:06:03 +02007
8description: carrierethernet-app onboarding, generated by platform-install
9topology_template:
10 node_templates:
11
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080012 # ONOS_CORD, fully created in vtn.yaml
Andrea Campanella770ca042017-06-23 14:06:03 +020013 service#ONOS_CORD:
14 type: tosca.nodes.ONOSService
15 properties:
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080016 name: ONOS_CORD
17 must-exist: true
Andrea Campanella770ca042017-06-23 14:06:03 +020018
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080019 # ONOS_Fabric, fully created in fabric.yaml
Andrea Campanella770ca042017-06-23 14:06:03 +020020 service#ONOS_Fabric:
21 type: tosca.nodes.ONOSService
22 properties:
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080023 name: ONOS_Fabric
24 must-exist: true
Andrea Campanella770ca042017-06-23 14:06:03 +020025
26 CarrierEthernet_ONOS_app:
27 type: tosca.nodes.ONOSApp
28 requirements:
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080029 - owner:
Andrea Campanella770ca042017-06-23 14:06:03 +020030 node: service#ONOS_CORD
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080031 relationship: tosca.relationships.BelongsToOne
Andrea Campanella770ca042017-06-23 14:06:03 +020032 properties:
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080033 name: CarrierEthernet_ONOS_app
Marc De Leenheerbd2ac9e2017-12-01 17:19:11 -080034 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
Andrea Campanella00a882e2017-10-24 15:17:27 +020035 dependencies: org.onosproject.drivers.microsemi, org.onosproject.cfm
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080036
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: >
Scott Bakerd5d4e212017-10-19 14:18:16 -070046 {
47 "org.onosproject.netconf.ctl.impl.NetconfControllerImpl": {
Marc De Leenheer666536c2017-11-01 16:16:17 -070048 "netconfConnectTimeout": "120",
49 "netconfReplyTimeout": "120"
Andrea Campanella43b986d2017-10-25 16:48:34 +020050 },
51 "org.opencord.ce.local.bigswitch.BigSwitchManager": {
Zack Williamsd698b722017-11-27 09:35:47 -070052 "domainId": "{{ carrierethernet_domainid_prefix }}-cord-onos"
Scott Bakerd5d4e212017-10-19 14:18:16 -070053 }
54 }
Andrea Campanella770ca042017-06-23 14:06:03 +020055
56 CarrierEthernet_Fabric_ONOS_app:
57 type: tosca.nodes.ONOSApp
58 requirements:
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080059 - owner:
Andrea Campanella770ca042017-06-23 14:06:03 +020060 node: service#ONOS_Fabric
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080061 relationship: tosca.relationships.BelongsToOne
Andrea Campanella770ca042017-06-23 14:06:03 +020062 properties:
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080063 name: CarrierEthernet_Fabric_ONOS_app
Marc De Leenheerbd2ac9e2017-12-01 17:19:11 -080064 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
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080065
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: >
Andrea Campanella43b986d2017-10-25 16:48:34 +020075 {
76 "org.opencord.ce.local.bigswitch.BigSwitchManager": {
Zack Williamsd698b722017-11-27 09:35:47 -070077 "domainId": "{{ carrierethernet_domainid_prefix }}-fabric-onos"
Andrea Campanella43b986d2017-10-25 16:48:34 +020078 }
79 }