Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str ClassDef bases NameLoad body Assign NameStore ListLoad Dict Str Str Str Str Str Str Str Str Str Str Num NameLoad NameLoad NameLoad Num AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Num NameLoad NameLoad NameLoad Num AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Num NameLoad NameLoad NameLoad Num AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Str NameLoad Assign NameStore ListLoad Call NameLoad keyword Str keyword Num Call NameLoad keyword Str keyword Num Call NameLoad keyword Str keyword Num Assign NameStore ListLoad Call NameLoad AttributeLoad NameLoad attr keyword Num keyword Str keyword Num Call NameLoad AttributeLoad NameLoad attr keyword Num keyword Str keyword Num Call NameLoad AttributeLoad NameLoad attr keyword Num keyword Str keyword Num FunctionDef arguments args NameParam NameParam NameParam defaults body Return ListLoad Call NameLoad keyword Str Call NameLoad keyword Str Call NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Raise Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Return Dict Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Raise Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Raise Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num Num body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad kwarg body Pass decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad Call NameLoad NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad NameLoad NameLoad BinOpMod Str NameLoad NameLoad Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad NameLoad NameLoad AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad NameLoad NameLoad BinOpMult NameLoad Num NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad BinOpMod Str NameLoad NameLoad NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str BinOpMod Str NameLoad Assign SubscriptStore NameLoad Index Str BinOpMod Str NameLoad Assign SubscriptStore NameLoad Index Str Str If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad Num BinOpMod Str NameLoad Call NameLoad NameLoad BinOpMod Str NameLoad NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body For NameStore Call NameLoad Num Num body Expr Yield NameLoad decorator_list FunctionDef arguments args defaults body For NameStore Call NameLoad Num Num body Expr Yield NameLoad decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Call NameLoad NameLoad Assign NameStore ListComp Call NameLoad Call NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad Return Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad BinOpMod Str TupleLoad NameLoad BinOpAdd NameLoad Num AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Num Call NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Return Dict Str Str Str Str Str NameLoad BinOpMod Str BinOpAdd NameLoad Num NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq NameLoad Str body Continue If CompareNotEq NameLoad SubscriptLoad NameLoad Index NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num Num body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Global identifier identifier identifier Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore ListLoad FunctionDef arguments args defaults vararg kwarg body Global identifier Assign NameStore ListComp Call NameLoad NameLoad NameLoad comprehension NameStore Call NameLoad Num BinOpAdd NameLoad Num comprehension NameStore Call NameLoad NameLoad Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Str Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Str Num Num NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num Num Num body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Return Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Lambda arguments args defaults vararg kwarg NameLoad decorator_list Assign NameStore Dict FunctionDef arguments args NameParam defaults body Global identifier Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args defaults vararg kwarg body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults vararg kwarg body Return Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Lambda arguments args defaults vararg kwarg NameLoad decorator_list FunctionDef arguments args NameParam defaults body Global identifier If NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Return Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Return Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Return Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args defaults body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Dict Str Str NameLoad Str If UnaryOpNot NameLoad body Assign SubscriptStore NameLoad Index Str Str If BoolOpAnd NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str ListComp Call NameLoad NameLoad keyword NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list Assign NameStore ListLoad Dict Str Str Str Str Num Dict Str Str Str Str Str Num Str ListLoad Dict Str Str Str ListLoad Call NameLoad Str If AttributeLoad NameLoad attr body Assign NameStore Str Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Index Str attr Dict Str Str Str ListLoad Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword Call NameLoad keyword SubscriptLoad NameLoad Index Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore NameLoad Assign SubscriptStore NameLoad Index Str NameLoad decorator_list If Call NameLoad NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Str Dict Str NameLoad Return TupleLoad NameLoad NameLoad decorator_list
N/A oslo_config cfg oslo_serialization jsonutils six.moves range nova.compute api compute_api nova.compute manager compute_manager N/A nova.context nova db nova exception nova.network manager network_manager nova.network model network_model nova.network rpcapi network_rpcapi nova objects nova.objects base obj_base nova.objects network network_obj nova.objects virtual_interface vif_obj nova.tests.unit.objects test_fixed_ip nova.tests.unit.objects test_instance_info_cache nova.tests.unit.objects test_pci_device nova.tests uuidsentinel uuids N/A HOST testhost N/A CONF N/A cfg CONF N/A N/A N/A CONF import_opt use_ipv6 nova.netconf FakeModel N/A dict N/A N/A Represent a model from the db. __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A self update kwargs N/A N/A FakeNetworkManager N/A N/A network_manager NetworkManager N/A N/A This NetworkManager doesn't call the base class so we can bypass all
    inherited service cruft and just perform unit tests.
     FakeDB N/A object N/A N/A vifs N/A N/A id created_at updated_at deleted_at deleted instance_uuid network_id uuid address tag 0 None None None 0 N/A uuids instance_1 1 N/A uuids vifs_1 DC:AD:BE:FF:EF:01 fake-tag1 N/A id created_at updated_at deleted_at deleted instance_uuid network_id uuid address tag 1 None None None 0 N/A uuids instance_2 21 N/A uuids vifs_2 DC:AD:BE:FF:EF:02 fake-tag2 N/A id created_at updated_at deleted_at deleted instance_uuid network_id uuid address tag 2 None None None 0 N/A uuids instance_1 31 N/A uuids vifs_3 DC:AD:BE:FF:EF:03 None N/A floating_ips N/A N/A dict address 172.16.1.1 fixed_ip_id 100 N/A dict address 172.16.1.2 fixed_ip_id 200 N/A dict address 173.16.1.2 fixed_ip_id 210 N/A fixed_ips N/A N/A dict N/A test_fixed_ip fake_fixed_ip id 100 address 172.16.0.1 virtual_interface_id 0 N/A dict N/A test_fixed_ip fake_fixed_ip id 200 address 172.16.0.2 virtual_interface_id 1 N/A dict N/A test_fixed_ip fake_fixed_ip id 210 address 173.16.0.2 virtual_interface_id 2 fixed_ip_get_by_instance N/A N/A self context instance_uuid N/A N/A N/A N/A N/A dict address 10.0.0.0 N/A dict address 10.0.0.1 N/A dict address 10.0.0.2 N/A network_get_by_cidr N/A N/A self context cidr N/A N/A N/A N/A N/A exception NetworkNotFoundForCidr cidr cidr N/A network_create_safe N/A N/A self context net N/A N/A N/A fakenet N/A dict net N/A N/A fakenet N/A id 999 N/A fakenet N/A network_get N/A N/A self context network_id project_only N/A allow_none N/A N/A N/A cidr_v6 N/A 2001:db8:69:%x::/64 network_id N/A network_get_by_uuid N/A N/A self context network_uuid N/A N/A N/A N/A N/A exception NetworkNotFoundForUUID uuid network_uuid N/A network_get_all N/A N/A self context N/A N/A N/A N/A N/A exception NoNetworksFound N/A network_get_all_by_uuids N/A N/A self context project_only N/A allow_none N/A N/A N/A N/A exception NoNetworksFound N/A network_disassociate N/A N/A self context network_id N/A N/A N/A True N/A virtual_interface_get_all N/A N/A self context N/A N/A N/A N/A self vifs N/A fixed_ips_by_virtual_interface N/A N/A self context vif_id N/A N/A N/A N/A ip N/A ip N/A self fixed_ips N/A N/A ip N/A virtual_interface_id vif_id N/A fixed_ip_disassociate N/A N/A self context address N/A N/A N/A True N/A N/A __init__ N/A N/A self stubs N/A None N/A N/A N/A self db N/A N/A self FakeDB N/A stubs N/A N/A N/A N/A stubs Set vif_obj db N/A self db N/A N/A self deallocate_called None N/A N/A self deallocate_fixed_ip_calls N/A N/A N/A self network_rpcapi N/A N/A network_rpcapi NetworkAPI N/A deallocate_fixed_ip N/A N/A self context address host instance N/A None None None N/A N/A N/A N/A N/A self deallocate_fixed_ip_calls append N/A context address host N/A N/A self deallocate_called address N/A _create_fixed_ips N/A N/A self context network_id fixed_cidr extra_reserved bottom_reserved top_reserved N/A None None 0 0 N/A N/A N/A get_instance_nw_info N/A N/A context instance_id rxtx_factor host instance_uuid N/A None kwargs N/A N/A N/A N/A fake_network N/A N/A network_id ipv6 N/A None N/A N/A N/A ipv6 None N/A N/A ipv6 N/A CONF use_ipv6 N/A fake_network N/A id uuid label injected multi_host cidr cidr_v6 netmask netmask_v6 bridge bridge_interface gateway gateway_v6 broadcast dns1 dns2 dns3 vlan host project_id vpn_public_address vpn_public_port vpn_private_address dhcp_start rxtx_base priority deleted created_at updated_at deleted_at mtu dhcp_server enable_dhcp share_address network_id N/A getattr uuids N/A network%i network_id N/A test%d network_id False False N/A 192.168.%d.0/24 network_id None 255.255.255.0 None N/A fake_br%d network_id N/A fake_eth%d network_id N/A 192.168.%d.1 network_id None N/A 192.168.%d.255 network_id N/A 192.168.%d.3 network_id N/A 192.168.%d.4 network_id N/A 192.168.%d.3 network_id None None N/A uuids project N/A 192.168.%d.2 network_id None None None N/A network_id 10 None False None None None None N/A 192.168.%d.1 network_id True False N/A ipv6 N/A N/A N/A fake_network N/A cidr_v6 N/A 2001:db8:0:%x::/64 network_id N/A N/A fake_network N/A gateway_v6 N/A 2001:db8:0:%x::1 network_id N/A N/A fake_network N/A netmask_v6 64 N/A N/A CONF flat_injected N/A N/A N/A fake_network N/A injected True N/A fake_network N/A fake_network_obj N/A N/A context network_id ipv6 N/A 1 None N/A N/A N/A N/A N/A network_obj Network _from_db_object context N/A N/A network_obj Network N/A fake_network network_id ipv6 N/A fake_vif N/A N/A x N/A N/A N/A N/A id created_at updated_at deleted_at deleted address uuid network_id instance_uuid tag x None None None 0 N/A DE:AD:BE:EF:00:%02x x N/A getattr uuids N/A vif%i x x N/A uuids vifs_1 fake-tag N/A floating_ip_ids N/A N/A N/A N/A N/A i N/A range 1 100 N/A N/A N/A i N/A fixed_ip_ids N/A N/A N/A N/A N/A i N/A range 1 100 N/A N/A N/A i N/A N/A floating_ip_id N/A floating_ip_ids N/A fixed_ip_id N/A fixed_ip_ids next_fixed_ip N/A N/A network_id num_floating_ips N/A 0 N/A N/A next_id N/A next fixed_ip_id N/A f_ips N/A N/A FakeModel N/A next_floating_ip next_id N/A i N/A range num_floating_ips N/A N/A id network_id address instance_uuid allocated reserved created_at updated_at deleted_at leased host deleted network virtual_interface virtual_interface_id floating_ips next_id network_id N/A 192.168.%d.%03d N/A network_id N/A next_id 99 N/A uuids fixed_ip False False None None None True HOST 0 N/A fake_network network_id N/A fake_vif network_id network_id f_ips N/A next_floating_ip N/A N/A fixed_ip_id N/A N/A N/A next_id N/A next floating_ip_id N/A N/A id address fixed_ip_id project_id auto_assigned next_id N/A 10.10.10.%03d N/A next_id 99 fixed_ip_id None False N/A ipv4_like N/A N/A ip match_string N/A N/A N/A ip N/A N/A ip split . N/A match_octets N/A N/A match_string split . N/A N/A i octet N/A enumerate match_octets N/A N/A N/A octet * N/A N/A N/A N/A octet N/A ip N/A i N/A N/A False N/A True N/A fake_get_instance_nw_info N/A N/A test num_networks ips_per_vif floating_ips_per_fixed_ip N/A 1 2 0 N/A N/A network N/A N/A network_manager FlatManager host HOST N/A N/A network db db N/A floating_ip_id fixed_ip_id fixed_ips N/A floating_ip_id N/A floating_ip_ids N/A fixed_ip_id N/A fixed_ip_ids N/A fixed_ips N/A fixed_ips_fake N/A N/A N/A args kwargs N/A N/A fixed_ips N/A ips N/A N/A next_fixed_ip i floating_ips_per_fixed_ip N/A i N/A range 1 N/A num_networks 1 N/A j N/A range ips_per_vif N/A fixed_ips ips N/A ips N/A update_cache_fake N/A N/A N/A args kwargs N/A N/A fake_info_cache N/A created_at updated_at deleted_at deleted instance_uuid network_info None None None False N/A uuids vifs_1 [] N/A fake_info_cache N/A N/A N/A N/A test stub_out nova.db.fixed_ip_get_by_instance fixed_ips_fake N/A N/A N/A test stub_out nova.db.instance_info_cache_update update_cache_fake FakeContext N/A N/A N/A nova context RequestContext N/A is_admin N/A N/A self N/A N/A N/A True N/A N/A N/A nw_model N/A N/A network get_instance_nw_info N/A FakeContext fakeuser fake_project 0 3 None N/A nw_model N/A stub_out_nw_api_get_instance_nw_info N/A N/A test func num_networks ips_per_vif floating_ips_per_fixed_ip N/A None 1 1 0 N/A get_instance_nw_info N/A N/A self context instance conductor_api N/A None N/A N/A N/A fake_get_instance_nw_info test num_networks num_networks ips_per_vif ips_per_vif floating_ips_per_fixed_ip floating_ips_per_fixed_ip N/A N/A N/A func None N/A N/A func get_instance_nw_info N/A N/A N/A test stub_out nova.network.api.API.get_instance_nw_info func N/A stub_out_network_cleanup N/A N/A test N/A N/A N/A N/A N/A test stub_out nova.network.api.API.deallocate_for_instance N/A N/A N/A N/A args kwargs None N/A N/A _real_functions N/A set_stub_network_methods N/A N/A test N/A N/A N/A _real_functions N/A cm N/A compute_manager ComputeManager N/A N/A _real_functions N/A N/A _real_functions N/A _allocate_network _deallocate_network N/A cm _allocate_network N/A cm _deallocate_network fake_networkinfo N/A N/A N/A args kwargs N/A N/A N/A N/A network_model NetworkInfo N/A fake_async_networkinfo N/A N/A N/A args kwargs N/A N/A N/A N/A network_model NetworkInfoAsyncWrapper fake_networkinfo N/A N/A N/A N/A test stub_out nova.compute.manager.ComputeManager._allocate_network fake_async_networkinfo N/A N/A N/A test stub_out nova.compute.manager.ComputeManager._deallocate_network N/A N/A N/A N/A args kwargs None N/A unset_stub_network_methods N/A N/A test N/A N/A N/A _real_functions N/A _real_functions N/A N/A name _real_functions N/A N/A N/A N/A test stub_out N/A nova.compute.manager.ComputeManager. name N/A _real_functions N/A name N/A stub_compute_with_ips N/A N/A stubs N/A N/A N/A orig_get N/A N/A compute_api API get N/A orig_get_all N/A N/A compute_api API get_all N/A orig_create N/A N/A compute_api API create fake_get N/A N/A N/A args kwargs N/A N/A N/A _get_instances_with_cached_ips orig_get args kwargs N/A fake_get_all N/A N/A N/A args kwargs N/A N/A N/A _get_instances_with_cached_ips orig_get_all args kwargs N/A fake_create N/A N/A N/A args kwargs N/A N/A N/A _create_instances_with_cached_ips orig_create args kwargs N/A fake_pci_device_get_by_addr N/A N/A context node_id dev_addr N/A N/A N/A N/A test_pci_device fake_db_dev N/A N/A N/A N/A stubs Set db pci_device_get_by_addr fake_pci_device_get_by_addr N/A N/A N/A stubs Set N/A compute_api API get fake_get N/A N/A N/A stubs Set N/A compute_api API get_all fake_get_all N/A N/A N/A stubs Set N/A compute_api API create fake_create N/A _get_fake_cache N/A N/A N/A N/A _ip N/A N/A ip fixed floats N/A True None N/A N/A ip_dict N/A address type ip fixed N/A N/A fixed N/A N/A N/A ip_dict N/A type floating N/A N/A fixed floats N/A N/A N/A ip_dict N/A floating_ips N/A N/A _ip f fixed False N/A f floats N/A ip_dict N/A N/A info N/A N/A address id network aa:bb:cc:dd:ee:ff 1 N/A bridge id label subnets br0 1 private N/A N/A cidr ips 192.168.0.0/24 N/A N/A _ip 192.168.0.3 N/A N/A CONF use_ipv6 N/A N/A ipv6_addr fe80:b33f::a8bb:ccff:fedd:eeff N/A N/A N/A N/A N/A N/A info N/A 0 N/A network N/A subnets append N/A cidr ips fe80:b33f::/64 N/A N/A _ip ipv6_addr N/A N/A N/A jsonutils dumps info N/A _get_instances_with_cached_ips N/A N/A orig_func N/A args kwargs N/A N/A Kludge the cache into instance(s) without having to create DB
    entries
     N/A instances N/A orig_func args kwargs N/A context N/A args N/A 0 N/A fake_device N/A N/A N/A objects PciDevice get_by_dev_addr context 1 a _info_cache_for N/A N/A instance N/A N/A N/A info_cache N/A dict N/A test_instance_info_cache fake_info_cache network_info N/A _get_fake_cache instance_uuid N/A instance N/A uuid N/A N/A isinstance instance N/A obj_base NovaObject N/A N/A _info_cache N/A N/A objects InstanceInfoCache context N/A N/A N/A N/A objects InstanceInfoCache _from_db_object context _info_cache info_cache N/A info_cache _info_cache N/A N/A instance N/A info_cache info_cache N/A N/A N/A isinstance instances N/A list N/A obj_base ObjectListBase N/A N/A instance instances N/A N/A N/A _info_cache_for instance N/A N/A N/A fake_device claim instance N/A N/A N/A fake_device allocate instance N/A N/A N/A _info_cache_for instances N/A N/A N/A fake_device claim instances N/A N/A N/A fake_device allocate instances N/A instances N/A _create_instances_with_cached_ips N/A N/A orig_func N/A args kwargs N/A N/A Kludge the above kludge so that the database doesn't get out
    of sync with the actual instance.
     N/A N/A instances reservation_id N/A orig_func args kwargs N/A fake_cache N/A _get_fake_cache N/A instance instances N/A N/A N/A N/A instance N/A info_cache N/A network_info fake_cache N/A N/A N/A db instance_info_cache_update N/A args N/A 1 N/A instance N/A uuid N/A network_info fake_cache N/A N/A instances reservation_id N/A