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: |
| 15 | kind: CORD-Platform |
| 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 | kind: CORD-Platform |
| 25 | view_url: /admin/vtn/vtnservice/$id$/ |
| 26 | privateGatewayMac: 00:00:00:00:00:01 |
| 27 | localManagementIp: 10.102.83.2/24 |
| 28 | ovsdbPort: 6641 |
| 29 | sshUser: root |
| 30 | sshKeyFile: /root/node_key |
| 31 | sshPort: 22 |
| 32 | xosEndpoint: http://xos/ |
| 33 | xosUser: padmin@vicci.org |
| 34 | xosPassword: letmein |
| 35 | replaces: service_vtn |
| 36 | |
| 37 | nova-compute-1: |
| 38 | type: tosca.nodes.Node |
| 39 | |
| 40 | # VTN bridgeId field for node nova-compute-1 |
| 41 | nova-compute-1_bridgeId_tag: |
| 42 | type: tosca.nodes.Tag |
| 43 | properties: |
| 44 | name: bridgeId |
| 45 | value: of:0000000000000001 |
| 46 | requirements: |
| 47 | - target: |
| 48 | node: nova-compute-1 |
| 49 | relationship: tosca.relationships.TagsObject |
| 50 | - service: |
| 51 | node: service#ONOS_CORD |
| 52 | relationship: tosca.relationships.MemberOfService |
| 53 | |
| 54 | # VTN dataPlaneIntf field for node nova-compute-1 |
| 55 | nova-compute-1_dataPlaneIntf_tag: |
| 56 | type: tosca.nodes.Tag |
| 57 | properties: |
| 58 | name: dataPlaneIntf |
| 59 | value: fabric |
| 60 | requirements: |
| 61 | - target: |
| 62 | node: nova-compute-1 |
| 63 | relationship: tosca.relationships.TagsObject |
| 64 | - service: |
| 65 | node: service#ONOS_CORD |
| 66 | relationship: tosca.relationships.MemberOfService |
| 67 | |
| 68 | # VTN dataPlaneIp field for node nova-compute-1 |
| 69 | nova-compute-1_dataPlaneIp_tag: |
| 70 | type: tosca.nodes.Tag |
| 71 | properties: |
| 72 | name: dataPlaneIp |
| 73 | value: 10.168.0.253/24 |
| 74 | requirements: |
| 75 | - target: |
| 76 | node: nova-compute-1 |
| 77 | relationship: tosca.relationships.TagsObject |
| 78 | - service: |
| 79 | node: service#ONOS_CORD |
| 80 | relationship: tosca.relationships.MemberOfService |
| 81 | |
| 82 | VTN_ONOS_app: |
| 83 | type: tosca.nodes.ONOSVTNApp |
| 84 | requirements: |
| 85 | - onos_tenant: |
| 86 | node: service#ONOS_CORD |
| 87 | relationship: tosca.relationships.TenantOfService |
| 88 | - vtn_service: |
| 89 | node: service#vtn |
| 90 | relationship: tosca.relationships.UsedByService |
| 91 | properties: |
| 92 | 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 |
| 93 | dependencies: org.onosproject.drivers, org.onosproject.drivers.ovsdb, org.onosproject.openflow-base, org.onosproject.ovsdb-base, org.onosproject.dhcp |
| 94 | autogenerate: vtn-network-cfg |