Bases: nova.test.TestCase
Bases: nova.test.TestCase
Allocate one port in one network env.
Allocate one port in two networks env.
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.
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 to deallocate in one port env.
Test to deallocate in two ports env.
Test to get one port in one network and subnet.
Test to get one port in each of two networks and subnets.
Test get instance_nw_info with networks passed in.
Test get instance_nw_info for a port without subnet.
Bases: nova.test.TestCase