tests: make all subnet uniq per scenario

If two environments are using the same subnet, we will get trouble
because of ips addresses conflicts.
This commit ensures each scenario has a uniq subnet for both public and cluster
network so we can setup several test environment at a time on a same hypervisor.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/1957/head
Guillaume Abrioux 2017-09-28 14:14:38 +02:00
parent 8f75eac6f4
commit 6aa7050acd
21 changed files with 42 additions and 42 deletions

View File

@ -5,8 +5,8 @@ ceph_repository: community
cluster: test
monitor_interface: eth1
radosgw_interface: eth1
public_network: "192.168.1.0/24"
cluster_network: "192.168.2.0/24"
public_network: "192.168.35.0/24"
cluster_network: "192.168.36.0/24"
journal_size: 100
osd_objectstore: "bluestore"
devices:

View File

@ -1,7 +1,7 @@
[mons]
mon0 monitor_address=192.168.1.10
mon0 monitor_address=192.168.35.10
mon1 monitor_interface=eth1
mon2 monitor_address=192.168.1.12
mon2 monitor_address=192.168.35.12
[mgrs]
mon0

View File

@ -22,8 +22,8 @@ restapi: true
ceph_install_source: stable
# SUBNETS TO USE FOR THE VMS
public_subnet: 192.168.1
cluster_subnet: 192.168.2
public_subnet: 192.168.35
cluster_subnet: 192.168.36
# MEMORY
# set 1024 for CentOS

View File

@ -2,8 +2,8 @@
ceph_origin: repository
ceph_repository: community
public_network: "192.168.11.0/24"
cluster_network: "192.168.12.0/24"
public_network: "192.168.21.0/24"
cluster_network: "192.168.22.0/24"
journal_size: 100
monitor_interface: eth1
radosgw_interface: eth1

View File

@ -22,8 +22,8 @@ restapi: true
ceph_install_source: stable
# SUBNETS TO USE FOR THE VMS
public_subnet: 192.168.11
cluster_subnet: 192.168.12
public_subnet: 192.168.21
cluster_subnet: 192.168.22
# MEMORY
# set 1024 for CentOS

View File

@ -2,8 +2,8 @@
ceph_origin: repository
ceph_repository: community
public_network: "192.168.13.0/24"
cluster_network: "192.168.14.0/24"
public_network: "192.168.25.0/24"
cluster_network: "192.168.26.0/24"
journal_size: 100
monitor_interface: eth1
radosgw_interface: eth1

View File

@ -22,8 +22,8 @@ restapi: true
ceph_install_source: stable
# SUBNETS TO USE FOR THE VMS
public_subnet: 192.168.13
cluster_subnet: 192.168.14
public_subnet: 192.168.25
cluster_subnet: 192.168.26
# MEMORY
# set 1024 for CentOS

View File

@ -10,8 +10,8 @@ radosgw_interface: eth1
ceph_mon_docker_subnet: "{{ public_network }}"
journal_size: 100
ceph_docker_on_openstack: False
public_network: "192.168.15.0/24"
cluster_network: "192.168.16.0/24"
public_network: "192.168.27.0/24"
cluster_network: "192.168.28.0/24"
osd_scenario: collocated
osd_objectstore: filestore
dmcrypt: true

View File

@ -18,8 +18,8 @@ mgr_vms: 0
restapi: true
# SUBNETS TO USE FOR THE VMS
public_subnet: 192.168.15
cluster_subnet: 192.168.16
public_subnet: 192.168.27
cluster_subnet: 192.168.28
# MEMORY
# set 1024 for CentOS

View File

@ -10,8 +10,8 @@ radosgw_interface: eth1
ceph_mon_docker_subnet: "{{ public_network }}"
journal_size: 100
ceph_docker_on_openstack: False
public_network: "192.168.15.0/24"
cluster_network: "192.168.16.0/24"
public_network: "192.168.29.0/24"
cluster_network: "192.168.30.0/24"
ceph_rgw_civetweb_port: 8080
osd_objectstore: filestore
osd_scenario: non-collocated

View File

@ -18,8 +18,8 @@ mgr_vms: 0
restapi: true
# SUBNETS TO USE FOR THE VMS
public_subnet: 192.168.15
cluster_subnet: 192.168.16
public_subnet: 192.168.29
cluster_subnet: 192.168.30
# MEMORY
# set 1024 for CentOS

View File

@ -10,8 +10,8 @@ radosgw_interface: eth1
ceph_mon_docker_subnet: "{{ public_network }}"
journal_size: 100
ceph_docker_on_openstack: False
public_network: "192.168.15.0/24"
cluster_network: "192.168.16.0/24"
public_network: "192.168.17.0/24"
cluster_network: "192.168.18.0/24"
osd_scenario: collocated
ceph_rgw_civetweb_port: 8080
osd_objectstore: filestore

View File

@ -18,8 +18,8 @@ mgr_vms: 1
restapi: true
# SUBNETS TO USE FOR THE VMS
public_subnet: 192.168.15
cluster_subnet: 192.168.16
public_subnet: 192.168.17
cluster_subnet: 192.168.18
# MEMORY
# set 1024 for CentOS

View File

@ -3,8 +3,8 @@
ceph_origin: repository
ceph_repository: community
cluster: test
public_network: "192.168.3.0/24"
cluster_network: "192.168.4.0/24"
public_network: "192.168.37.0/24"
cluster_network: "192.168.38.0/24"
monitor_interface: eth1
radosgw_interface: eth1
journal_size: 100

View File

@ -22,8 +22,8 @@ restapi: true
ceph_install_source: stable
# SUBNETS TO USE FOR THE VMS
public_subnet: 192.168.3
cluster_subnet: 192.168.4
public_subnet: 192.168.37
cluster_subnet: 192.168.38
# MEMORY
# set 1024 for CentOS

View File

@ -3,8 +3,8 @@
ceph_origin: repository
ceph_repository: community
cluster: test
public_network: "192.168.3.0/24"
cluster_network: "192.168.4.0/24"
public_network: "192.168.33.0/24"
cluster_network: "192.168.34.0/24"
monitor_interface: eth1
radosgw_interface: eth1
journal_size: 100

View File

@ -22,8 +22,8 @@ restapi: true
ceph_install_source: stable
# SUBNETS TO USE FOR THE VMS
public_subnet: 192.168.3
cluster_subnet: 192.168.4
public_subnet: 192.168.33
cluster_subnet: 192.168.34
# MEMORY
# set 1024 for CentOS

View File

@ -3,8 +3,8 @@
ceph_origin: repository
ceph_repository: community
cluster: test
public_network: "192.168.3.0/24"
cluster_network: "192.168.4.0/24"
public_network: "192.168.31.0/24"
cluster_network: "192.168.32.0/24"
monitor_interface: eth1
radosgw_interface: eth1
journal_size: 100

View File

@ -22,8 +22,8 @@ restapi: true
ceph_install_source: stable
# SUBNETS TO USE FOR THE VMS
public_subnet: 192.168.3
cluster_subnet: 192.168.4
public_subnet: 192.168.31
cluster_subnet: 192.168.32
# MEMORY
# set 1024 for CentOS

View File

@ -3,8 +3,8 @@
ceph_origin: repository
ceph_repository: community
cluster: ceph
public_network: "192.168.3.0/24"
cluster_network: "192.168.4.0/24"
public_network: "192.168.39.0/24"
cluster_network: "192.168.40.0/24"
monitor_interface: eth1
radosgw_interface: eth1
journal_size: 100

View File

@ -22,8 +22,8 @@ restapi: true
ceph_install_source: stable
# SUBNETS TO USE FOR THE VMS
public_subnet: 192.168.3
cluster_subnet: 192.168.4
public_subnet: 192.168.39
cluster_subnet: 192.168.40
# MEMORY
# set 1024 for CentOS