Merge "Support opera test in functest releng"
[releng.git] / prototypes / xci / file / ha / openstack_user_config.yml
1 ---
2 cidr_networks:
3   container: 172.29.236.0/22
4   tunnel: 172.29.240.0/22
5   storage: 172.29.244.0/22
6
7 used_ips:
8   - "172.29.236.1,172.29.236.50"
9   - "172.29.240.1,172.29.240.50"
10   - "172.29.244.1,172.29.244.50"
11   - "172.29.248.1,172.29.248.50"
12
13 global_overrides:
14   internal_lb_vip_address: 172.29.236.222
15   external_lb_vip_address: 192.168.122.220
16   tunnel_bridge: "br-vxlan"
17   management_bridge: "br-mgmt"
18   provider_networks:
19     - network:
20         container_bridge: "br-mgmt"
21         container_type: "veth"
22         container_interface: "eth1"
23         ip_from_q: "container"
24         type: "raw"
25         group_binds:
26           - all_containers
27           - hosts
28         is_container_address: true
29         is_ssh_address: true
30     - network:
31         container_bridge: "br-vxlan"
32         container_type: "veth"
33         container_interface: "eth10"
34         ip_from_q: "tunnel"
35         type: "vxlan"
36         range: "1:1000"
37         net_name: "vxlan"
38         group_binds:
39           - neutron_linuxbridge_agent
40     - network:
41         container_bridge: "br-vlan"
42         container_type: "veth"
43         container_interface: "eth12"
44         host_bind_override: "eth12"
45         type: "flat"
46         net_name: "flat"
47         group_binds:
48           - neutron_linuxbridge_agent
49     - network:
50         container_bridge: "br-vlan"
51         container_type: "veth"
52         container_interface: "eth11"
53         type: "vlan"
54         range: "1:1"
55         net_name: "vlan"
56         group_binds:
57           - neutron_linuxbridge_agent
58     - network:
59         container_bridge: "br-storage"
60         container_type: "veth"
61         container_interface: "eth2"
62         ip_from_q: "storage"
63         type: "raw"
64         group_binds:
65           - glance_api
66           - cinder_api
67           - cinder_volume
68           - nova_compute
69
70 # ##
71 # ## Infrastructure
72 # ##
73
74 # galera, memcache, rabbitmq, utility
75 shared-infra_hosts:
76   controller00:
77     ip: 172.29.236.11
78   controller01:
79     ip: 172.29.236.12
80   controller02:
81     ip: 172.29.236.13
82
83 # repository (apt cache, python packages, etc)
84 repo-infra_hosts:
85   controller00:
86     ip: 172.29.236.11
87   controller01:
88     ip: 172.29.236.12
89   controller02:
90     ip: 172.29.236.13
91
92 # load balancer
93 # Ideally the load balancer should not use the Infrastructure hosts.
94 # Dedicated hardware is best for improved performance and security.
95 haproxy_hosts:
96   controller00:
97     ip: 172.29.236.11
98   controller01:
99     ip: 172.29.236.12
100   controller02:
101     ip: 172.29.236.13
102
103 # rsyslog server
104 # log_hosts:
105 # log1:
106 #  ip: 172.29.236.14
107
108 # ##
109 # ## OpenStack
110 # ##
111
112 # keystone
113 identity_hosts:
114   controller00:
115     ip: 172.29.236.11
116   controller01:
117     ip: 172.29.236.12
118   controller02:
119     ip: 172.29.236.13
120
121 # cinder api services
122 storage-infra_hosts:
123   controller00:
124     ip: 172.29.236.11
125   controller01:
126     ip: 172.29.236.12
127   controller02:
128     ip: 172.29.236.13
129
130 # glance
131 # The settings here are repeated for each infra host.
132 # They could instead be applied as global settings in
133 # user_variables, but are left here to illustrate that
134 # each container could have different storage targets.
135 image_hosts:
136   controller00:
137     ip: 172.29.236.11
138     container_vars:
139       limit_container_types: glance
140       glance_nfs_client:
141         - server: "172.29.244.14"
142           remote_path: "/images"
143           local_path: "/var/lib/glance/images"
144           type: "nfs"
145           options: "_netdev,auto"
146   controller01:
147     ip: 172.29.236.12
148     container_vars:
149       limit_container_types: glance
150       glance_nfs_client:
151         - server: "172.29.244.14"
152           remote_path: "/images"
153           local_path: "/var/lib/glance/images"
154           type: "nfs"
155           options: "_netdev,auto"
156   controller02:
157     ip: 172.29.236.13
158     container_vars:
159       limit_container_types: glance
160       glance_nfs_client:
161         - server: "172.29.244.14"
162           remote_path: "/images"
163           local_path: "/var/lib/glance/images"
164           type: "nfs"
165           options: "_netdev,auto"
166
167 # nova api, conductor, etc services
168 compute-infra_hosts:
169   controller00:
170     ip: 172.29.236.11
171   controller01:
172     ip: 172.29.236.12
173   controller02:
174     ip: 172.29.236.13
175
176 # heat
177 orchestration_hosts:
178   controller00:
179     ip: 172.29.236.11
180   controller01:
181     ip: 172.29.236.12
182   controller02:
183     ip: 172.29.236.13
184
185 # horizon
186 dashboard_hosts:
187   controller00:
188     ip: 172.29.236.11
189   controller01:
190     ip: 172.29.236.12
191   controller02:
192     ip: 172.29.236.13
193
194 # neutron server, agents (L3, etc)
195 network_hosts:
196   controller00:
197     ip: 172.29.236.11
198   controller01:
199     ip: 172.29.236.12
200   controller02:
201     ip: 172.29.236.13
202
203 # nova hypervisors
204 compute_hosts:
205   compute00:
206     ip: 172.29.236.14
207   compute01:
208     ip: 172.29.236.15
209
210 # cinder volume hosts (NFS-backed)
211 # The settings here are repeated for each infra host.
212 # They could instead be applied as global settings in
213 # user_variables, but are left here to illustrate that
214 # each container could have different storage targets.
215 storage_hosts:
216   controller00:
217     ip: 172.29.236.11
218     container_vars:
219       cinder_backends:
220         limit_container_types: cinder_volume
221         nfs_volume:
222           volume_backend_name: NFS_VOLUME1
223           volume_driver: cinder.volume.drivers.nfs.NfsDriver
224           nfs_mount_options: "rsize=65535,wsize=65535,timeo=1200,actimeo=120"
225           nfs_shares_config: /etc/cinder/nfs_shares
226           shares:
227             - ip: "172.29.244.14"
228               share: "/volumes"
229   controller01:
230     ip: 172.29.236.12
231     container_vars:
232       cinder_backends:
233         limit_container_types: cinder_volume
234         nfs_volume:
235           volume_backend_name: NFS_VOLUME1
236           volume_driver: cinder.volume.drivers.nfs.NfsDriver
237           nfs_mount_options: "rsize=65535,wsize=65535,timeo=1200,actimeo=120"
238           nfs_shares_config: /etc/cinder/nfs_shares
239           shares:
240             - ip: "172.29.244.14"
241               share: "/volumes"
242   controller02:
243     ip: 172.29.236.13
244     container_vars:
245       cinder_backends:
246         limit_container_types: cinder_volume
247         nfs_volume:
248           volume_backend_name: NFS_VOLUME1
249           volume_driver: cinder.volume.drivers.nfs.NfsDriver
250           nfs_mount_options: "rsize=65535,wsize=65535,timeo=1200,actimeo=120"
251           nfs_shares_config: /etc/cinder/nfs_shares
252           shares:
253             - ip: "172.29.244.14"
254               share: "/volumes"