blob: 734885f6143aa5da788b93584b328c13160ac7ad [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
Martin Polreich47393e42018-08-07 10:57:41 +02005- system.linux.system.repo.mcp.apt_mirantis.saltstack
Pavel Svimberskya48a9bc2017-08-23 16:00:02 +02006- 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:
Jan Cach4f019782018-10-11 16:09:34 +020039 ens3: ${_param:linux_dhcp_interface}
Pavel Svimberskya48a9bc2017-08-23 16:00:02 +020040 ens4:
41 enabled: true
Petr Jediný77bff9c2018-02-16 15:19:22 +010042 ipflush_onchange: true
Pavel Svimberskya48a9bc2017-08-23 16:00:02 +020043 type: eth
44 proto: manual
Petr Jediný9757ca52017-12-08 17:47:34 +010045 pre_up_cmds:
46 - ethtool -K ens4 rx off tx off gro off tso off
Pavel Svimberskya48a9bc2017-08-23 16:00:02 +020047 vhost0:
48 enabled: true
49 type: eth
50 mtu: 1500
51 address: ${_param:single_address}
52 netmask: '255.255.255.0'
53 pre_up_cmds:
54 - /usr/lib/contrail/if-vhost0
55 use_interfaces:
56 - ens4
57 nova:
58 compute:
59 vncproxy_url: http://${_param:cluster_vip_address}:6080
60 message_queue:
61 members:
62 - host: ${_param:openstack_control_node01_address}
63 - host: ${_param:openstack_control_node02_address}
64 - host: ${_param:openstack_control_node03_address}
65 notification:
66 driver: messagingv2
67 topics: "notifications"
68 notify_on:
69 state_change: vm_and_task_state
Jan Cach366aa062018-10-05 10:43:05 +020070 networking: contrail
Pavel Svimberskya48a9bc2017-08-23 16:00:02 +020071 opencontrail:
72 common:
73 network:
74 host: ${_param:openstack_control_address}