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:
Sean Chen
2013-01-10 15:12:47 -08:00
parent 8c21a1f377
commit fe0feb04ea

View File

@@ -155,6 +155,12 @@ class VMwareAPIVMTestCase(test.TestCase):
instances = self.conn.list_instances()
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):
self._create_vm()
info = self.conn.get_info({'name': 1})