From 0d4c9c9fa37c6f47523359044e5f65629321ff6d Mon Sep 17 00:00:00 2001 From: Attila Fazekas Date: Mon, 10 Sep 2018 15:52:46 -0600 Subject: [PATCH] Have lib/tempest to create shared network 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 --- lib/tempest | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/tempest b/lib/tempest index fba8826a2d..84177e82f2 100644 --- a/lib/tempest +++ b/lib/tempest @@ -242,6 +242,9 @@ function configure_tempest { # and the public_network_id should not be set. if [[ "$NEUTRON_CREATE_INITIAL_NETWORKS" == "True" ]] && is_networking_extension_supported 'external-net'; then public_network_id=$(openstack network show -f value -c id $PUBLIC_NETWORK_NAME) + # make sure shared network presence does not confuses the tempest tests + openstack network create --share shared + openstack subnet create --description shared-subnet --subnet-range ${TEMPEST_SHARED_POOL:-192.168.233.0/24} --network shared shared-subnet fi iniset $TEMPEST_CONFIG DEFAULT use_syslog $SYSLOG