99b768c4523ad56a824e1c1a27ac216886acd09a
[releng-xci-scenarios.git] / os-nosdn-nofeature / role / os-nosdn-nofeature / files / noha / 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.11
15   external_lb_vip_address: 192.168.122.3
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_openvswitch_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_openvswitch_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_openvswitch_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
79 # repository (apt cache, python packages, etc)
80 repo-infra_hosts:
81   controller00:
82     ip: 172.29.236.11
83
84 # load balancer
85 # Ideally the load balancer should not use the Infrastructure hosts.
86 # Dedicated hardware is best for improved performance and security.
87 haproxy_hosts:
88   controller00:
89     ip: 172.29.236.11
90
91 # rsyslog server
92 # log_hosts:
93 # log1:
94 #  ip: 172.29.236.14
95
96 # ##
97 # ## OpenStack
98 # ##
99
100 # keystone
101 identity_hosts:
102   controller00:
103     ip: 172.29.236.11
104
105 # cinder api services
106 storage-infra_hosts:
107   controller00:
108     ip: 172.29.236.11
109
110 # glance
111 # The settings here are repeated for each infra host.
112 # They could instead be applied as global settings in
113 # user_variables, but are left here to illustrate that
114 # each container could have different storage targets.
115 image_hosts:
116   controller00:
117     ip: 172.29.236.11
118     container_vars:
119       limit_container_types: glance
120       glance_nfs_client:
121         - server: "172.29.244.12"
122           remote_path: "/images"
123           local_path: "/var/lib/glance/images"
124           type: "nfs"
125           options: "_netdev,auto"
126
127 # nova api, conductor, etc services
128 compute-infra_hosts:
129   controller00:
130     ip: 172.29.236.11
131
132 # heat
133 orchestration_hosts:
134   controller00:
135     ip: 172.29.236.11
136
137 # horizon
138 dashboard_hosts:
139   controller00:
140     ip: 172.29.236.11
141
142 # neutron server, agents (L3, etc)
143 network_hosts:
144   controller00:
145     ip: 172.29.236.11
146
147 # nova hypervisors
148 compute_hosts:
149   compute00:
150     ip: 172.29.236.12
151   compute01:
152     ip: 172.29.236.13
153
154 # cinder volume hosts (NFS-backed)
155 # The settings here are repeated for each infra host.
156 # They could instead be applied as global settings in
157 # user_variables, but are left here to illustrate that
158 # each container could have different storage targets.
159 storage_hosts:
160   controller00:
161     ip: 172.29.236.11
162     container_vars:
163       cinder_backends:
164         limit_container_types: cinder_volume
165         nfs_volume:
166           volume_backend_name: NFS_VOLUME1
167           volume_driver: cinder.volume.drivers.nfs.NfsDriver
168           nfs_mount_options: "rsize=65535,wsize=65535,timeo=1200,actimeo=120"
169           nfs_shares_config: /etc/cinder/nfs_shares
170           shares:
171             - ip: "172.29.244.12"
172               share: "/volumes"