Merge "Make sure networks returned from get_instance_nw_info have a label"

This commit is contained in:
Jenkins
2011-10-31 18:39:18 +00:00
committed by Gerrit Code Review

View File

@@ -61,6 +61,9 @@ class FakeQuantumClientConnection(object):
except KeyError:
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):
for n in self.nets.values():
for p in n['ports'].values():