Merge "Make sure networks returned from get_instance_nw_info have a label"
This commit is contained in:
@@ -61,6 +61,9 @@ class FakeQuantumClientConnection(object):
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
def get_network_name(self, tenant_id, net_id):
|
||||||
|
return self.nets[net_id]['net-name']
|
||||||
|
|
||||||
def _confirm_not_attached(self, interface_id):
|
def _confirm_not_attached(self, interface_id):
|
||||||
for n in self.nets.values():
|
for n in self.nets.values():
|
||||||
for p in n['ports'].values():
|
for p in n['ports'].values():
|
||||||
|
|||||||
Reference in New Issue
Block a user