Pingping Lin | b5a1a0a | 2016-09-08 01:14:48 +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: |
| 15 | kind: onos |
| 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: |
| 24 | view_url: /admin/vtn/vtnservice/$id$/ |
| 25 | privateGatewayMac: 00:00:00:00:00:01 |
| 26 | localManagementIp: 10.102.83.2/24 |
| 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 | |
| 36 | VTN_ONOS_app: |
| 37 | type: tosca.nodes.ONOSVTNApp |
| 38 | requirements: |
| 39 | - onos_tenant: |
| 40 | node: service#ONOS_CORD |
| 41 | relationship: tosca.relationships.TenantOfService |
| 42 | - vtn_service: |
| 43 | node: service#vtn |
| 44 | relationship: tosca.relationships.UsedByService |
| 45 | properties: |
| 46 | install_dependencies: http://mavenrepo:8080/repository/org/opencord/cord-config/1.1-SNAPSHOT/cord-config-1.1-SNAPSHOT.oar,http://mavenrepo:8080/repository/org/opencord/vtn/1.1-SNAPSHOT/vtn-1.1-SNAPSHOT.oar |
| 47 | dependencies: org.onosproject.drivers, org.onosproject.drivers.ovsdb, org.onosproject.openflow-base, org.onosproject.ovsdb-base, org.onosproject.dhcp |
| 48 | autogenerate: vtn-network-cfg |