In order to make sure not possible to introduce a change in tempest
which breaks the shared network compatibility.
Depends-On: I6e3e53c4ac26b4fef09fefb9c590dfa91f577565
Change-Id: Ib2e7096175c991acf35de04e840ac188752d3c17
| ... | ... |
@@ -242,6 +242,9 @@ function configure_tempest {
|
| 242 | 242 |
# and the public_network_id should not be set. |
| 243 | 243 |
if [[ "$NEUTRON_CREATE_INITIAL_NETWORKS" == "True" ]] && is_networking_extension_supported 'external-net'; then |
| 244 | 244 |
public_network_id=$(openstack network show -f value -c id $PUBLIC_NETWORK_NAME) |
| 245 |
+ # make sure shared network presence does not confuses the tempest tests |
|
| 246 |
+ openstack network create --share shared |
|
| 247 |
+ openstack subnet create --description shared-subnet --subnet-range ${TEMPEST_SHARED_POOL:-192.168.233.0/24} --network shared shared-subnet
|
|
| 245 | 248 |
fi |
| 246 | 249 |
|
| 247 | 250 |
iniset $TEMPEST_CONFIG DEFAULT use_syslog $SYSLOG |