blob: 7dc5d30964235410628e0bf95fa503b8cdcc5ba9 [file] [log] [blame]
Zack Williamsa2763112017-01-03 11:38:38 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3imports:
4 - custom_types/xos.yaml
5
6description: Configures the VTN ONOS service
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 rest_port: 8182
20 replaces: service_ONOS_CORD
21
22 service#vtn:
23 type: tosca.nodes.VTNService
24 properties:
25 view_url: /admin/vtn/vtnservice/$id$/
26 privateGatewayMac: 00:00:00:00:00:01
27 localManagementIp: {{ management_network_ip }}
28 ovsdbPort: 6641
29 sshUser: root
30 sshKeyFile: /root/node_key
31 sshPort: 22
32 xosEndpoint: http://xos:{{ xos_ui_port }}/
33 xosUser: {{ xos_admin_user }}
34 xosPassword: {{ xos_admin_pass }}
35 replaces: service_vtn
36 vtnAPIVersion: 2
37 controllerPort: onos-cord:6654
38
39 VTN_ONOS_app:
40 type: tosca.nodes.ONOSVTNApp
41 requirements:
42 - onos_tenant:
43 node: service#ONOS_CORD
44 relationship: tosca.relationships.TenantOfService
45 - vtn_service:
46 node: service#vtn
47 relationship: tosca.relationships.UsedByService
48 properties:
49 install_dependencies: http://mavenrepo:8080/repository/org/opencord/cord-config/{{ cord_app_version }}/cord-config-{{ cord_app_version }}.oar,http://mavenrepo:8080/repository/org/opencord/vtn/{{ cord_app_version }}/vtn-{{ cord_app_version }}.oar
50 dependencies: org.onosproject.drivers, org.onosproject.drivers.ovsdb, org.onosproject.openflow-base, org.onosproject.ovsdb-base, org.onosproject.dhcp
51 autogenerate: vtn-network-cfg
52