blob: 734b7944c9837220d6acc12b1b5a1fae662ef00c [file] [log] [blame]
Pingping Linb5a1a0a2016-09-08 01:14:48 +00001tosca_definitions_version: tosca_simple_yaml_1_0
2
3imports:
4 - custom_types/xos.yaml
5
6description: autogenerated node tags file for VTN configuration
7
8topology_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
Pingping Lin4b2f9182016-09-22 21:12:49 +000036 nova-compute-1:
37 type: tosca.nodes.Node
38
39 # VTN bridgeId field for node nova-compute-1
40 nova-compute-1_bridgeId_tag:
41 type: tosca.nodes.Tag
42 properties:
43 name: bridgeId
44 value: of:0000000000000001
45 requirements:
46 - target:
47 node: nova-compute-1
48 relationship: tosca.relationships.TagsObject
49 - service:
50 node: service#ONOS_CORD
51 relationship: tosca.relationships.MemberOfService
52
53 # VTN dataPlaneIntf field for node nova-compute-1
54 nova-compute-1_dataPlaneIntf_tag:
55 type: tosca.nodes.Tag
56 properties:
57 name: dataPlaneIntf
58 value: fabric
59 requirements:
60 - target:
61 node: nova-compute-1
62 relationship: tosca.relationships.TagsObject
63 - service:
64 node: service#ONOS_CORD
65 relationship: tosca.relationships.MemberOfService
66
67 # VTN dataPlaneIp field for node nova-compute-1
68 nova-compute-1_dataPlaneIp_tag:
69 type: tosca.nodes.Tag
70 properties:
71 name: dataPlaneIp
72 value: 10.168.0.253/24
73 requirements:
74 - target:
75 node: nova-compute-1
76 relationship: tosca.relationships.TagsObject
77 - service:
78 node: service#ONOS_CORD
79 relationship: tosca.relationships.MemberOfService
80
Pingping Linb5a1a0a2016-09-08 01:14:48 +000081 VTN_ONOS_app:
82 type: tosca.nodes.ONOSVTNApp
83 requirements:
84 - onos_tenant:
85 node: service#ONOS_CORD
86 relationship: tosca.relationships.TenantOfService
87 - vtn_service:
88 node: service#vtn
89 relationship: tosca.relationships.UsedByService
90 properties:
91 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
92 dependencies: org.onosproject.drivers, org.onosproject.drivers.ovsdb, org.onosproject.openflow-base, org.onosproject.ovsdb-base, org.onosproject.dhcp
93 autogenerate: vtn-network-cfg