The nova.tests.test_libvirt_vif Module

class LibvirtVifTestCase(methodName='runTest')

Bases: nova.test.TestCase

instance = {'name': 'instance-name', 'uuid': 'instance-uuid'}
mapping = {'ips': [{'ip': '101.168.1.9'}], 'mac': 'ca:fe:de:ad:be:ef', 'gateway_v6': '101:1db9::1', 'dhcp_server': '191.168.1.1', 'vif_uuid': 'vif-xxx-yyy-zzz'}
net = {'bridge': 'br0', 'bridge_interface': 'eth0', 'vlan': 99, 'broadcast': '101.168.1.255', 'netmask': '255.255.255.0', 'cidr': '101.168.1.0/24', 'cidr_v6': '101:1db9::/64', 'dns1': '8.8.8.8', 'gateway': '101.168.1.1', 'gateway_v6': '101:1db9::1', 'netmask_v6': '64'}
setUp()
test_bridge_driver()
test_ovs_ethernet_driver()
test_ovs_virtualport_driver()
test_quantum_bridge_ethernet_driver()
test_quantum_hybrid_driver()

Previous topic

The nova.tests.test_libvirt_config Module

Next topic

The nova.tests.test_metadata Module

This Page