Module Import alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Dict Str Str Str Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Dict Str Str Str Str Str Str NameLoad NameLoad Str NameLoad NameLoad NameLoad Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str NameLoad NameLoad Str NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad Dict Str Str NameLoad NameLoad Assign NameStore NameLoad Assign SubscriptStore NameLoad Index NameLoad Dict Str Str NameLoad NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str keyword Str keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr attr decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore ListLoad Dict Str Str Str Str Str ListLoad Dict Str NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad ListLoad Str Str NameLoad Dict Num NameLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore ListLoad Dict Str Str Str Str Str ListLoad Dict Str NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad ListLoad Str Str NameLoad Dict Num NameLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str decorator_list decorator_list
N/A N/A collections cinderclient.v1 client cinder_client_v1 cinderclient.v2 client cinder_client_v2 requests_mock.contrib fixture testtools matchers nova context nova exception nova test nova.volume cinder N/A _image_metadata N/A kernel_id ramdisk_id fake fake N/A _volume_id 6edbc2f4-1507-44f8-ac0d-eed1d2608d38 N/A _instance_uuid f4fda93b-06e0-4743-8117-bc8bcecd651b N/A _instance_uuid_2 f4fda93b-06e0-4743-8117-bc8bcecd651c N/A _attachment_id 3b4db356-253d-4fab-bfa0-e3626c0b8405 N/A _attachment_id_2 3b4db356-253d-4fab-bfa0-e3626c0b8406 N/A _device /dev/vdb N/A _device_2 /dev/vdc N/A _volume_attachment N/A N/A server_id attachment_id host_name volume_id device id _instance_uuid _attachment_id _volume_id _device _volume_id N/A _volume_attachment_2 _volume_attachment N/A N/A N/A _volume_attachment_2 append N/A server_id attachment_id host_name volume_id device id _instance_uuid_2 _attachment_id_2 _volume_id _device_2 _volume_id N/A exp_volume_attachment N/A N/A collections OrderedDict N/A N/A exp_volume_attachment N/A _instance_uuid N/A attachment_id mountpoint _attachment_id _device N/A exp_volume_attachment_2 exp_volume_attachment N/A N/A exp_volume_attachment_2 N/A _instance_uuid_2 N/A attachment_id mountpoint _attachment_id_2 _device_2 BaseCinderTestCase N/A object N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super BaseCinderTestCase self setUp N/A N/A N/A cinder reset_globals N/A N/A self requests N/A N/A self useFixture N/A N/A fixture Fixture N/A N/A self api N/A N/A cinder API N/A N/A self context N/A N/A context RequestContext username project_id auth_token token service_catalog N/A self CATALOG N/A flags N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super BaseCinderTestCase self flags args kwargs N/A N/A N/A cinder reset_globals N/A create_client N/A N/A self N/A N/A N/A N/A N/A cinder cinderclient N/A self context N/A test_context_with_catalog N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A self URL N/A N/A N/A N/A N/A self create_client client get_endpoint N/A test_cinder_http_retries N/A N/A self N/A N/A N/A retries 42 N/A N/A N/A self flags http_retries retries group cinder N/A N/A N/A self assertEqual retries N/A N/A N/A N/A self create_client client connect_retries N/A test_cinder_api_insecure N/A N/A self N/A N/A N/A N/A N/A self flags insecure True group cinder N/A N/A N/A self assertFalse N/A N/A N/A N/A N/A self create_client client session verify N/A test_cinder_http_timeout N/A N/A self N/A N/A N/A timeout 123 N/A N/A N/A self flags timeout timeout group cinder N/A N/A N/A self assertEqual timeout N/A N/A N/A N/A N/A self create_client client session timeout N/A test_cinder_api_cacert_file N/A N/A self N/A N/A N/A cacert /etc/ssl/certs/ca-certificates.crt N/A N/A N/A self flags cafile cacert group cinder N/A N/A N/A self assertEqual cacert N/A N/A N/A N/A N/A self create_client client session verify N/A N/A CinderTestCase N/A BaseCinderTestCase N/A test NoDBTestCase N/A N/A Test case for cinder volume v1 api. N/A URL http://localhost:8776/v1/project_id N/A CATALOG N/A N/A type name endpoints volumev2 cinderv2 N/A N/A publicURL URL create_client N/A N/A self N/A N/A N/A c N/A N/A N/A super CinderTestCase self create_client N/A N/A N/A self assertIsInstance c N/A cinder_client_v1 Client N/A c N/A stub_volume N/A N/A self N/A kwargs N/A N/A volume N/A display_name display_description attachments availability_zone created_at id metadata size snapshot_id status volume_type bootable multiattach None None N/A cinder 2012-09-10T00:00:00.000000 _volume_id N/A 1 None available None true true N/A N/A N/A volume update kwargs N/A volume N/A test_cinder_endpoint_template N/A N/A self N/A N/A N/A endpoint http://other_host:8776/v1/%(project_id)s N/A N/A N/A self flags endpoint_template endpoint group cinder N/A N/A N/A self assertEqual http://other_host:8776/v1/project_id N/A N/A N/A N/A self create_client client endpoint_override N/A test_get_non_existing_volume N/A N/A self N/A N/A N/A N/A N/A N/A self requests get N/A N/A self URL /volumes/nonexisting status_code 404 N/A N/A N/A self assertRaises N/A exception VolumeNotFound N/A N/A self api get N/A self context nonexisting N/A test_volume_with_image_metadata N/A N/A self N/A N/A N/A v N/A N/A self stub_volume id 1234 volume_image_metadata _image_metadata N/A m N/A N/A N/A self requests get N/A N/A self URL /volumes/5678 json N/A volume v N/A volume N/A N/A N/A self api get N/A self context 5678 N/A N/A N/A self assertThat N/A N/A m last_request path N/A N/A matchers EndsWith /volumes/5678 N/A N/A N/A self assertIn volume_image_metadata volume N/A N/A N/A self assertEqual _image_metadata N/A volume N/A volume_image_metadata N/A N/A CinderV2TestCase N/A BaseCinderTestCase N/A test NoDBTestCase N/A N/A Test case for cinder volume v2 api. N/A URL http://localhost:8776/v2/project_id N/A CATALOG N/A N/A type name endpoints volumev2 cinder N/A N/A publicURL URL setUp N/A N/A self N/A N/A N/A N/A N/A N/A super CinderV2TestCase self setUp N/A N/A N/A N/A cinder CONF set_override catalog_info volumev2:cinder:publicURL group cinder N/A N/A N/A self addCleanup N/A N/A cinder CONF reset N/A create_client N/A N/A self N/A N/A N/A c N/A N/A N/A super CinderV2TestCase self create_client N/A N/A N/A self assertIsInstance c N/A cinder_client_v2 Client N/A c N/A stub_volume N/A N/A self N/A kwargs N/A N/A volume N/A name description attachments availability_zone created_at id metadata size snapshot_id status volume_type bootable multiattach None None N/A cinderv2 2013-08-10T00:00:00.000000 _volume_id N/A 1 None available None true true N/A N/A N/A volume update kwargs N/A volume N/A test_cinder_endpoint_template N/A N/A self N/A N/A N/A endpoint http://other_host:8776/v2/%(project_id)s N/A N/A N/A self flags endpoint_template endpoint group cinder N/A N/A N/A self assertEqual http://other_host:8776/v2/project_id N/A N/A N/A N/A self create_client client endpoint_override N/A test_get_non_existing_volume N/A N/A self N/A N/A N/A N/A N/A N/A self requests get N/A N/A self URL /volumes/nonexisting status_code 404 N/A N/A N/A self assertRaises N/A exception VolumeNotFound N/A N/A self api get N/A self context nonexisting N/A test_volume_with_image_metadata N/A N/A self N/A N/A N/A v N/A N/A self stub_volume id 1234 volume_image_metadata _image_metadata N/A N/A N/A N/A self requests get N/A N/A self URL /volumes/5678 json N/A volume v N/A volume N/A N/A N/A self api get N/A self context 5678 N/A N/A N/A self assertIn volume_image_metadata volume N/A N/A N/A self assertEqual _image_metadata N/A volume N/A volume_image_metadata N/A test_volume_without_attachment N/A N/A self N/A N/A N/A v N/A N/A self stub_volume id 1234 N/A N/A N/A N/A self requests get N/A N/A self URL /volumes/5678 json N/A volume v N/A volume N/A N/A N/A self api get N/A self context 5678 N/A N/A N/A self assertIsNone N/A N/A volume get attachments N/A test_volume_with_one_attachment N/A N/A self N/A N/A N/A v N/A N/A self stub_volume id 1234 attachments _volume_attachment N/A N/A N/A N/A self requests get N/A N/A self URL /volumes/5678 json N/A volume v N/A volume N/A N/A N/A self api get N/A self context 5678 N/A N/A N/A self assertIn attachments volume N/A N/A N/A self assertEqual exp_volume_attachment N/A volume N/A attachments N/A test_volume_with_two_attachments N/A N/A self N/A N/A N/A v N/A N/A self stub_volume id 1234 attachments _volume_attachment_2 N/A N/A N/A N/A self requests get N/A N/A self URL /volumes/5678 json N/A volume v N/A volume N/A N/A N/A self api get N/A self context 5678 N/A N/A N/A self assertIn attachments volume N/A N/A N/A self assertEqual exp_volume_attachment_2 N/A volume N/A attachments N/A N/A