Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | imports: |
| 4 | - custom_types/xos.yaml |
| 5 | |
| 6 | description: autogenerated node tags file for VTN configuration |
| 7 | |
| 8 | topology_template: |
| 9 | node_templates: |
| 10 | |
| 11 | service#ONOS_CORD: |
| 12 | type: tosca.nodes.ONOSService |
| 13 | requirements: |
| 14 | properties: |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame^] | 15 | kind: onos |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 16 | view_url: /admin/onos/onosservice/$id$/ |
| 17 | no_container: true |
| 18 | rest_hostname: onos-cord |
| 19 | replaces: service_ONOS_CORD |
| 20 | |
| 21 | service#vtn: |
| 22 | type: tosca.nodes.VTNService |
| 23 | properties: |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 24 | view_url: /admin/vtn/vtnservice/$id$/ |
| 25 | privateGatewayMac: 00:00:00:00:00:01 |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame^] | 26 | localManagementIp: 172.27.0.1/24 |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 27 | ovsdbPort: 6641 |
| 28 | sshUser: root |
| 29 | sshKeyFile: /root/node_key |
| 30 | sshPort: 22 |
| 31 | xosEndpoint: http://xos/ |
| 32 | xosUser: padmin@vicci.org |
| 33 | xosPassword: letmein |
| 34 | replaces: service_vtn |
| 35 | |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame^] | 36 | only-bucket: |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 37 | type: tosca.nodes.Node |
| 38 | |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame^] | 39 | # VTN bridgeId field for node only-bucket |
| 40 | only-bucket_bridgeId_tag: |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 41 | type: tosca.nodes.Tag |
| 42 | properties: |
| 43 | name: bridgeId |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame^] | 44 | value: of:0000001e67d2c98a |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 45 | requirements: |
| 46 | - target: |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame^] | 47 | node: only-bucket |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 48 | relationship: tosca.relationships.TagsObject |
| 49 | - service: |
| 50 | node: service#ONOS_CORD |
| 51 | relationship: tosca.relationships.MemberOfService |
| 52 | |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame^] | 53 | # VTN dataPlaneIntf field for node only-bucket |
| 54 | only-bucket_dataPlaneIntf_tag: |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 55 | type: tosca.nodes.Tag |
| 56 | properties: |
| 57 | name: dataPlaneIntf |
| 58 | value: fabric |
| 59 | requirements: |
| 60 | - target: |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame^] | 61 | node: only-bucket |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 62 | relationship: tosca.relationships.TagsObject |
| 63 | - service: |
| 64 | node: service#ONOS_CORD |
| 65 | relationship: tosca.relationships.MemberOfService |
| 66 | |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame^] | 67 | # VTN dataPlaneIp field for node only-bucket |
| 68 | only-bucket_dataPlaneIp_tag: |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 69 | type: tosca.nodes.Tag |
| 70 | properties: |
| 71 | name: dataPlaneIp |
| 72 | value: 10.168.0.253/24 |
| 73 | requirements: |
| 74 | - target: |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame^] | 75 | node: only-bucket |
| 76 | relationship: tosca.relationships.TagsObject |
| 77 | - service: |
| 78 | node: service#ONOS_CORD |
| 79 | relationship: tosca.relationships.MemberOfService |
| 80 | |
| 81 | strange-touch: |
| 82 | type: tosca.nodes.Node |
| 83 | |
| 84 | # VTN bridgeId field for node strange-touch |
| 85 | strange-touch_bridgeId_tag: |
| 86 | type: tosca.nodes.Tag |
| 87 | properties: |
| 88 | name: bridgeId |
| 89 | value: of:0000001e67d2ef17 |
| 90 | requirements: |
| 91 | - target: |
| 92 | node: strange-touch |
| 93 | relationship: tosca.relationships.TagsObject |
| 94 | - service: |
| 95 | node: service#ONOS_CORD |
| 96 | relationship: tosca.relationships.MemberOfService |
| 97 | |
| 98 | # VTN dataPlaneIntf field for node strange-touch |
| 99 | strange-touch_dataPlaneIntf_tag: |
| 100 | type: tosca.nodes.Tag |
| 101 | properties: |
| 102 | name: dataPlaneIntf |
| 103 | value: fabric |
| 104 | requirements: |
| 105 | - target: |
| 106 | node: strange-touch |
| 107 | relationship: tosca.relationships.TagsObject |
| 108 | - service: |
| 109 | node: service#ONOS_CORD |
| 110 | relationship: tosca.relationships.MemberOfService |
| 111 | |
| 112 | # VTN dataPlaneIp field for node strange-touch |
| 113 | strange-touch_dataPlaneIp_tag: |
| 114 | type: tosca.nodes.Tag |
| 115 | properties: |
| 116 | name: dataPlaneIp |
| 117 | value: 10.168.0.253/24 |
| 118 | requirements: |
| 119 | - target: |
| 120 | node: strange-touch |
| 121 | relationship: tosca.relationships.TagsObject |
| 122 | - service: |
| 123 | node: service#ONOS_CORD |
| 124 | relationship: tosca.relationships.MemberOfService |
| 125 | |
| 126 | salty-interest: |
| 127 | type: tosca.nodes.Node |
| 128 | |
| 129 | # VTN bridgeId field for node salty-interest |
| 130 | salty-interest_bridgeId_tag: |
| 131 | type: tosca.nodes.Tag |
| 132 | properties: |
| 133 | name: bridgeId |
| 134 | value: of:0000001e67d2ce52 |
| 135 | requirements: |
| 136 | - target: |
| 137 | node: salty-interest |
| 138 | relationship: tosca.relationships.TagsObject |
| 139 | - service: |
| 140 | node: service#ONOS_CORD |
| 141 | relationship: tosca.relationships.MemberOfService |
| 142 | |
| 143 | # VTN dataPlaneIntf field for node salty-interest |
| 144 | salty-interest_dataPlaneIntf_tag: |
| 145 | type: tosca.nodes.Tag |
| 146 | properties: |
| 147 | name: dataPlaneIntf |
| 148 | value: fabric |
| 149 | requirements: |
| 150 | - target: |
| 151 | node: salty-interest |
| 152 | relationship: tosca.relationships.TagsObject |
| 153 | - service: |
| 154 | node: service#ONOS_CORD |
| 155 | relationship: tosca.relationships.MemberOfService |
| 156 | |
| 157 | # VTN dataPlaneIp field for node salty-interest |
| 158 | salty-interest_dataPlaneIp_tag: |
| 159 | type: tosca.nodes.Tag |
| 160 | properties: |
| 161 | name: dataPlaneIp |
| 162 | value: 10.168.0.253/24 |
| 163 | requirements: |
| 164 | - target: |
| 165 | node: salty-interest |
| 166 | relationship: tosca.relationships.TagsObject |
| 167 | - service: |
| 168 | node: service#ONOS_CORD |
| 169 | relationship: tosca.relationships.MemberOfService |
| 170 | |
| 171 | compute1: |
| 172 | type: tosca.nodes.Node |
| 173 | |
| 174 | # VTN bridgeId field for node compute1 |
| 175 | compute1_bridgeId_tag: |
| 176 | type: tosca.nodes.Tag |
| 177 | properties: |
| 178 | name: bridgeId |
| 179 | value: of:0000001e67d2ab52 |
| 180 | requirements: |
| 181 | - target: |
| 182 | node: compute1 |
| 183 | relationship: tosca.relationships.TagsObject |
| 184 | - service: |
| 185 | node: service#ONOS_CORD |
| 186 | relationship: tosca.relationships.MemberOfService |
| 187 | |
| 188 | # VTN dataPlaneIntf field for node compute1 |
| 189 | compute1_dataPlaneIntf_tag: |
| 190 | type: tosca.nodes.Tag |
| 191 | properties: |
| 192 | name: dataPlaneIntf |
| 193 | value: fabric |
| 194 | requirements: |
| 195 | - target: |
| 196 | node: compute1 |
| 197 | relationship: tosca.relationships.TagsObject |
| 198 | - service: |
| 199 | node: service#ONOS_CORD |
| 200 | relationship: tosca.relationships.MemberOfService |
| 201 | |
| 202 | # VTN dataPlaneIp field for node compute1 |
| 203 | compute1_dataPlaneIp_tag: |
| 204 | type: tosca.nodes.Tag |
| 205 | properties: |
| 206 | name: dataPlaneIp |
| 207 | value: 10.168.0.253/24 |
| 208 | requirements: |
| 209 | - target: |
| 210 | node: compute1 |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 211 | relationship: tosca.relationships.TagsObject |
| 212 | - service: |
| 213 | node: service#ONOS_CORD |
| 214 | relationship: tosca.relationships.MemberOfService |
| 215 | |
| 216 | VTN_ONOS_app: |
| 217 | type: tosca.nodes.ONOSVTNApp |
| 218 | requirements: |
| 219 | - onos_tenant: |
| 220 | node: service#ONOS_CORD |
| 221 | relationship: tosca.relationships.TenantOfService |
| 222 | - vtn_service: |
| 223 | node: service#vtn |
| 224 | relationship: tosca.relationships.UsedByService |
| 225 | properties: |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame^] | 226 | 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 Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 227 | dependencies: org.onosproject.drivers, org.onosproject.drivers.ovsdb, org.onosproject.openflow-base, org.onosproject.ovsdb-base, org.onosproject.dhcp |
| 228 | autogenerate: vtn-network-cfg |