blob: d3cf9a1267d7bcd0fe2f08ede502c72eccb8adac [file] [log] [blame]
Pingping Lin1e9ecc62016-09-28 20:50:29 +00001tosca_definitions_version: tosca_simple_yaml_1_0
2
3imports:
4 - custom_types/xos.yaml
5
6description: autogenerated node tags file for VTN configuration
7
8topology_template:
9 node_templates:
10
11 service#ONOS_CORD:
12 type: tosca.nodes.ONOSService
13 requirements:
14 properties:
Pingping Lin36884e52017-01-25 19:59:07 -080015 kind: onos
Pingping Lin1e9ecc62016-09-28 20:50:29 +000016 view_url: /admin/onos/onosservice/$id$/
17 no_container: true
18 rest_hostname: onos-cord
Pingping Lin52979e32017-05-04 17:45:34 -070019 rest_port: 8182
Pingping Lin1e9ecc62016-09-28 20:50:29 +000020 replaces: service_ONOS_CORD
21
22 service#vtn:
23 type: tosca.nodes.VTNService
24 properties:
Pingping Lin1e9ecc62016-09-28 20:50:29 +000025 view_url: /admin/vtn/vtnservice/$id$/
26 privateGatewayMac: 00:00:00:00:00:01
Pingping Lin36884e52017-01-25 19:59:07 -080027 localManagementIp: 172.27.0.1/24
Pingping Lin1e9ecc62016-09-28 20:50:29 +000028 ovsdbPort: 6641
Pingping Lin52979e32017-05-04 17:45:34 -070029 sshUser: ubuntu
Pingping Lin1e9ecc62016-09-28 20:50:29 +000030 sshKeyFile: /root/node_key
31 sshPort: 22
Pingping Lin52979e32017-05-04 17:45:34 -070032 xosEndpoint: http://xos:8888/
Pingping Lin1e9ecc62016-09-28 20:50:29 +000033 xosUser: padmin@vicci.org
34 xosPassword: letmein
35 replaces: service_vtn
Pingping Lin52979e32017-05-04 17:45:34 -070036 vtnAPIVersion: 2
37 controllerPort: onos-cord:6654
Pingping Lin1e9ecc62016-09-28 20:50:29 +000038
Pingping Lin36884e52017-01-25 19:59:07 -080039 only-bucket:
Pingping Lin1e9ecc62016-09-28 20:50:29 +000040 type: tosca.nodes.Node
41
Pingping Lin36884e52017-01-25 19:59:07 -080042 # VTN bridgeId field for node only-bucket
43 only-bucket_bridgeId_tag:
Pingping Lin1e9ecc62016-09-28 20:50:29 +000044 type: tosca.nodes.Tag
45 properties:
46 name: bridgeId
Pingping Lin36884e52017-01-25 19:59:07 -080047 value: of:0000001e67d2c98a
Pingping Lin1e9ecc62016-09-28 20:50:29 +000048 requirements:
49 - target:
Pingping Lin36884e52017-01-25 19:59:07 -080050 node: only-bucket
Pingping Lin1e9ecc62016-09-28 20:50:29 +000051 relationship: tosca.relationships.TagsObject
52 - service:
53 node: service#ONOS_CORD
54 relationship: tosca.relationships.MemberOfService
55
Pingping Lin36884e52017-01-25 19:59:07 -080056 # VTN dataPlaneIntf field for node only-bucket
57 only-bucket_dataPlaneIntf_tag:
Pingping Lin1e9ecc62016-09-28 20:50:29 +000058 type: tosca.nodes.Tag
59 properties:
60 name: dataPlaneIntf
61 value: fabric
62 requirements:
63 - target:
Pingping Lin36884e52017-01-25 19:59:07 -080064 node: only-bucket
Pingping Lin1e9ecc62016-09-28 20:50:29 +000065 relationship: tosca.relationships.TagsObject
66 - service:
67 node: service#ONOS_CORD
68 relationship: tosca.relationships.MemberOfService
69
Pingping Lin36884e52017-01-25 19:59:07 -080070 # VTN dataPlaneIp field for node only-bucket
71 only-bucket_dataPlaneIp_tag:
Pingping Lin1e9ecc62016-09-28 20:50:29 +000072 type: tosca.nodes.Tag
73 properties:
74 name: dataPlaneIp
Pingping Lin52979e32017-05-04 17:45:34 -070075 value: 10.6.1.2/24
Pingping Lin1e9ecc62016-09-28 20:50:29 +000076 requirements:
77 - target:
Pingping Lin36884e52017-01-25 19:59:07 -080078 node: only-bucket
79 relationship: tosca.relationships.TagsObject
80 - service:
81 node: service#ONOS_CORD
82 relationship: tosca.relationships.MemberOfService
Pingping Lin52979e32017-05-04 17:45:34 -070083 # VTN hostManagementIface field for node only-bucket
84 only-bucket_hostManagementIface_tag:
Pingping Lin36884e52017-01-25 19:59:07 -080085 type: tosca.nodes.Tag
86 properties:
Pingping Lin52979e32017-05-04 17:45:34 -070087 name: hostManagementIface
88 value: veth3
Pingping Lin36884e52017-01-25 19:59:07 -080089 requirements:
90 - target:
Pingping Lin52979e32017-05-04 17:45:34 -070091 node: only-bucket
Pingping Lin36884e52017-01-25 19:59:07 -080092 relationship: tosca.relationships.TagsObject
93 - service:
94 node: service#ONOS_CORD
95 relationship: tosca.relationships.MemberOfService
96
97 salty-interest:
98 type: tosca.nodes.Node
99
100 # VTN bridgeId field for node salty-interest
101 salty-interest_bridgeId_tag:
102 type: tosca.nodes.Tag
103 properties:
104 name: bridgeId
105 value: of:0000001e67d2ce52
106 requirements:
107 - target:
108 node: salty-interest
109 relationship: tosca.relationships.TagsObject
110 - service:
111 node: service#ONOS_CORD
112 relationship: tosca.relationships.MemberOfService
113
114 # VTN dataPlaneIntf field for node salty-interest
115 salty-interest_dataPlaneIntf_tag:
116 type: tosca.nodes.Tag
117 properties:
118 name: dataPlaneIntf
119 value: fabric
120 requirements:
121 - target:
122 node: salty-interest
123 relationship: tosca.relationships.TagsObject
124 - service:
125 node: service#ONOS_CORD
126 relationship: tosca.relationships.MemberOfService
127
128 # VTN dataPlaneIp field for node salty-interest
129 salty-interest_dataPlaneIp_tag:
130 type: tosca.nodes.Tag
131 properties:
132 name: dataPlaneIp
Pingping Lin52979e32017-05-04 17:45:34 -0700133 value: 10.6.1.3/24
Pingping Lin36884e52017-01-25 19:59:07 -0800134 requirements:
135 - target:
136 node: salty-interest
137 relationship: tosca.relationships.TagsObject
138 - service:
139 node: service#ONOS_CORD
140 relationship: tosca.relationships.MemberOfService
141
Pingping Lin52979e32017-05-04 17:45:34 -0700142 # VTN hostManagementIface field for node salty-interest
143 salty-interest_hostManagementIface_tag:
Pingping Lin36884e52017-01-25 19:59:07 -0800144 type: tosca.nodes.Tag
145 properties:
Pingping Lin52979e32017-05-04 17:45:34 -0700146 name: hostManagementIface
147 value: veth3
Pingping Lin36884e52017-01-25 19:59:07 -0800148 requirements:
149 - target:
Pingping Lin52979e32017-05-04 17:45:34 -0700150 node: salty-interest
Pingping Lin36884e52017-01-25 19:59:07 -0800151 relationship: tosca.relationships.TagsObject
152 - service:
153 node: service#ONOS_CORD
154 relationship: tosca.relationships.MemberOfService
155
Pingping Lin1e9ecc62016-09-28 20:50:29 +0000156
157 VTN_ONOS_app:
158 type: tosca.nodes.ONOSVTNApp
159 requirements:
160 - onos_tenant:
161 node: service#ONOS_CORD
162 relationship: tosca.relationships.TenantOfService
163 - vtn_service:
164 node: service#vtn
165 relationship: tosca.relationships.UsedByService
166 properties:
Pingping Lin36884e52017-01-25 19:59:07 -0800167 install_dependencies: http://mavenrepo:8080/repository/org/opencord/cord-config/1.1-rc1/cord-config-1.1-rc1.oar,http://mavenrepo:8080/repository/org/opencord/vtn/1.1-rc1/vtn-1.1-rc1.oar
Pingping Lin1e9ecc62016-09-28 20:50:29 +0000168 dependencies: org.onosproject.drivers, org.onosproject.drivers.ovsdb, org.onosproject.openflow-base, org.onosproject.ovsdb-base, org.onosproject.dhcp
169 autogenerate: vtn-network-cfg