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 |
Pingping Lin | 52979e3 | 2017-05-04 17:45:34 -0700 | [diff] [blame] | 19 | rest_port: 8182 |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 20 | replaces: service_ONOS_CORD |
| 21 | |
| 22 | service#vtn: |
| 23 | type: tosca.nodes.VTNService |
| 24 | properties: |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 25 | view_url: /admin/vtn/vtnservice/$id$/ |
| 26 | privateGatewayMac: 00:00:00:00:00:01 |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 27 | localManagementIp: 172.27.0.1/24 |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 28 | ovsdbPort: 6641 |
Pingping Lin | 52979e3 | 2017-05-04 17:45:34 -0700 | [diff] [blame] | 29 | sshUser: ubuntu |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 30 | sshKeyFile: /root/node_key |
| 31 | sshPort: 22 |
Pingping Lin | 52979e3 | 2017-05-04 17:45:34 -0700 | [diff] [blame] | 32 | xosEndpoint: http://xos:8888/ |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 33 | xosUser: padmin@vicci.org |
| 34 | xosPassword: letmein |
| 35 | replaces: service_vtn |
Pingping Lin | 52979e3 | 2017-05-04 17:45:34 -0700 | [diff] [blame] | 36 | vtnAPIVersion: 2 |
| 37 | controllerPort: onos-cord:6654 |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 38 | |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 39 | only-bucket: |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 40 | type: tosca.nodes.Node |
| 41 | |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 42 | # VTN bridgeId field for node only-bucket |
| 43 | only-bucket_bridgeId_tag: |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 44 | type: tosca.nodes.Tag |
| 45 | properties: |
| 46 | name: bridgeId |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 47 | value: of:0000001e67d2c98a |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 48 | requirements: |
| 49 | - target: |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 50 | node: only-bucket |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 51 | relationship: tosca.relationships.TagsObject |
| 52 | - service: |
| 53 | node: service#ONOS_CORD |
| 54 | relationship: tosca.relationships.MemberOfService |
| 55 | |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 56 | # VTN dataPlaneIntf field for node only-bucket |
| 57 | only-bucket_dataPlaneIntf_tag: |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 58 | type: tosca.nodes.Tag |
| 59 | properties: |
| 60 | name: dataPlaneIntf |
| 61 | value: fabric |
| 62 | requirements: |
| 63 | - target: |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 64 | node: only-bucket |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 65 | relationship: tosca.relationships.TagsObject |
| 66 | - service: |
| 67 | node: service#ONOS_CORD |
| 68 | relationship: tosca.relationships.MemberOfService |
| 69 | |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 70 | # VTN dataPlaneIp field for node only-bucket |
| 71 | only-bucket_dataPlaneIp_tag: |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 72 | type: tosca.nodes.Tag |
| 73 | properties: |
| 74 | name: dataPlaneIp |
Pingping Lin | 52979e3 | 2017-05-04 17:45:34 -0700 | [diff] [blame] | 75 | value: 10.6.1.2/24 |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 76 | requirements: |
| 77 | - target: |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 78 | node: only-bucket |
| 79 | relationship: tosca.relationships.TagsObject |
| 80 | - service: |
| 81 | node: service#ONOS_CORD |
| 82 | relationship: tosca.relationships.MemberOfService |
Pingping Lin | 52979e3 | 2017-05-04 17:45:34 -0700 | [diff] [blame] | 83 | # VTN hostManagementIface field for node only-bucket |
| 84 | only-bucket_hostManagementIface_tag: |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 85 | type: tosca.nodes.Tag |
| 86 | properties: |
Pingping Lin | 52979e3 | 2017-05-04 17:45:34 -0700 | [diff] [blame] | 87 | name: hostManagementIface |
| 88 | value: veth3 |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 89 | requirements: |
| 90 | - target: |
Pingping Lin | 52979e3 | 2017-05-04 17:45:34 -0700 | [diff] [blame] | 91 | node: only-bucket |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 92 | 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 Lin | 52979e3 | 2017-05-04 17:45:34 -0700 | [diff] [blame] | 133 | value: 10.6.1.3/24 |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 134 | 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 Lin | 52979e3 | 2017-05-04 17:45:34 -0700 | [diff] [blame] | 142 | # VTN hostManagementIface field for node salty-interest |
| 143 | salty-interest_hostManagementIface_tag: |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 144 | type: tosca.nodes.Tag |
| 145 | properties: |
Pingping Lin | 52979e3 | 2017-05-04 17:45:34 -0700 | [diff] [blame] | 146 | name: hostManagementIface |
| 147 | value: veth3 |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 148 | requirements: |
| 149 | - target: |
Pingping Lin | 52979e3 | 2017-05-04 17:45:34 -0700 | [diff] [blame] | 150 | node: salty-interest |
Pingping Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 151 | relationship: tosca.relationships.TagsObject |
| 152 | - service: |
| 153 | node: service#ONOS_CORD |
| 154 | relationship: tosca.relationships.MemberOfService |
| 155 | |
Pingping Lin | 1e9ecc6 | 2016-09-28 20:50:29 +0000 | [diff] [blame] | 156 | |
| 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 Lin | 36884e5 | 2017-01-25 19:59:07 -0800 | [diff] [blame] | 167 | 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] | 168 | dependencies: org.onosproject.drivers, org.onosproject.drivers.ovsdb, org.onosproject.openflow-base, org.onosproject.ovsdb-base, org.onosproject.dhcp |
| 169 | autogenerate: vtn-network-cfg |