Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Dict Str Str Str Str Str NameLoad Str AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Dict Str Dict Str Str Str Str Str Str Str Dict Str Str Str Str If NameLoad body Delete SubscriptDel SubscriptLoad NameLoad Index Str Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr SubscriptLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad attr Index Str orelse Expr SubscriptLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Pass decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Dict Str Str Str Num Str Dict Str Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad attr NameLoad Assign NameStore Dict Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Assign NameStore Dict Str NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Dict Str Str AttributeLoad NameLoad attr Str Assign NameStore Dict Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str Num Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Dict Str AttributeLoad NameLoad attr FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad Dict Str Str Str Str Str NameLoad NameLoad NameLoad Str NameLoad Assign AttributeStore NameLoad attr Dict Str NameLoad FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str Str Assign NameStore Dict Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str TupleLoad BinOpMult Str Num Assign NameStore Dict Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str TupleLoad Str Assign NameStore Dict Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Str Str NameLoad Str Str Str Assign NameStore Dict Str NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Str Str AttributeLoad NameLoad attr Str Dict Str Str Str Str AttributeLoad NameLoad attr NameLoad Dict Str Str Str Str AttributeLoad NameLoad attr Str Dict Str Str Str Str AttributeLoad NameLoad attr NameLoad Dict Str Str Str Str AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Dict Str Str Str Str AttributeLoad NameLoad attr NameLoad Dict Str Str Str Str AttributeLoad NameLoad attr NameLoad Dict Str Str Str Str AttributeLoad NameLoad attr NameLoad Dict Str Str Str Str AttributeLoad NameLoad attr NameLoad Dict Str Str Str Str AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Pass decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore ListLoad Dict Str Str Str Str AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Pass decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Dict keyword NameLoad Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore ListLoad Dict Str Str Assign NameStore ListLoad Dict Str Str Str Str Assign NameStore Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Assign NameStore Dict Str NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Return Call NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Dict Str Str Str Str AttributeLoad NameLoad attr Num Assign NameStore NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Pass decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Dict keyword NameLoad Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list decorator_list
N/A N/A mock mox3 mox oslo_config cfg oslo_serialization jsonutils webob exc nova.api.openstack.compute block_device_mapping_v1 block_device_mapping nova.api.openstack.compute extension_info nova.api.openstack.compute.legacy_v2 extensions nova.api.openstack.compute.legacy_v2 servers servers_v2 nova.api.openstack.compute servers servers_v21 nova.compute api compute_api nova exception nova test nova.tests.unit.api.openstack fakes nova.tests.unit.image fake N/A CONF N/A cfg CONF BlockDeviceMappingTestV21 N/A N/A test TestCase N/A N/A validation_error N/A exception ValidationError _setup_controller N/A N/A self N/A N/A N/A ext_info N/A N/A extension_info LoadedExtensionInfo N/A N/A N/A CONF set_override extensions_blacklist os-block-device-mapping osapi_v21 N/A N/A self controller N/A N/A servers_v21 ServersController extension_info ext_info N/A N/A N/A CONF set_override extensions_blacklist N/A os-block-device-mapping-v1 os-block-device-mapping osapi_v21 N/A N/A self no_volumes_controller N/A N/A servers_v21 ServersController extension_info ext_info N/A N/A N/A CONF set_override extensions_blacklist osapi_v21 N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super BlockDeviceMappingTestV21 self setUp N/A N/A N/A self _setup_controller N/A N/A N/A fake stub_out_image_service self N/A N/A self volume_id N/A fakes FAKE_UUID N/A N/A self bdm N/A N/A no_device virtual_name volume_id device_name delete_on_termination None root N/A self volume_id vda False N/A _get_servers_body N/A N/A self no_image N/A False N/A N/A body N/A server N/A name imageRef flavorRef metadata server_test 76fa36fc-c930-4bf3-8c8a-ea2a2420deb6 http://localhost/123/flavors/3 N/A hello open world stack N/A no_image N/A N/A N/A N/A body N/A server N/A imageRef N/A body N/A _test_create N/A N/A self params no_image override_controller N/A False None N/A N/A body N/A N/A self _get_servers_body no_image N/A N/A N/A N/A body N/A server update params N/A req N/A N/A N/A fakes HTTPRequest blank /v2/fake/servers N/A N/A req method POST N/A N/A N/A req headers N/A content-type application/json N/A N/A req body N/A N/A jsonutils dump_as_bytes body N/A override_controller N/A N/A N/A N/A N/A N/A override_controller create req body body obj N/A server N/A N/A N/A N/A N/A N/A N/A self controller create req body body obj N/A server N/A test_create_instance_with_volumes_enabled N/A N/A self N/A N/A N/A params N/A block_device_mapping N/A self bdm N/A old_create N/A N/A compute_api API create create N/A N/A N/A args kwargs N/A N/A N/A N/A self assertEqual N/A kwargs N/A block_device_mapping N/A self bdm N/A N/A old_create args kwargs N/A _validate_bdm N/A N/A N/A args kwargs N/A N/A N/A N/A N/A N/A N/A self stubs Set N/A compute_api API create create N/A N/A N/A N/A self stubs Set N/A compute_api API _validate_bdm _validate_bdm N/A N/A N/A self _test_create params N/A test_create_instance_with_volumes_enabled_and_bdms_no_image N/A N/A self N/A N/A N/A Test that the create works if there is no image supplied but
        os-volumes extension is enabled and bdms are supplied
         N/A N/A N/A N/A self mox StubOutWithMock N/A compute_api API _validate_bdm N/A N/A N/A N/A self mox StubOutWithMock N/A compute_api API _get_bdm_image_metadata N/A volume N/A id status volume_image_metadata 1 active N/A test_key test_value N/A N/A N/A N/A N/A N/A compute_api API _validate_bdm N/A N/A mox IgnoreArg N/A N/A mox IgnoreArg N/A N/A mox IgnoreArg N/A N/A mox IgnoreArg AndReturn True N/A N/A N/A N/A N/A N/A compute_api API _get_bdm_image_metadata N/A N/A mox IgnoreArg N/A self bdm True AndReturn volume N/A params N/A block_device_mapping N/A self bdm N/A old_create N/A N/A compute_api API create create N/A N/A N/A args kwargs N/A N/A N/A N/A self assertEqual N/A kwargs N/A block_device_mapping N/A self bdm N/A N/A N/A self assertNotIn imageRef kwargs N/A N/A old_create args kwargs N/A N/A N/A N/A N/A self stubs Set N/A compute_api API create create N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A self _test_create params no_image True N/A test_create_instance_with_volumes_disabled N/A N/A self N/A N/A N/A bdm N/A N/A device_name foo N/A params N/A block_device_mapping bdm N/A old_create N/A N/A compute_api API create create N/A N/A N/A args kwargs N/A N/A N/A N/A self assertNotIn block_device_mapping kwargs N/A N/A old_create args kwargs N/A N/A N/A N/A N/A self stubs Set N/A compute_api API create create N/A N/A N/A self _test_create params override_controller N/A self no_volumes_controller N/A test_create_instance_non_bootable_volume_fails N/A N/A self fake_bdm_meta N/A N/A N/A bdm N/A N/A volume_id device_name N/A self volume_id vda N/A params N/A block_device_mapping bdm N/A N/A fake_bdm_meta side_effect N/A N/A exception InvalidBDMVolumeNotBootable id 1 N/A N/A N/A self assertRaises N/A exc HTTPBadRequest N/A self _test_create params no_image True N/A N/A N/A mock patch nova.compute.api.API._get_bdm_image_metadata test_create_instance_with_device_name_not_string N/A N/A self N/A N/A N/A N/A N/A N/A self bdm N/A 0 N/A device_name 123 N/A old_create N/A N/A compute_api API create N/A N/A self params N/A block_device_mapping N/A self bdm create N/A N/A N/A args kwargs N/A N/A N/A N/A self assertEqual N/A kwargs N/A block_device_mapping N/A self bdm N/A N/A old_create args kwargs N/A N/A N/A N/A N/A self stubs Set N/A compute_api API create create N/A N/A N/A self assertRaises N/A self validation_error N/A self _test_create N/A self params N/A test_create_instance_with_snapshot_volume_id_none N/A N/A self N/A N/A N/A old_create N/A N/A compute_api API create N/A bdm N/A N/A no_device snapshot_id volume_id device_name delete_on_termination None None None vda False N/A N/A self params N/A block_device_mapping bdm create N/A N/A N/A args kwargs N/A N/A N/A N/A self assertEqual N/A kwargs N/A block_device_mapping bdm N/A N/A old_create args kwargs N/A N/A N/A N/A N/A self stubs Set N/A compute_api API create create N/A N/A N/A self assertRaises N/A self validation_error N/A self _test_create N/A self params N/A test_create_instance_with_bdm_param_not_list N/A N/A self mock_create N/A N/A N/A N/A self params N/A block_device_mapping /dev/vdb N/A N/A N/A self assertRaises N/A self validation_error N/A self _test_create N/A self params N/A N/A N/A N/A mock patch object N/A compute_api API create test_create_instance_with_device_name_empty N/A N/A self N/A N/A N/A N/A N/A N/A self bdm N/A 0 N/A device_name N/A params N/A block_device_mapping N/A self bdm N/A old_create N/A N/A compute_api API create create N/A N/A N/A args kwargs N/A N/A N/A N/A self assertEqual N/A kwargs N/A block_device_mapping N/A self bdm N/A N/A old_create args kwargs N/A N/A N/A N/A N/A self stubs Set N/A compute_api API create create N/A N/A N/A self assertRaises N/A self validation_error N/A self _test_create params N/A test_create_instance_with_device_name_too_long N/A N/A self N/A N/A N/A N/A N/A N/A self bdm N/A 0 N/A device_name N/A N/A a 256 N/A params N/A block_device_mapping N/A self bdm N/A old_create N/A N/A compute_api API create create N/A N/A N/A args kwargs N/A N/A N/A N/A self assertEqual N/A kwargs N/A block_device_mapping N/A self bdm N/A N/A old_create args kwargs N/A N/A N/A N/A N/A self stubs Set N/A compute_api API create create N/A N/A N/A self assertRaises N/A self validation_error N/A self _test_create params N/A test_create_instance_with_space_in_device_name N/A N/A self N/A N/A N/A N/A N/A N/A self bdm N/A 0 N/A device_name N/A vd a N/A params N/A block_device_mapping N/A self bdm N/A old_create N/A N/A compute_api API create create N/A N/A N/A args kwargs N/A N/A N/A N/A self assertTrue N/A kwargs N/A legacy_bdm N/A N/A N/A self assertEqual N/A kwargs N/A block_device_mapping N/A self bdm N/A N/A old_create args kwargs N/A N/A N/A N/A N/A self stubs Set N/A compute_api API create create N/A N/A N/A self assertRaises N/A self validation_error N/A self _test_create params N/A test_create_instance_with_invalid_size N/A N/A self N/A N/A N/A bdm N/A N/A delete_on_termination device_name volume_size volume_id True vda hello world 11111111-1111-1111-1111-111111111111 N/A params N/A block_device_mapping bdm N/A old_create N/A N/A compute_api API create create N/A N/A N/A args kwargs N/A N/A N/A N/A self assertEqual N/A kwargs N/A block_device_mapping bdm N/A N/A old_create args kwargs N/A N/A N/A N/A N/A self stubs Set N/A compute_api API create create N/A N/A N/A self assertRaises N/A self validation_error N/A self _test_create params N/A test_create_instance_with_bdm_delete_on_termination N/A N/A self N/A N/A N/A bdm N/A N/A device_name volume_id delete_on_termination foo1 N/A fakes FAKE_UUID True N/A device_name volume_id delete_on_termination foo2 N/A fakes FAKE_UUID True N/A device_name volume_id delete_on_termination foo3 N/A fakes FAKE_UUID invalid N/A device_name volume_id delete_on_termination foo4 N/A fakes FAKE_UUID False N/A device_name volume_id delete_on_termination foo5 N/A fakes FAKE_UUID False N/A expected_bdm N/A N/A device_name volume_id delete_on_termination foo1 N/A fakes FAKE_UUID True N/A device_name volume_id delete_on_termination foo2 N/A fakes FAKE_UUID True N/A device_name volume_id delete_on_termination foo3 N/A fakes FAKE_UUID False N/A device_name volume_id delete_on_termination foo4 N/A fakes FAKE_UUID False N/A device_name volume_id delete_on_termination foo5 N/A fakes FAKE_UUID False N/A params N/A block_device_mapping bdm N/A old_create N/A N/A compute_api API create create N/A N/A N/A args kwargs N/A N/A N/A N/A self assertEqual expected_bdm N/A kwargs N/A block_device_mapping N/A N/A old_create args kwargs N/A _validate_bdm N/A N/A N/A args kwargs N/A N/A N/A N/A N/A N/A N/A self stubs Set N/A compute_api API create create N/A N/A N/A N/A self stubs Set N/A compute_api API _validate_bdm _validate_bdm N/A N/A N/A self _test_create params N/A test_create_instance_decide_format_legacy N/A N/A self N/A N/A N/A ext_info N/A N/A extension_info LoadedExtensionInfo N/A N/A N/A CONF set_override extensions_blacklist N/A os-block-device-mapping os-block-device-mapping-v1 osapi_v21 N/A controller N/A N/A servers_v21 ServersController extension_info ext_info N/A bdm N/A N/A device_name volume_id delete_on_termination foo1 N/A fakes FAKE_UUID True N/A expected_legacy_flag True N/A old_create N/A N/A compute_api API create create N/A N/A N/A args kwargs N/A N/A legacy_bdm N/A N/A kwargs get legacy_bdm True N/A N/A N/A self assertEqual legacy_bdm expected_legacy_flag N/A N/A old_create args kwargs N/A _validate_bdm N/A N/A N/A args kwargs N/A N/A N/A N/A N/A N/A N/A self stubs Set N/A compute_api API create create N/A N/A N/A N/A self stubs Set N/A compute_api API _validate_bdm _validate_bdm N/A N/A N/A self _test_create N/A override_controller controller N/A params N/A block_device_mapping bdm N/A N/A N/A self _test_create params override_controller controller N/A test_create_instance_both_bdm_formats N/A N/A self N/A N/A N/A ext_info N/A N/A extension_info LoadedExtensionInfo N/A N/A N/A CONF set_override extensions_blacklist osapi_v21 N/A both_controllers N/A N/A servers_v21 ServersController extension_info ext_info N/A bdm N/A N/A device_name foo N/A bdm_v2 N/A N/A source_type uuid volume fake_vol N/A params N/A block_device_mapping block_device_mapping_v2 bdm bdm_v2 N/A N/A N/A self assertRaises N/A exc HTTPBadRequest N/A self _test_create params override_controller both_controllers N/A N/A BlockDeviceMappingTestV2 N/A BlockDeviceMappingTestV21 N/A N/A validation_error N/A exc HTTPBadRequest _setup_controller N/A N/A self N/A N/A N/A N/A self ext_mgr N/A N/A extensions ExtensionManager N/A N/A N/A self ext_mgr extensions N/A os-volumes fake N/A N/A self controller N/A N/A servers_v2 Controller N/A self ext_mgr N/A N/A self ext_mgr_no_vols N/A N/A extensions ExtensionManager N/A N/A N/A self ext_mgr_no_vols extensions N/A N/A N/A self no_volumes_controller N/A N/A servers_v2 Controller N/A self ext_mgr_no_vols N/A test_create_instance_with_volumes_disabled N/A N/A self N/A N/A N/A bdm N/A N/A device_name foo N/A params N/A block_device_mapping bdm N/A old_create N/A N/A compute_api API create create N/A N/A N/A args kwargs N/A N/A N/A N/A self assertIsNone N/A kwargs N/A block_device_mapping N/A N/A old_create args kwargs N/A N/A N/A N/A N/A self stubs Set N/A compute_api API create create N/A N/A N/A self _test_create params override_controller N/A self no_volumes_controller N/A test_create_instance_decide_format_legacy N/A N/A self N/A N/A N/A ext_mgr N/A N/A extensions ExtensionManager N/A N/A ext_mgr extensions N/A os-volumes os-block-device-mapping-v2-boot fake fake N/A controller N/A N/A servers_v2 Controller N/A self ext_mgr N/A bdm N/A N/A device_name volume_id delete_on_termination foo1 N/A fakes FAKE_UUID 1 N/A expected_legacy_flag True N/A old_create N/A N/A compute_api API create create N/A N/A N/A args kwargs N/A N/A legacy_bdm N/A N/A kwargs get legacy_bdm True N/A N/A N/A self assertEqual legacy_bdm expected_legacy_flag N/A N/A old_create args kwargs N/A _validate_bdm N/A N/A N/A args kwargs N/A N/A N/A N/A N/A N/A N/A self stubs Set N/A compute_api API create create N/A N/A N/A N/A self stubs Set N/A compute_api API _validate_bdm _validate_bdm N/A N/A N/A self _test_create N/A override_controller controller N/A params N/A block_device_mapping bdm N/A N/A N/A self _test_create params override_controller controller N/A N/A