blob: c97db35f7aa33910868f595599885c12a26cc967 [file] [log] [blame]
Pavel Svimberskya48a9bc2017-08-23 16:00:02 +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.linux.network.hosts
7- system.nova.compute.cluster
8- system.opencontrail.compute.cluster4_0
9- system.opencontrail.client.cluster
10- system.opencontrail.client.resource.virtual_router
11- service.opencontrail.compute.cluster
Petr Michalecf05e3ea2017-08-21 17:33:16 +020012- cluster.os-ha-contrail-40
Pavel Svimberskya48a9bc2017-08-23 16:00:02 +020013parameters:
14 _param:
15 cluster_vip_address: ${_param:openstack_control_address}
16 cluster_local_address: ${_param:single_address}
17 cluster_node01_hostname: ctl01
18 cluster_node01_address: ${_param:openstack_control_node01_address}
19 cluster_node02_hostname: ctl02
20 cluster_node02_address: ${_param:openstack_control_node02_address}
21 cluster_node03_hostname: ctl03
22 cluster_node03_address: ${_param:openstack_control_node03_address}
23 opencontrail_compute_address: ${_param:single_address}
24 opencontrail_compute_gateway: 172.16.10.1
25 opencontrail_compute_iface: ens4
26 linux_system_codename: xenial
27 linux:
Petr Jedinýf413f4e2018-05-28 18:47:37 +020028 system:
29 autoupdates:
30 enabled: false
31 package:
32 apport: # fix conflict with contrail-vrouter-agent explicitly
33 version: purged
Pavel Svimberskya48a9bc2017-08-23 16:00:02 +020034 network:
35 concat_iface_files:
36 - src: '/etc/network/interfaces.d/50-cloud-init.cfg'
37 dst: '/etc/network/interfaces'
38 interface:
39 ens4:
40 enabled: true
Petr Jediný77bff9c2018-02-16 15:19:22 +010041 ipflush_onchange: true
Pavel Svimberskya48a9bc2017-08-23 16:00:02 +020042 type: eth
43 proto: manual
Petr Jediný9757ca52017-12-08 17:47:34 +010044 pre_up_cmds:
45 - ethtool -K ens4 rx off tx off gro off tso off
Pavel Svimberskya48a9bc2017-08-23 16:00:02 +020046 vhost0:
47 enabled: true
48 type: eth
49 mtu: 1500
50 address: ${_param:single_address}
51 netmask: '255.255.255.0'
52 pre_up_cmds:
53 - /usr/lib/contrail/if-vhost0
54 use_interfaces:
55 - ens4
56 nova:
57 compute:
58 vncproxy_url: http://${_param:cluster_vip_address}:6080
59 message_queue:
60 members:
61 - host: ${_param:openstack_control_node01_address}
62 - host: ${_param:openstack_control_node02_address}
63 - host: ${_param:openstack_control_node03_address}
64 notification:
65 driver: messagingv2
66 topics: "notifications"
67 notify_on:
68 state_change: vm_and_task_state
69 opencontrail:
70 common:
71 network:
72 host: ${_param:openstack_control_address}