summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Karpin <mkarpin@mirantis.com>2016-08-03 11:11:32 +0300
committerMykyta Karpin <mkarpin@mirantis.com>2016-08-26 11:50:14 +0300
commit222b7c2e5a2dbd0eae8055148543493387baa057 (patch)
tree7436d70cd427588699a9c76b59c8c4aeb802266d
parent9b9e263ccb0b4fbf93f632848154f26f6d0dc1aa (diff)
Configuration of tests
This commit adds test configs for plugin CI Change-Id: Ib013647f4dbbdaea9a0375311c09d786a6c8d9dd
Notes
Notes (review): Code-Review+1: Maksym Yatsenko <myatsenko@mirantis.com> Code-Review+1: Alex Petrov <apetrov@mirantis.com> Code-Review+2: Ivan Berezovskiy <iberezovskiy@mirantis.com> Workflow+1: Ivan Berezovskiy <iberezovskiy@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 29 Aug 2016 14:26:55 +0000 Reviewed-on: https://review.openstack.org/350425 Project: openstack/fuel-plugin-ldap Branch: refs/heads/master
-rw-r--r--tests/plugins_config/mld_no_proxy.yaml172
-rw-r--r--tests/plugins_config/mld_proxy.yaml172
-rw-r--r--tests/templates/default.yaml164
-rw-r--r--tests/templates/default_no_ha.yaml158
-rw-r--r--tests/templates/rabbit_no_ha.yaml159
5 files changed, 825 insertions, 0 deletions
diff --git a/tests/plugins_config/mld_no_proxy.yaml b/tests/plugins_config/mld_no_proxy.yaml
new file mode 100644
index 0000000..57bbbfa
--- /dev/null
+++ b/tests/plugins_config/mld_no_proxy.yaml
@@ -0,0 +1,172 @@
1suffix: dc=openldap1,dc=tld
2url: ldap://176.74.221.80
3ca_chain: '-----BEGIN CERTIFICATE-----
4
5 MIIC3jCCAZagAwIBAgIEV78rsjANBgkqhkiG9w0BAQsFADATMREwDwYDVQQDEwht
6
7 aXJhbnRpczAeFw0xNjA4MjUxNzMyMzRaFw00NDAxMTAxNzMyMzRaMCsxETAPBgNV
8
9 BAoTCG1pcmFudGlzMRYwFAYDVQQDEw0xNzIuMTguMTgwLjc5MIGfMA0GCSqGSIb3
10
11 DQEBAQUAA4GNADCBiQKBgQDcTIcn/63x4RIvheWLKS3T8c4RYGGtsEcGdhAO+NEg
12
13 fzCvZ3LC9IFcwKWaBrxDffrN4ipBIE9+tBSlS+n/wCkb/0kKgYUngzBy0LHdAzyV
14
15 qVkIg4clzXAPL4dNf+9rIN5VKLjxBiIzM0elXv1LQWr97Y4rPCn7k5DXt4U15ea5
16
17 CwIDAQABo3YwdDAMBgNVHRMBAf8EAjAAMBMGA1UdJQQMMAoGCCsGAQUFBwMBMA8G
18
19 A1UdDwEB/wQFAwMHoAAwHQYDVR0OBBYEFCLl5iKnvOL1kQWLhqXh4+WfT3RSMB8G
20
21 A1UdIwQYMBaAFBwKLasELphBk6Z4D05Gw86ZiJRPMA0GCSqGSIb3DQEBCwUAA4IB
22
23 MQBPxb2nnHVaamEU5ND4ZpkTEzPSLWSjI6yz51vTHj+O3bcLC+NasUoaiZ/UA/6d
24
25 dqOhyNTYge6mmg5ZD9522Reaq40+enqzZtapiY53bYrti9q/lORKnKO5wULyo4qz
26
27 1IrWk8Fdm8CUiJNkOMddMcPI45H0SYcds8H46zPoOR0iQTL+6p9W+flRrXGPvDMz
28
29 OLceGS9QifPjr9LB02LpJ0OOH+DNd12/Y/s/JRwukwf8JVpvBlFR06qtsTDTinc7
30
31 Wgp2j3uyvZc15XF0D+0/0TvfLbo7qduibWUXFTClMaJtk1AhMrVd7KSi/P+m6Qv1
32
33 6Y2aIcudKZlSeqP+7o4d2xQ1TpqfOqj7TuDBofmCcM8IE+zLPDLLqegu0R6g4I7h
34
35 YEF4vbLrxFWwRdH9YyPnfI3+
36
37 -----END CERTIFICATE-----'
38chase_referrals: 'False'
39domain: openldap1
40group_desc_attribute: description
41group_filter: ''
42group_id_attribute: cn
43group_member_attribute: member
44group_name_attribute: cn
45group_objectclass: groupOfNames
46group_tree_dn: dc=openldap1,dc=tld
47ldap_proxy: false
48ldap_proxy_custom_conf: ''
49page_size: '0'
50password: '1111'
51query_scope: sub
52use_tls: true
53user: cn=admin,dc=openldap1,dc=tld
54user_enabled_attribute: enabled
55user_filter: ''
56user_id_attribute: cn
57user_name_attribute: sn
58user_objectclass: inetOrgPerson
59user_pass_attribute: userPassword
60user_tree_dn: dc=openldap1,dc=tld
61additional_domains: 'domain=openldap2
62
63 url=ldap://176.74.221.81
64
65 suffix=dc=openldap2,dc=tld
66
67 user=cn=admin,dc=openldap2,dc=tld
68
69 password=1111
70
71 query_scope=sub
72
73 user_tree_dn=dc=openldap2,dc=tld
74
75 user_objectclass=inetOrgPerson
76
77 user_id_attribute=cn
78
79 user_name_attribute=sn
80
81 user_pass_attribute=userPassword
82
83 user_enabled_attribute=enabled
84
85 user_allow_create=False
86
87 user_allow_update=False
88
89 user_allow_delete=False
90
91 user_filter=
92
93 group_tree_dn=dc=openldap2,dc=tld
94
95 group_objectclass=groupOfNames
96
97 group_id_attribute=cn
98
99 group_name_attribute=cn
100
101 group_desc_attribute=description
102
103 group_member_attribute=member
104
105 group_allow_create=False
106
107 group_allow_update=False
108
109 group_allow_delete=False
110
111 group_filter=
112
113 ldap_proxy=false
114
115 use_tls=False
116
117
118 domain=AD2
119
120 url=ldap://176.74.221.85
121
122 user=cn=admin,cn=Users,dc=keystone2,dc=tld
123
124 group_id_attribute=cn
125
126 group_objectclass=group
127
128 user_objectclass=person
129
130 user_name_attribute=cn
131
132 password=qwerty123!
133
134 user_allow_delete=False
135
136 group_allow_create=False
137
138 user_tree_dn=dc=keystone2,dc=tld
139
140 user_pass_attribute=userPassword
141
142 user_enabled_attribute=enabled
143
144 user_allow_create=False
145
146 user_allow_update=False
147
148 group_tree_dn=dc=keystone2,dc=tld
149
150 group_desc_attribute=description
151
152 user_filter=
153
154 group_allow_update=False
155
156 group_filter=
157
158 suffix=dc=keystone2,dc=tld
159
160 group_member_attribute=member
161
162 group_allow_delete=False
163
164 use_tls=False
165
166 query_scope=sub
167
168 group_name_attribute=cn
169
170 user_id_attribute=cn
171
172 ldap_proxy=false' \ No newline at end of file
diff --git a/tests/plugins_config/mld_proxy.yaml b/tests/plugins_config/mld_proxy.yaml
new file mode 100644
index 0000000..c614472
--- /dev/null
+++ b/tests/plugins_config/mld_proxy.yaml
@@ -0,0 +1,172 @@
1suffix: dc=openldap1,dc=tld
2url: ldap://176.74.221.80
3ca_chain: '-----BEGIN CERTIFICATE-----
4
5 MIIC3jCCAZagAwIBAgIEV78rsjANBgkqhkiG9w0BAQsFADATMREwDwYDVQQDEwht
6
7 aXJhbnRpczAeFw0xNjA4MjUxNzMyMzRaFw00NDAxMTAxNzMyMzRaMCsxETAPBgNV
8
9 BAoTCG1pcmFudGlzMRYwFAYDVQQDEw0xNzIuMTguMTgwLjc5MIGfMA0GCSqGSIb3
10
11 DQEBAQUAA4GNADCBiQKBgQDcTIcn/63x4RIvheWLKS3T8c4RYGGtsEcGdhAO+NEg
12
13 fzCvZ3LC9IFcwKWaBrxDffrN4ipBIE9+tBSlS+n/wCkb/0kKgYUngzBy0LHdAzyV
14
15 qVkIg4clzXAPL4dNf+9rIN5VKLjxBiIzM0elXv1LQWr97Y4rPCn7k5DXt4U15ea5
16
17 CwIDAQABo3YwdDAMBgNVHRMBAf8EAjAAMBMGA1UdJQQMMAoGCCsGAQUFBwMBMA8G
18
19 A1UdDwEB/wQFAwMHoAAwHQYDVR0OBBYEFCLl5iKnvOL1kQWLhqXh4+WfT3RSMB8G
20
21 A1UdIwQYMBaAFBwKLasELphBk6Z4D05Gw86ZiJRPMA0GCSqGSIb3DQEBCwUAA4IB
22
23 MQBPxb2nnHVaamEU5ND4ZpkTEzPSLWSjI6yz51vTHj+O3bcLC+NasUoaiZ/UA/6d
24
25 dqOhyNTYge6mmg5ZD9522Reaq40+enqzZtapiY53bYrti9q/lORKnKO5wULyo4qz
26
27 1IrWk8Fdm8CUiJNkOMddMcPI45H0SYcds8H46zPoOR0iQTL+6p9W+flRrXGPvDMz
28
29 OLceGS9QifPjr9LB02LpJ0OOH+DNd12/Y/s/JRwukwf8JVpvBlFR06qtsTDTinc7
30
31 Wgp2j3uyvZc15XF0D+0/0TvfLbo7qduibWUXFTClMaJtk1AhMrVd7KSi/P+m6Qv1
32
33 6Y2aIcudKZlSeqP+7o4d2xQ1TpqfOqj7TuDBofmCcM8IE+zLPDLLqegu0R6g4I7h
34
35 YEF4vbLrxFWwRdH9YyPnfI3+
36
37 -----END CERTIFICATE-----'
38chase_referrals: 'False'
39domain: openldap1
40group_desc_attribute: description
41group_filter: ''
42group_id_attribute: cn
43group_member_attribute: member
44group_name_attribute: cn
45group_objectclass: groupOfNames
46group_tree_dn: dc=openldap1,dc=tld
47ldap_proxy: true
48ldap_proxy_custom_conf: ''
49page_size: '0'
50password: '1111'
51query_scope: sub
52use_tls: true
53user: cn=admin,dc=openldap1,dc=tld
54user_enabled_attribute: enabled
55user_filter: ''
56user_id_attribute: cn
57user_name_attribute: sn
58user_objectclass: inetOrgPerson
59user_pass_attribute: userPassword
60user_tree_dn: dc=openldap1,dc=tld
61additional_domains: 'domain=openldap2
62
63 url=ldap://176.74.221.81
64
65 suffix=dc=openldap2,dc=tld
66
67 user=cn=admin,dc=openldap2,dc=tld
68
69 password=1111
70
71 query_scope=sub
72
73 user_tree_dn=dc=openldap2,dc=tld
74
75 user_objectclass=inetOrgPerson
76
77 user_id_attribute=cn
78
79 user_name_attribute=sn
80
81 user_pass_attribute=userPassword
82
83 user_enabled_attribute=enabled
84
85 user_allow_create=False
86
87 user_allow_update=False
88
89 user_allow_delete=False
90
91 user_filter=
92
93 group_tree_dn=dc=openldap2,dc=tld
94
95 group_objectclass=groupOfNames
96
97 group_id_attribute=cn
98
99 group_name_attribute=cn
100
101 group_desc_attribute=description
102
103 group_member_attribute=member
104
105 group_allow_create=False
106
107 group_allow_update=False
108
109 group_allow_delete=False
110
111 group_filter=
112
113 ldap_proxy=false
114
115 use_tls=False
116
117
118 domain=AD2
119
120 url=ldap://176.74.221.85
121
122 user=cn=admin,cn=Users,dc=keystone2,dc=tld
123
124 group_id_attribute=cn
125
126 group_objectclass=group
127
128 user_objectclass=person
129
130 user_name_attribute=cn
131
132 password=qwerty123!
133
134 user_allow_delete=False
135
136 group_allow_create=False
137
138 user_tree_dn=dc=keystone2,dc=tld
139
140 user_pass_attribute=userPassword
141
142 user_enabled_attribute=enabled
143
144 user_allow_create=False
145
146 user_allow_update=False
147
148 group_tree_dn=dc=keystone2,dc=tld
149
150 group_desc_attribute=description
151
152 user_filter=
153
154 group_allow_update=False
155
156 group_filter=
157
158 suffix=dc=keystone2,dc=tld
159
160 group_member_attribute=member
161
162 group_allow_delete=False
163
164 use_tls=False
165
166 query_scope=sub
167
168 group_name_attribute=cn
169
170 user_id_attribute=cn
171
172 ldap_proxy=true' \ No newline at end of file
diff --git a/tests/templates/default.yaml b/tests/templates/default.yaml
new file mode 100644
index 0000000..ff3b9cd
--- /dev/null
+++ b/tests/templates/default.yaml
@@ -0,0 +1,164 @@
1template:
2 cluster_template:
3 name: ldap-plugin
4 network:
5 neutron-dvr: false
6 neutron-l2-pop: false
7 neutron-l3-ha: false
8 provider: neutron
9 pubip-to-all: false
10 segment-type: vlan
11 nodes:
12 - count: 3
13 roles: [controller]
14 - count: 1
15 roles: [compute, cinder]
16 release: ubuntu
17 settings:
18 components:
19 ceilometer: false
20 ironic: false
21 murano: false
22 sahara: false
23 storages:
24 ephemeral-ceph: false
25 image-ceph: false
26 rados-ceph: false
27 volume-ceph: false
28 volume-lvm: true
29 devops_settings:
30 address_pools:
31 baremetal-pool01:
32 net: 10.109.0.0/16:24
33 params: {tag: 0}
34 fuelweb_admin-pool01:
35 net: 10.109.0.0/16:24
36 params: {tag: 0}
37 management-pool01:
38 net: 10.109.0.0/16:24
39 params: {tag: 0}
40 private-pool01:
41 net: 10.109.0.0/16:24
42 params: {tag: 103}
43 public-pool01:
44 net: 10.109.0.0/16:24
45 params: {tag: 0}
46 storage-pool01:
47 net: 10.109.0.0/16:24
48 params: {tag: 101}
49 aliases:
50 dynamic_address_pool:
51 - &pool_default !os_env POOL_DEFAULT, 10.109.0.0/16:24
52
53 rack-01-slave-interfaces: &rack-01-slave-interfaces
54 - label: eth0
55 l2_network_device: admin # Libvirt bridge name. It is *NOT* Nailgun networks
56 - label: eth1
57 l2_network_device: public
58 - label: eth2
59 l2_network_device: management
60 - label: eth3
61 l2_network_device: private
62 - label: eth4
63 l2_network_device: storage
64 - label: eth5
65 l2_network_device: ironic
66
67 rack-01-slave-network_config: &rack-01-slave-network_config
68 eth0:
69 networks:
70 - fuelweb_admin
71 eth1:
72 networks:
73 - public
74 eth2:
75 networks:
76 - management
77 eth3:
78 networks:
79 - private
80 eth4:
81 networks:
82 - storage
83 eth5:
84 networks:
85 - baremetal
86
87 rack-01-controller-node-params: &controller-node-params
88 boot: [network, hd]
89 interfaces: *rack-01-slave-interfaces
90 memory: 4096
91 network_config: *rack-01-slave-network_config
92 vcpu: 2
93 volumes:
94 - {capacity: 55, format: qcow2, name: system}
95 - {capacity: 55, format: qcow2, name: cinder}
96 - {capacity: 55, format: qcow2, name: swift}
97
98 rack-01-compute-node-params: &compute-node-params
99 boot: [network, hd]
100 interfaces: *rack-01-slave-interfaces
101 memory: 4096
102 network_config: *rack-01-slave-network_config
103 vcpu: 2
104 volumes:
105 - {capacity: 55, format: qcow2, name: system}
106 - {capacity: 55, format: qcow2, name: cinder}
107 - {capacity: 55, format: qcow2, name: swift}
108
109 env_name: !os_env ENV_NAME
110 groups:
111 - driver:
112 name: devops.driver.libvirt.libvirt_driver
113 params: {connection_string: 'qemu:///system', hpet: false, storage_pool_name: default,
114 stp: true, use_host_cpu: true}
115 l2_network_devices:
116 admin:
117 address_pool: fuelweb_admin-pool01
118 dhcp: false
119 forward: {mode: nat}
120 ironic: {address_pool: baremetal-pool01, dhcp: false}
121 management: {address_pool: management-pool01, dhcp: false}
122 private: {address_pool: private-pool01, dhcp: false}
123 public:
124 address_pool: public-pool01
125 dhcp: false
126 forward: {mode: nat}
127 storage: {address_pool: storage-pool01, dhcp: false}
128 name: rack-01
129 network_pools: {baremetal: baremetal-pool01, fuelweb_admin: fuelweb_admin-pool01,
130 management: management-pool01, private: private-pool01, public: public-pool01,
131 storage: storage-pool01}
132 nodes:
133 - name: admin
134 params:
135 boot: [hd, cdrom]
136 interfaces:
137 - {l2_network_device: admin, label: eth0}
138 memory: 4096
139 network_config:
140 eth0:
141 networks: [fuelweb_admin]
142 vcpu: 1
143 volumes:
144 - {capacity: 80, format: qcow2, name: system}
145 - {bus: ide, device: cdrom, format: raw, name: iso, source_image: !os_env ISO_PATH}
146 role: fuel_master
147 - name: slave-01
148 params: *controller-node-params
149 role: fuel_slave
150 - name: slave-02
151 params: *controller-node-params
152 role: fuel_slave
153 - name: slave-03
154 params: *controller-node-params
155 role: fuel_slave
156 - name: slave-04
157 params: *compute-node-params
158 role: fuel_slave
159 name: 3 Controller, 1 Compute + Cinder, Neutron, VLAN
160 slaves: 4
161
162plugins:
163 - ldap:
164 config_file: !os_env LDAP_CONFIG_FILE, plugins_config/mld_proxy.yaml
diff --git a/tests/templates/default_no_ha.yaml b/tests/templates/default_no_ha.yaml
new file mode 100644
index 0000000..c31558a
--- /dev/null
+++ b/tests/templates/default_no_ha.yaml
@@ -0,0 +1,158 @@
1template:
2 cluster_template:
3 name: ldap-plugin
4 network:
5 neutron-dvr: false
6 neutron-l2-pop: false
7 neutron-l3-ha: false
8 provider: neutron
9 pubip-to-all: false
10 segment-type: vlan
11 nodes:
12 - count: 1
13 roles: [controller]
14 - count: 1
15 roles: [compute, cinder]
16 release: ubuntu
17 settings:
18 components:
19 ceilometer: false
20 ironic: false
21 murano: false
22 sahara: false
23 storages:
24 ephemeral-ceph: false
25 image-ceph: false
26 rados-ceph: false
27 volume-ceph: false
28 volume-lvm: true
29 devops_settings:
30 address_pools:
31 baremetal-pool01:
32 net: 10.109.0.0/16:24
33 params: {tag: 0}
34 fuelweb_admin-pool01:
35 net: 10.109.0.0/16:24
36 params: {tag: 0}
37 management-pool01:
38 net: 10.109.0.0/16:24
39 params: {tag: 0}
40 private-pool01:
41 net: 10.109.0.0/16:24
42 params: {tag: 103}
43 public-pool01:
44 net: 10.109.0.0/16:24
45 params: {tag: 0}
46 storage-pool01:
47 net: 10.109.0.0/16:24
48 params: {tag: 101}
49 aliases:
50 dynamic_address_pool:
51 - &pool_default !os_env POOL_DEFAULT, 10.109.0.0/16:24
52
53 rack-01-slave-interfaces: &rack-01-slave-interfaces
54 - label: eth0
55 l2_network_device: admin # Libvirt bridge name. It is *NOT* Nailgun networks
56 - label: eth1
57 l2_network_device: public
58 - label: eth2
59 l2_network_device: management
60 - label: eth3
61 l2_network_device: private
62 - label: eth4
63 l2_network_device: storage
64 - label: eth5
65 l2_network_device: ironic
66
67 rack-01-slave-network_config: &rack-01-slave-network_config
68 eth0:
69 networks:
70 - fuelweb_admin
71 eth1:
72 networks:
73 - public
74 eth2:
75 networks:
76 - management
77 eth3:
78 networks:
79 - private
80 eth4:
81 networks:
82 - storage
83 eth5:
84 networks:
85 - baremetal
86
87 rack-01-controller-node-params: &controller-node-params
88 boot: [network, hd]
89 interfaces: *rack-01-slave-interfaces
90 memory: 4096
91 network_config: *rack-01-slave-network_config
92 vcpu: 2
93 volumes:
94 - {capacity: 55, format: qcow2, name: system}
95 - {capacity: 55, format: qcow2, name: cinder}
96 - {capacity: 55, format: qcow2, name: swift}
97
98 rack-01-compute-node-params: &compute-node-params
99 boot: [network, hd]
100 interfaces: *rack-01-slave-interfaces
101 memory: 4096
102 network_config: *rack-01-slave-network_config
103 vcpu: 2
104 volumes:
105 - {capacity: 55, format: qcow2, name: system}
106 - {capacity: 55, format: qcow2, name: cinder}
107 - {capacity: 55, format: qcow2, name: swift}
108
109 env_name: !os_env ENV_NAME
110 groups:
111 - driver:
112 name: devops.driver.libvirt.libvirt_driver
113 params: {connection_string: 'qemu:///system', hpet: false, storage_pool_name: default,
114 stp: true, use_host_cpu: true}
115 l2_network_devices:
116 admin:
117 address_pool: fuelweb_admin-pool01
118 dhcp: false
119 forward: {mode: nat}
120 ironic: {address_pool: baremetal-pool01, dhcp: false}
121 management: {address_pool: management-pool01, dhcp: false}
122 private: {address_pool: private-pool01, dhcp: false}
123 public:
124 address_pool: public-pool01
125 dhcp: false
126 forward: {mode: nat}
127 storage: {address_pool: storage-pool01, dhcp: false}
128 name: rack-01
129 network_pools: {baremetal: baremetal-pool01, fuelweb_admin: fuelweb_admin-pool01,
130 management: management-pool01, private: private-pool01, public: public-pool01,
131 storage: storage-pool01}
132 nodes:
133 - name: admin
134 params:
135 boot: [hd, cdrom]
136 interfaces:
137 - {l2_network_device: admin, label: eth0}
138 memory: 4096
139 network_config:
140 eth0:
141 networks: [fuelweb_admin]
142 vcpu: 1
143 volumes:
144 - {capacity: 80, format: qcow2, name: system}
145 - {bus: ide, device: cdrom, format: raw, name: iso, source_image: !os_env ISO_PATH}
146 role: fuel_master
147 - name: slave-01
148 params: *controller-node-params
149 role: fuel_slave
150 - name: slave-02
151 params: *compute-node-params
152 role: fuel_slave
153 name: 1 Controller, 1 Compute + Cinder, Neutron, VLAN
154 slaves: 2
155
156plugins:
157 - ldap:
158 config_file: !os_env LDAP_CONFIG_FILE, plugins_config/mld_proxy.yaml
diff --git a/tests/templates/rabbit_no_ha.yaml b/tests/templates/rabbit_no_ha.yaml
new file mode 100644
index 0000000..8c07323
--- /dev/null
+++ b/tests/templates/rabbit_no_ha.yaml
@@ -0,0 +1,159 @@
1template:
2 cluster_template:
3 name: ldap-plugin
4 network:
5 neutron-dvr: false
6 neutron-l2-pop: false
7 neutron-l3-ha: false
8 provider: neutron
9 pubip-to-all: false
10 segment-type: vlan
11 nodes:
12 - count: 1
13 roles: [controller]
14 - count: 1
15 roles: [compute, cinder]
16 - count: 3
17 roles: [standalone-rabbitmq]
18 release: ubuntu
19 settings:
20 components:
21 ceilometer: false
22 ironic: false
23 murano: false
24 sahara: false
25 storages:
26 ephemeral-ceph: false
27 image-ceph: false
28 rados-ceph: false
29 volume-ceph: false
30 volume-lvm: true
31 devops_settings:
32 address_pools:
33 baremetal-pool01:
34 net: 10.109.0.0/16:24
35 params: {tag: 0}
36 fuelweb_admin-pool01:
37 net: 10.109.0.0/16:24
38 params: {tag: 0}
39 management-pool01:
40 net: 10.109.0.0/16:24
41 params: {tag: 0}
42 private-pool01:
43 net: 10.109.0.0/16:24
44 params: {tag: 103}
45 public-pool01:
46 net: 10.109.0.0/16:24
47 params: {tag: 0}
48 storage-pool01:
49 net: 10.109.0.0/16:24
50 params: {tag: 101}
51 aliases:
52 dynamic_address_pool:
53 - &pool_default !os_env POOL_DEFAULT, 10.109.0.0/16:24
54
55 rack-01-slave-interfaces: &rack-01-slave-interfaces
56 - label: eth0
57 l2_network_device: admin # Libvirt bridge name. It is *NOT* Nailgun networks
58 - label: eth1
59 l2_network_device: public
60 - label: eth2
61 l2_network_device: management
62 - label: eth3
63 l2_network_device: private
64 - label: eth4
65 l2_network_device: storage
66 - label: eth5
67 l2_network_device: ironic
68
69 rack-01-slave-network_config: &rack-01-slave-network_config
70 eth0:
71 networks:
72 - fuelweb_admin
73 eth1:
74 networks:
75 - public
76 eth2:
77 networks:
78 - management
79 eth3:
80 networks:
81 - private
82 eth4:
83 networks:
84 - storage
85 eth5:
86 networks:
87 - baremetal
88
89 rack-01-controller-node-params: &node-params
90 boot: [network, hd]
91 interfaces: *rack-01-slave-interfaces
92 memory: 4096
93 network_config: *rack-01-slave-network_config
94 vcpu: 2
95 volumes:
96 - {capacity: 55, format: qcow2, name: system}
97 - {capacity: 55, format: qcow2, name: cinder}
98 - {capacity: 55, format: qcow2, name: swift}
99
100 env_name: !os_env ENV_NAME
101 groups:
102 - driver:
103 name: devops.driver.libvirt.libvirt_driver
104 params: {connection_string: 'qemu:///system', hpet: false, storage_pool_name: default,
105 stp: true, use_host_cpu: true}
106 l2_network_devices:
107 admin:
108 address_pool: fuelweb_admin-pool01
109 dhcp: false
110 forward: {mode: nat}
111 ironic: {address_pool: baremetal-pool01, dhcp: false}
112 management: {address_pool: management-pool01, dhcp: false}
113 private: {address_pool: private-pool01, dhcp: false}
114 public:
115 address_pool: public-pool01
116 dhcp: false
117 forward: {mode: nat}
118 storage: {address_pool: storage-pool01, dhcp: false}
119 name: rack-01
120 network_pools: {baremetal: baremetal-pool01, fuelweb_admin: fuelweb_admin-pool01,
121 management: management-pool01, private: private-pool01, public: public-pool01,
122 storage: storage-pool01}
123 nodes:
124 - name: admin
125 params:
126 boot: [hd, cdrom]
127 interfaces:
128 - {l2_network_device: admin, label: eth0}
129 memory: 4096
130 network_config:
131 eth0:
132 networks: [fuelweb_admin]
133 vcpu: 1
134 volumes:
135 - {capacity: 80, format: qcow2, name: system}
136 - {bus: ide, device: cdrom, format: raw, name: iso, source_image: !os_env ISO_PATH}
137 role: fuel_master
138 - name: slave-01
139 params: *node-params
140 role: fuel_slave
141 - name: slave-02
142 params: *node-params
143 role: fuel_slave
144 - name: slave-03
145 params: *node-params
146 role: fuel_slave
147 - name: slave-04
148 params: *node-params
149 role: fuel_slave
150 - name: slave-05
151 params: *node-params
152 role: fuel_slave
153 name: 1 Controller, 1 Compute + Cinder, 3 Standalone, Neutron, VLAN
154 slaves: 5
155
156plugins:
157 - ldap:
158 config_file: !os_env LDAP_CONFIG_FILE, plugins_config/mld_proxy.yaml
159 - detach-rabbitmq: