Initiate public_network_name to None
Otherwise, if no network is found, public_network_name won't be defined and an exception will be raised. Change-Id: Ida6a232b2b67e50706cfa7cd75372ff3f2f9e9f9
This commit is contained in:
@@ -670,6 +670,7 @@ def find_or_upload_image(client, image_id, image_name, allow_creation,
|
||||
|
||||
def create_tempest_networks(clients, conf, has_neutron, public_network_id):
|
||||
label = None
|
||||
public_network_name = None
|
||||
# TODO(tkammer): separate logic to different func of Nova network
|
||||
# vs Neutron
|
||||
if has_neutron:
|
||||
|
||||
Reference in New Issue
Block a user