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