Module ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore BinOpMod Str NameLoad Assign NameStore Str Assign NameStore Call NameLoad NameLoad Dict Str Str Num Str keyword NameLoad Assign NameStore Call NameLoad NameLoad Dict Str Str Num Str keyword NameLoad Assign NameStore ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Str Assign NameStore Dict Str Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad Num NameLoad NameLoad NameLoad Str NameLoad NameLoad Dict NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Dict Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Dict Str Dict Str Str Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Dict Str Dict Str Str Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Dict Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str keyword NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad Dict Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body For NameStore ListLoad NameLoad Str ListLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad Str Str Str TupleLoad Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore ListLoad Str Str ListLoad Str Str Str ListLoad Str Str TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A cinderclient.tests.unit utils cinderclient.tests.unit.v2 fakes cinderclient.v2.volumes Volume N/A cs N/A N/A fakes FakeClient VolumesTest N/A N/A utils TestCase N/A test_list_volumes_with_marker_limit N/A N/A self N/A N/A N/A lst N/A N/A N/A cs volumes list marker 1234 limit 2 N/A N/A N/A cs assert_called GET /volumes/detail?limit=2&marker=1234 N/A N/A N/A self _assert_request_id lst N/A test_list_volumes_with_sort_key_dir N/A N/A self N/A N/A N/A lst N/A N/A N/A cs volumes list sort_key id sort_dir asc N/A N/A N/A cs assert_called GET /volumes/detail?sort_dir=asc&sort_key=id N/A N/A N/A self _assert_request_id lst N/A test_list_volumes_with_invalid_sort_key N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValueError N/A N/A cs volumes list sort_key invalid sort_dir asc N/A test_list_volumes_with_invalid_sort_dir N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValueError N/A N/A cs volumes list sort_key id sort_dir invalid N/A test__list N/A N/A self N/A N/A N/A limit 2 N/A url N/A /volumes?limit=%s limit N/A response_key volumes N/A fake_volume1234 N/A Volume self N/A id name 1234 sample-volume loaded True N/A fake_volume5678 N/A Volume self N/A id name 5678 sample-volume2 loaded True N/A fake_volumes N/A fake_volume1234 fake_volume5678 N/A volumes N/A N/A N/A cs volumes _list url response_key limit limit N/A N/A N/A self _assert_request_id volumes N/A N/A N/A cs assert_called GET url N/A N/A N/A self assertEqual fake_volumes volumes N/A N/A N/A cs client osapi_max_limit 1 N/A volumes N/A N/A N/A cs volumes _list url response_key limit limit N/A N/A N/A self assertEqual fake_volumes volumes N/A N/A N/A self _assert_request_id volumes N/A N/A N/A cs client osapi_max_limit 1000 N/A test_delete_volume N/A N/A self N/A N/A N/A v N/A N/A N/A N/A cs volumes list N/A 0 N/A del_v N/A N/A v delete N/A N/A N/A cs assert_called DELETE /volumes/1234 N/A N/A N/A self _assert_request_id del_v N/A del_v N/A N/A N/A cs volumes delete 1234 N/A N/A N/A cs assert_called DELETE /volumes/1234 N/A N/A N/A self _assert_request_id del_v N/A del_v N/A N/A N/A cs volumes delete v N/A N/A N/A cs assert_called DELETE /volumes/1234 N/A N/A N/A self _assert_request_id del_v N/A test_create_volume N/A N/A self N/A N/A N/A vol N/A N/A N/A cs volumes create 1 N/A N/A N/A cs assert_called POST /volumes N/A N/A N/A self _assert_request_id vol N/A test_create_volume_with_hint N/A N/A self N/A N/A N/A vol N/A N/A N/A cs volumes create 1 scheduler_hints uuid N/A expected N/A volume OS-SCH-HNT:scheduler_hints N/A status description availability_zone source_volid snapshot_id size user_id name imageRef attach_status volume_type project_id metadata source_replica consistencygroup_id multiattach creating None None None None 1 None None None detached None None N/A None None False uuid N/A N/A N/A cs assert_called POST /volumes body expected N/A N/A N/A self _assert_request_id vol N/A test_attach N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes attach v 1 /dev/vdc mode ro N/A N/A N/A cs assert_called POST /volumes/1234/action N/A N/A N/A self _assert_request_id vol N/A test_attach_to_host N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes attach v None None host_name test mode rw N/A N/A N/A cs assert_called POST /volumes/1234/action N/A N/A N/A self _assert_request_id vol N/A test_detach N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes detach v abc123 N/A N/A N/A cs assert_called POST /volumes/1234/action N/A N/A N/A self _assert_request_id vol N/A test_reserve N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes reserve v N/A N/A N/A cs assert_called POST /volumes/1234/action N/A N/A N/A self _assert_request_id vol N/A test_unreserve N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes unreserve v N/A N/A N/A cs assert_called POST /volumes/1234/action N/A N/A N/A self _assert_request_id vol N/A test_begin_detaching N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A N/A cs volumes begin_detaching v N/A N/A N/A cs assert_called POST /volumes/1234/action N/A test_roll_detaching N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes roll_detaching v N/A N/A N/A cs assert_called POST /volumes/1234/action N/A N/A N/A self _assert_request_id vol N/A test_initialize_connection N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes initialize_connection v N/A N/A N/A N/A cs assert_called POST /volumes/1234/action N/A N/A N/A self _assert_request_id vol N/A test_terminate_connection N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes terminate_connection v N/A N/A N/A N/A cs assert_called POST /volumes/1234/action N/A N/A N/A self _assert_request_id vol N/A test_set_metadata N/A N/A self N/A N/A N/A vol N/A N/A N/A cs volumes set_metadata 1234 N/A k1 v2 N/A N/A N/A cs assert_called POST /volumes/1234/metadata N/A metadata N/A k1 v2 N/A N/A N/A self _assert_request_id vol N/A test_delete_metadata N/A N/A self N/A N/A N/A keys N/A key1 N/A vol N/A N/A N/A cs volumes delete_metadata 1234 keys N/A N/A N/A cs assert_called DELETE /volumes/1234/metadata/key1 N/A N/A N/A self _assert_request_id vol N/A test_extend N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes extend v 2 N/A N/A N/A cs assert_called POST /volumes/1234/action N/A N/A N/A self _assert_request_id vol N/A test_reset_state N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes reset_state v in-use attach_status detached migration_status none N/A N/A N/A cs assert_called POST /volumes/1234/action N/A N/A N/A self _assert_request_id vol N/A test_get_encryption_metadata N/A N/A self N/A N/A N/A vol N/A N/A N/A cs volumes get_encryption_metadata 1234 N/A N/A N/A cs assert_called GET /volumes/1234/encryption N/A N/A N/A self _assert_request_id vol N/A test_migrate N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes migrate_volume v dest False False N/A N/A N/A cs assert_called POST /volumes/1234/action N/A os-migrate_volume N/A host force_host_copy lock_volume dest False False N/A N/A N/A self _assert_request_id vol N/A test_migrate_with_lock_volume N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes migrate_volume v dest False True N/A N/A N/A cs assert_called POST /volumes/1234/action N/A os-migrate_volume N/A host force_host_copy lock_volume dest False True N/A N/A N/A self _assert_request_id vol N/A test_metadata_update_all N/A N/A self N/A N/A N/A vol N/A N/A N/A cs volumes update_all_metadata 1234 N/A k1 v1 N/A N/A N/A cs assert_called PUT /volumes/1234/metadata N/A metadata N/A k1 v1 N/A N/A N/A self _assert_request_id vol N/A test_readonly_mode_update N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes update_readonly_flag v True N/A N/A N/A cs assert_called POST /volumes/1234/action N/A N/A N/A self _assert_request_id vol N/A test_retype N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes retype v foo on-demand N/A N/A N/A cs assert_called POST /volumes/1234/action N/A os-retype N/A new_type migration_policy foo on-demand N/A N/A N/A self _assert_request_id vol N/A test_set_bootable N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes set_bootable v True N/A N/A N/A cs assert_called POST /volumes/1234/action N/A N/A N/A self _assert_request_id vol N/A test_volume_manage N/A N/A self N/A N/A N/A vol N/A N/A N/A cs volumes manage host1 N/A k v N/A expected N/A host name availability_zone description metadata ref volume_type bootable host1 None None None None N/A k v None False N/A N/A N/A cs assert_called POST /os-volume-manage N/A volume expected N/A N/A N/A self _assert_request_id vol N/A test_volume_manage_bootable N/A N/A self N/A N/A N/A vol N/A N/A N/A cs volumes manage host1 N/A k v bootable True N/A expected N/A host name availability_zone description metadata ref volume_type bootable host1 None None None None N/A k v None True N/A N/A N/A cs assert_called POST /os-volume-manage N/A volume expected N/A N/A N/A self _assert_request_id vol N/A test_volume_unmanage N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes unmanage v N/A N/A N/A cs assert_called POST /volumes/1234/action N/A os-unmanage None N/A N/A N/A self _assert_request_id vol N/A test_snapshot_manage N/A N/A self N/A N/A N/A vol N/A N/A N/A cs volume_snapshots manage volume_id1 N/A k v N/A expected N/A volume_id name description metadata ref volume_id1 None None None N/A k v N/A N/A N/A cs assert_called POST /os-snapshot-manage N/A snapshot expected N/A N/A N/A self _assert_request_id vol N/A test_replication_promote N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes promote v N/A N/A N/A cs assert_called POST /volumes/1234/action N/A os-promote-replica None N/A N/A N/A self _assert_request_id vol N/A test_replication_reenable N/A N/A self N/A N/A N/A v N/A N/A N/A cs volumes get 1234 N/A N/A N/A self _assert_request_id v N/A vol N/A N/A N/A cs volumes reenable v N/A N/A N/A cs assert_called POST /volumes/1234/action N/A os-reenable-replica None N/A N/A N/A self _assert_request_id vol N/A test_get_pools N/A N/A self N/A N/A N/A vol N/A N/A N/A cs volumes get_pools N/A N/A N/A cs assert_called GET /scheduler-stats/get_pools N/A N/A N/A self _assert_request_id vol N/A test_get_pools_detail N/A N/A self N/A N/A N/A vol N/A N/A N/A cs volumes get_pools --detail N/A N/A N/A cs assert_called GET /scheduler-stats/get_pools?detail=True N/A N/A N/A self _assert_request_id vol N/A N/A FormatSortParamTestCase N/A N/A utils TestCase N/A test_format_sort_empty_input N/A N/A self N/A N/A N/A s N/A None N/A N/A N/A N/A N/A self assertIsNone N/A N/A N/A cs volumes _format_sort_param s N/A test_format_sort_string_single_key N/A N/A self N/A N/A N/A s id N/A N/A N/A self assertEqual id N/A N/A N/A cs volumes _format_sort_param s N/A test_format_sort_string_single_key_and_dir N/A N/A self N/A N/A N/A s id:asc N/A N/A N/A self assertEqual id:asc N/A N/A N/A cs volumes _format_sort_param s N/A test_format_sort_string_multiple N/A N/A self N/A N/A N/A s id:asc,status,size:desc N/A N/A N/A self assertEqual id:asc,status,size:desc N/A N/A N/A cs volumes _format_sort_param s N/A test_format_sort_string_mappings N/A N/A self N/A N/A N/A s id:asc,name,size:desc N/A N/A N/A self assertEqual id:asc,display_name,size:desc N/A N/A N/A cs volumes _format_sort_param s N/A test_format_sort_whitespace_trailing_comma N/A N/A self N/A N/A N/A s  id : asc ,status,  size:desc, N/A N/A N/A self assertEqual id:asc,status,size:desc N/A N/A N/A cs volumes _format_sort_param s N/A test_format_sort_list_of_strings N/A N/A self N/A N/A N/A s N/A id:asc status size:desc N/A N/A N/A self assertEqual id:asc,status,size:desc N/A N/A N/A cs volumes _format_sort_param s N/A test_format_sort_list_of_tuples N/A N/A self N/A N/A N/A s N/A N/A id asc status N/A size desc N/A N/A N/A self assertEqual id:asc,status,size:desc N/A N/A N/A cs volumes _format_sort_param s N/A test_format_sort_list_of_strings_and_tuples N/A N/A self N/A N/A N/A s N/A N/A id asc status size:desc N/A N/A N/A self assertEqual id:asc,status,size:desc N/A N/A N/A cs volumes _format_sort_param s N/A test_format_sort_invalid_direction N/A N/A self N/A N/A N/A s N/A id:foo id:asc,status,size:foo N/A id status size:foo N/A id status N/A size foo N/A N/A N/A N/A self assertRaises ValueError N/A N/A cs volumes _format_sort_param s N/A N/A