blob: 04cfed427a3f8ddee5fbf07baa2df1cb94258bd7 [file] [log] [blame]
Ales Komarekc12dd412017-06-27 16:24:42 +02001classes:
2- system.linux.system.repo.mcp.contrail
3- system.linux.system.repo.mcp.openstack
4- system.linux.system.repo.mcp.extra
5- system.linux.system.repo.saltstack.xenial
6- system.nova.compute.cluster
7- system.opencontrail.compute.cluster
8- system.opencontrail.client.cluster
9- system.opencontrail.client.resource.virtual_router
10- service.opencontrail.compute.cluster
11- cluster.os_ha_contrail
12parameters:
13 _param:
14 cluster_vip_address: ${_param:openstack_control_address}
15 cluster_local_address: ${_param:single_address}
16 cluster_node01_hostname: ctl01
17 cluster_node01_address: ${_param:openstack_control_node01_address}
18 cluster_node02_hostname: ctl02
19 cluster_node02_address: ${_param:openstack_control_node02_address}
20 cluster_node03_hostname: ctl03
21 cluster_node03_address: ${_param:openstack_control_node03_address}
22 opencontrail_compute_address: ${_param:single_address}
23 opencontrail_compute_gateway: 172.16.10.1
24 opencontrail_compute_iface: ens4
25 linux_system_codename: xenial
26 linux:
27 network:
Adam Tengler0900fa82017-07-03 15:33:42 +000028 concat_iface_files:
29 - src: '/etc/network/interfaces.d/50-cloud-init.cfg'
30 dst: '/etc/network/interfaces'
Ales Komarekc12dd412017-06-27 16:24:42 +020031 interface:
32 ens4:
33 enabled: true
34 type: eth
35 proto: manual
36 vhost0:
37 enabled: true
38 type: eth
39 mtu: 1500
40 address: ${_param:single_address}
41 netmask: '255.255.255.0'
42 pre_up_cmds:
43 - /usr/lib/contrail/if-vhost0
44 use_interfaces:
45 - ens4
46 nova:
47 compute:
48 vncproxy_url: http://${_param:cluster_vip_address}:6080
49 message_queue:
50 members:
51 - host: ${_param:openstack_control_node01_address}
52 - host: ${_param:openstack_control_node02_address}
53 - host: ${_param:openstack_control_node03_address}
54 notification:
55 driver: messagingv2
56 topics: "notifications"
57 notify_on:
58 state_change: vm_and_task_state
Ales Komarekc12dd412017-06-27 16:24:42 +020059 opencontrail:
60 common:
61 network:
62 host: ${_param:openstack_control_address}