VMware Compute Driver Networking
blueprint vmware-compute-driver VLAN & Quantum integration DocImpact Nova conf: [vmware] integration_bridge=Name of integration bridge, defaults to 'br-int' Change-Id: Ib56b8a49773b933be82de04576deb832ef89a0bd
This commit is contained in:
@@ -155,6 +155,12 @@ class VMwareAPIVMTestCase(test.TestCase):
|
|||||||
instances = self.conn.list_instances()
|
instances = self.conn.list_instances()
|
||||||
self.assertEquals(len(instances), 1)
|
self.assertEquals(len(instances), 1)
|
||||||
|
|
||||||
|
def test_list_interfaces(self):
|
||||||
|
self._create_vm()
|
||||||
|
interfaces = self.conn.list_interfaces(1)
|
||||||
|
self.assertEquals(len(interfaces), 1)
|
||||||
|
self.assertEquals(interfaces[0], 4000)
|
||||||
|
|
||||||
def test_spawn(self):
|
def test_spawn(self):
|
||||||
self._create_vm()
|
self._create_vm()
|
||||||
info = self.conn.get_info({'name': 1})
|
info = self.conn.get_info({'name': 1})
|
||||||
|
|||||||
Reference in New Issue
Block a user