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