Bases: nova.test.TestCase
Bases: nova.test.TestCase
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.
verify the exception thrown when there are no networks defined.
Verify that the correct exception is thrown when duplicate network ids are passed to validate_networks.
Bases: nova.test.TestCase