Update is_default field only when specified in the request
Closes-bug: 1670524 Change-Id: Ie46fe7126693bcf6732332a479f4b2609c402c5d
This commit is contained in:
@@ -54,6 +54,9 @@ class TestAutoAllocatedTopology(base.BaseAdminNetworkTest):
|
||||
# Ensure the public external network is the default external network
|
||||
public_net_id = cfg.CONF.network.public_network_id
|
||||
cls.admin_client.update_network(public_net_id, is_default=True)
|
||||
# Ensure that is_default does not accidentally flip back to False
|
||||
# because of network_update requests that do not contain is_default.
|
||||
cls.admin_client.update_network(public_net_id, description="gman")
|
||||
|
||||
def _count_topology_resources(self):
|
||||
'''Count the resources whose names begin with 'auto_allocated_'.'''
|
||||
|
||||
Reference in New Issue
Block a user