The nova.tests.api.openstack.compute.contrib.test_networks Module

class FakeNetworkAPI

Bases: object

add_network_to_project(context, project_id, network_uuid=None)
associate(context, network_uuid, host=<object object at 0x142564b0>, project=<object object at 0x142564b0>)
create(context, **kwargs)
delete(context, network_id)
disable_vlan()
disassociate(context, network_uuid)
get(context, network_id)
get_all(context)
class NetworksTest(*args, **kwargs)

Bases: nova.test.TestCase

static network_uuid_to_id(network)
setUp()
test_network_add()
test_network_add_vlan_disabled()
test_network_associate_with_host()
test_network_create()
test_network_create_large()
test_network_delete()
test_network_delete_not_found()
test_network_disassociate()
test_network_disassociate_host_only()
test_network_disassociate_not_found()
test_network_disassociate_project_only()
test_network_get_as_admin()
test_network_get_as_user()
test_network_get_not_found()
test_network_list_all_as_admin()
test_network_list_all_as_user()

Previous topic

The nova.tests.api.openstack.compute.contrib.test_multinic_xs Module

Next topic

The nova.tests.api.openstack.compute.contrib.test_quantum_security_groups Module

This Page