blob: d3cf9a1267d7bcd0fe2f08ede502c72eccb8adac [file] [log] [blame]
tosca_definitions_version: tosca_simple_yaml_1_0
imports:
- custom_types/xos.yaml
description: autogenerated node tags file for VTN configuration
topology_template:
node_templates:
service#ONOS_CORD:
type: tosca.nodes.ONOSService
requirements:
properties:
kind: onos
view_url: /admin/onos/onosservice/$id$/
no_container: true
rest_hostname: onos-cord
rest_port: 8182
replaces: service_ONOS_CORD
service#vtn:
type: tosca.nodes.VTNService
properties:
view_url: /admin/vtn/vtnservice/$id$/
privateGatewayMac: 00:00:00:00:00:01
localManagementIp: 172.27.0.1/24
ovsdbPort: 6641
sshUser: ubuntu
sshKeyFile: /root/node_key
sshPort: 22
xosEndpoint: http://xos:8888/
xosUser: padmin@vicci.org
xosPassword: letmein
replaces: service_vtn
vtnAPIVersion: 2
controllerPort: onos-cord:6654
only-bucket:
type: tosca.nodes.Node
# VTN bridgeId field for node only-bucket
only-bucket_bridgeId_tag:
type: tosca.nodes.Tag
properties:
name: bridgeId
value: of:0000001e67d2c98a
requirements:
- target:
node: only-bucket
relationship: tosca.relationships.TagsObject
- service:
node: service#ONOS_CORD
relationship: tosca.relationships.MemberOfService
# VTN dataPlaneIntf field for node only-bucket
only-bucket_dataPlaneIntf_tag:
type: tosca.nodes.Tag
properties:
name: dataPlaneIntf
value: fabric
requirements:
- target:
node: only-bucket
relationship: tosca.relationships.TagsObject
- service:
node: service#ONOS_CORD
relationship: tosca.relationships.MemberOfService
# VTN dataPlaneIp field for node only-bucket
only-bucket_dataPlaneIp_tag:
type: tosca.nodes.Tag
properties:
name: dataPlaneIp
value: 10.6.1.2/24
requirements:
- target:
node: only-bucket
relationship: tosca.relationships.TagsObject
- service:
node: service#ONOS_CORD
relationship: tosca.relationships.MemberOfService
# VTN hostManagementIface field for node only-bucket
only-bucket_hostManagementIface_tag:
type: tosca.nodes.Tag
properties:
name: hostManagementIface
value: veth3
requirements:
- target:
node: only-bucket
relationship: tosca.relationships.TagsObject
- service:
node: service#ONOS_CORD
relationship: tosca.relationships.MemberOfService
salty-interest:
type: tosca.nodes.Node
# VTN bridgeId field for node salty-interest
salty-interest_bridgeId_tag:
type: tosca.nodes.Tag
properties:
name: bridgeId
value: of:0000001e67d2ce52
requirements:
- target:
node: salty-interest
relationship: tosca.relationships.TagsObject
- service:
node: service#ONOS_CORD
relationship: tosca.relationships.MemberOfService
# VTN dataPlaneIntf field for node salty-interest
salty-interest_dataPlaneIntf_tag:
type: tosca.nodes.Tag
properties:
name: dataPlaneIntf
value: fabric
requirements:
- target:
node: salty-interest
relationship: tosca.relationships.TagsObject
- service:
node: service#ONOS_CORD
relationship: tosca.relationships.MemberOfService
# VTN dataPlaneIp field for node salty-interest
salty-interest_dataPlaneIp_tag:
type: tosca.nodes.Tag
properties:
name: dataPlaneIp
value: 10.6.1.3/24
requirements:
- target:
node: salty-interest
relationship: tosca.relationships.TagsObject
- service:
node: service#ONOS_CORD
relationship: tosca.relationships.MemberOfService
# VTN hostManagementIface field for node salty-interest
salty-interest_hostManagementIface_tag:
type: tosca.nodes.Tag
properties:
name: hostManagementIface
value: veth3
requirements:
- target:
node: salty-interest
relationship: tosca.relationships.TagsObject
- service:
node: service#ONOS_CORD
relationship: tosca.relationships.MemberOfService
VTN_ONOS_app:
type: tosca.nodes.ONOSVTNApp
requirements:
- onos_tenant:
node: service#ONOS_CORD
relationship: tosca.relationships.TenantOfService
- vtn_service:
node: service#vtn
relationship: tosca.relationships.UsedByService
properties:
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
dependencies: org.onosproject.drivers, org.onosproject.drivers.ovsdb, org.onosproject.openflow-base, org.onosproject.ovsdb-base, org.onosproject.dhcp
autogenerate: vtn-network-cfg