The nova.tests.network.test_quantumv2 Module

class MyComparator(lhs)

Bases: mox.Comparator

equals(rhs)
class TestQuantumClient(methodName='runTest')

Bases: nova.test.TestCase

setUp()
test_withouttoken_keystone_connection_error()
test_withouttoken_keystone_not_auth()
test_withtoken()
class TestQuantumv2(methodName='runTest')

Bases: nova.test.TestCase

setUp()
tearDown()
test_allocate_for_instance_1()

Allocate one port in one network env.

test_allocate_for_instance_2()

Allocate one port in two networks env.

test_allocate_for_instance_ex1()

verify we will delete created ports if we fail to allocate all net resources.

Mox to raise exception when creating a second port. In this case, the code should delete the first created port.

test_allocate_for_instance_ex2()

verify we have no port to delete if we fail to allocate the first net resource.

Mox to raise exception when creating the first port. In this case, the code should not delete any ports.

test_allocate_for_instance_with_requested_networks()
test_allocate_for_instance_with_requested_networks_with_fixedip()
test_allocate_for_instance_with_requested_networks_with_port()
test_deallocate_for_instance_1()

Test to deallocate in one port env.

test_deallocate_for_instance_2()

Test to deallocate in two ports env.

test_get_instance_nw_info_1()

Test to get one port in one network and subnet.

test_get_instance_nw_info_2()

Test to get one port in each of two networks and subnets.

test_get_instance_nw_info_with_nets()

Test get instance_nw_info with networks passed in.

test_get_instance_uuids_by_ip_filter()
test_validate_networks()
test_validate_networks_ex_1()
test_validate_networks_ex_2()

Previous topic

The nova.tests.network.test_network_info Module

Next topic

The nova.tests.runtime_flags Module

This Page