/usr/lib/python2.6/site-packages/cinderclient/tests/unit/v2
NameSizeModeActions
contrib/-0755rm
fakes.py365140644editdlrm
fakes.pyc441220644editdlrm
test_auth.py126100644editdlrm
test_auth.pyc104750644editdlrm
test_availability_zone.py33000644editdlrm
test_availability_zone.pyc33640644editdlrm
test_capabilities.py14640644editdlrm
test_capabilities.pyc13870644editdlrm
test_cgsnapshots.py31000644editdlrm
test_cgsnapshots.pyc42320644editdlrm
test_consistencygroups.py65310644editdlrm
test_consistencygroups.pyc75220644editdlrm
test_limits.py61010644editdlrm
test_limits.pyc72830644editdlrm
test_pools.py17940644editdlrm
test_pools.pyc16970644editdlrm
test_qos.py29850644editdlrm
test_qos.pyc42730644editdlrm
test_quotas.py32320644editdlrm
test_quotas.pyc30770644editdlrm
test_quota_classes.py28610644editdlrm
test_quota_classes.pyc24250644editdlrm
test_services.py32000644editdlrm
test_services.pyc41100644editdlrm
test_shell.py487920644editdlrm
test_shell.pyc570230644editdlrm
test_snapshot_actions.py14690644editdlrm
test_snapshot_actions.pyc16200644editdlrm
test_types.py32980644editdlrm
test_types.pyc42500644editdlrm
test_type_access.py16260644editdlrm
test_type_access.pyc19270644editdlrm
test_volumes.py121990644editdlrm
test_volumes.pyc176760644editdlrm
test_volume_backups.py33210644editdlrm
test_volume_backups.pyc44280644editdlrm
test_volume_encryption_types.py45820644editdlrm
test_volume_encryption_types.pyc49580644editdlrm
test_volume_transfers.py17720644editdlrm
test_volume_transfers.pyc23140644editdlrm
__init__.py00644editdlrm
__init__.pyc1670644editdlrm
Edit: /usr/lib/python2.6/site-packages/cinderclient/tests/unit/v2/fakes.pyc (44122B)
=vVc @sYddklZyddkZWn"ej oddkiZnXddklZddkl Z ddk i i i Z ddklZdZdZedZedZd Zd Zd Zd Zd ZdddZdZdZdZdZdZde i ei!fdYZ dei"fdYZ#dS(i(tdatetimeN(tclient(tfakescKshdd6dd6dd6gd6dd6dd 6d d 6d d6hd 6dd6dd6dd6dd6dd6hdd6dd6hdd6dd6gd6}|i||S(Nt1234tidtnamet descriptiont attachmentstfalsetbootabletcindertavailability_zones2012-08-27T00:00:00.000000t created_ats$00000000-0000-0000-0000-000000000000tmetadataitsizet snapshot_idt availabletstatustNonet volume_typet multiattachs%http://localhost/v2/fake/volumes/1234threftselftrels"http://localhost/fake/volumes/1234tbookmarktlinks(Rtupdate(tkwargstvolume((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt _stub_volumes. cKsHhdd6dd6dd6dd6dd6d d 6d d 6}|i||S( Ns2012-08-28T16:30:31.000000R tdisplay_descriptiont display_names$11111111-1111-1111-1111-111111111111RiRRRs$00000000-0000-0000-0000-000000000000t volume_id(RR(Rtsnapshot((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt_stub_snapshot;s  cKs_hdd6dd6}|o3hdd6dd6dd 6d d 6}|i|n|i||S( NtcgRs$11111111-1111-1111-1111-111111111111Rs2012-08-28T16:30:31.000000R RtmyzoneR RR(RR(tdetailedRtconsistencygrouptdetails((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt_stub_consistencygroupIs   cKsmhdd6dd6}|oAhdd6dd6dd6dd6dd6d d 6}|i|n|i||S( NRs$11111111-1111-1111-1111-111111111111Rs2012-08-28T16:30:31.000000R RRRs$00000000-0000-0000-0000-000000000000tconsistencygroup_id(RR(R%Rt cgsnapshotR'((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt_stub_cgsnapshotZs   cKs%hdd6dd6}|i||S(Ns$11111111-1111-1111-1111-111111111111tvolume_type_ids$00000000-0000-0000-0000-000000000000t project_id(R(Rtaccess((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt_stub_type_accessms   cCsd|||fS(Ns%s/v2/%s/backups/%s((tbase_urit tenant_idt backup_id((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt _self_hreftscCsd|||fS(Ns%s/%s/backups/%s((R0R1R2((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt_bookmark_hrefxscCsh |d6dd6dd6dd6dd 6d d 6d d 6dd6dd6dd6ht|||d6dd6ht|||d6dd6gd6S(NRtbackupRsnightly backupRs$712f4980-5ac1-41e5-9383-390aa7c9f58bR t volumebackupst containerit object_counti Rtaz1R s2013-04-12T08:16:37.000000R RRRRRRR(R3R4(RR0R1((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt_stub_backup_full|s"cCsSh|d6dd6ht|||d6dd6ht|||d6dd6gd6S( NRR5RRRRRR(R3R4(RR0R1((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt _stub_backupscCsj|p d}n|p h}nhh|d6|d6dd6|d6d6ht|||d6d d 6d 6S( Ns fake-nameRRsback-endtconsumertspecst qos_specsRRRR(R4(RR0R1RR=((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt_stub_qos_fulls   cCshdd6|d6|d6S(NRtassoications_typeRR((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt_stub_qos_associatesscCs hdd6S(Ns$712f4980-5ac1-41e5-9383-390aa7c9f58bR ((((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt _stub_restorescCshh|d6dd6dd6dd6dd 6ht|||d 6d d 6ht|||d 6d d 6gd6S(NRttransferRs$8c05f861-6052-4df6-b3e0-0aebfbe686ccR s2013-04-12T08:16:37.000000R t123456tauth_keyRRRRR(R3R4(RR0R1((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt_stub_transfer_fullscCsZh|d6dd6dd6ht|||d6dd6ht|||d6d d6gd 6S( NRRCRs$8c05f861-6052-4df6-b3e0-0aebfbe686ccR RRRRR(R3R4(RR0R1((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt_stub_transferscCs hdd6S(Ns$712f4980-5ac1-41e5-9383-390aa7c9f58bR ((Rtnew_size((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt _stub_extendst FakeClientcBseZdZdZRS(c Os>tii|ddddd|idt||_dS(NtusernametpasswordR-tauth_urlt extensions(RtClientt__init__tgettFakeHTTPClient(RtargsR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyRPs cCs |iiS(N(Rt$get_volume_api_version_from_endpoint(R((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyRTs(t__name__t __module__RPRT(((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyRJs RRcBseZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+Z-d,Z.d-Z/d.Z0d/Z1d0Z2d1Z3d2Z4d3Z5d4Z6d5Z7d6Z8d7Z9d8Z:d9Z;d:Z<d;Z=d<Z>d=Z?d>Z@d?ZAd@ZBdAZCdBZDdCZEdDZFdEZGdFZHdGZIdHZJdIZKdJZLdKZMdLZNdMZOdNZPdOZQdPZRdQZSdRZTdSZUdTZVdUZWdVZXdWZYdXZZdYZ[dZZ\d[Z]d\Z^d]Z_d^Z`d_Zad`ZbdaZcdbZddcZeddZfdeZgdfZhdgZidhZjRS(icKsCd|_d|_d|_g|_d|_d|_d|_dS(NRKRLRMshttp://10.0.2.15:8776/v2/fakei(RKRLRMt callstacktmanagement_urltosapi_max_limitRtmarker(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyRPs      c Ks!|djod|jptn&|djod|jptntiti|d}|i||idd}|d}t|djoG|d}d |jo#t|id dd|_qd|_n d|_|i d i d d i d d }|i dd }d|i |f}t ||ptd|||fn|i i|||iddft|||\} } } tih| d6| d6| d6} | | fSt | doti| | fStih| d6| fSdS(NtGETtDELETEtbodytPUTit?iiRZsmarker=t/t_t.t-s%s_%ss@Called unknown API method: %s %s, expected fakes method name: %st status_codettexttheaderstitemsR(sGETsDELETE(tAssertionErrorturlparset parse_qslRtrsplittlentintRZRtstriptreplacetlowerthasattrRWtappendRQtgetattrtutilst TestResponse( RturltmethodRRSt url_splitt munged_urlt parameterstcallbackRRfR]tr((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt _cs_requests<      #  '%   cCsEti|i}|\}}}}}|ididddS(NR`ii(RiturlsplitRXtlstriptsplit(Rt magic_tupletschemetnetloctpathtquerytfrag((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyRT4scKsdhhtgd6fS(Nit snapshots(R"(Rtkw((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_snapshots_detail=s cKsdhhtddd6fS(NiRRR!(R"(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_snapshots_1234BscKsdhhtddd6fS(NiRt5678R!(R"(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_snapshots_5678EscKsh|ddidd}tdddd}|dj o|ih|d6ndhh|d6fS(NR]R!R RRR i(RQRR"R(RRR R!((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_snapshotsHs  cKs8tdd}|i|dddhh|d6fS(NRRR]R!i(R"R(RRR!((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytput_snapshots_1234OscKsd}d}tt|djptt|d}|djod|djptn:|djod|djptntd||h|fS(Niiisos-reset_statusRsos-update_snapshot_statussUnexpected action: %s(RRltlistRh(RR]Rt_bodytresptaction((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_snapshots_1234_actionTs   cKs|i||S(N(R(RR]R((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_snapshots_5678_actionascKs dhhfS(Ni((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytdelete_snapshots_1234dscKs dhhfS(Ni((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytdelete_snapshots_5678gscKs8tdd}|i|dddhh|d6fS(NRRR]Ri(RR(RRR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytput_volumes_1234nscKs|idjo&dhhhdd6dd6gd6fS|idjo>dhhhdd6d d6gd6hd d 6d d 6gd6fSdhhhdd6d d6hdd6dd6gd6fSdS(Niii.Rssample-volume2Rtvolumesis sample-volumes/volumes?limit=1&marker=1234RtnextRt volumes_links(RZRY(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt get_volumesss   cKsBdhhh|iddd6dd6hdd6gd6gd6fS( NiRis sample-volumeRt server_idRR(RQ(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_volumes_details cKs2h|idddddd6}dh|fS(NRiiRiRi(R(RRR|((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_volumes_1234s%cKs2h|idddddd6}dh|fS(NRi.iRiRi(R(RRR|((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_volumes_5678s%cKshdd6}dh|fS(NRtencryption_key_idi((RRR|((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_volumes_1234_encryptions cKsd}d}tt|djptt|d}|djoMtt||}|dddgjp|dddgjptn[|d jo%t||d gjptn)|d jo||djptn|d jo||djptn|d jo6t||dgjptdhhdd6fS|djo%t||dgjptnb|djo||djptn9|djo||djptn|djod||jptn|djo%t||dgjptn|djo4d||jptd||jptnt|djo%t||dgjptnB|djod||jptn|djo%t||d gjptn|d!jo||djptn|d"jo||djptn|d#jo||djptnl|d$jo%t||d%gjptn:|d&jod'||jptntd(||h|fS()Niiis os-attacht instance_uuidtmodet mountpointt host_names os-detacht attachment_ids os-reserves os-unreservesos-initialize_connectiont connectortfoostconnection_infosos-terminate_connectionsos-begin_detachingsos-roll_detachingsos-reset_statusRs os-extendRHsos-migrate_volumethosttforce_host_copysos-update_readonly_flagtreadonlys os-retypetnew_typesos-set_bootableR s os-unmanagesos-promote-replicasos-reenable-replicasos-set_image_metadataR sos-unset_image_metadatatkeysUnexpected action: %s(RRlRRhtsorted(RR]RRRRtkeys((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_volumes_1234_actions`  ! %   ! %    %  %  %    % cKs|i||S(N(R(RR]R((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_volumes_5678_actionscKsC|ddidd}tddd|}dhh|d6fS(NR]RRiRRi(RQR(RRRR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt post_volumesscKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytdelete_volumes_1234scKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytdelete_volumes_5678scKs,dhhtddtddgd6fS(NiRRt4567tconsistencygroups(R((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_consistencygroups_details  c Ks8dhhtdtddtdtddgd6fS(NiR%RRRR(R(tFalse(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_consistencygroupss cKsdhhtddd6fS(NiRRR&(R((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_consistencygroups_1234s cKsdhhhd6fS(NiR&((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_consistencygroupsscKsdhhhd6fS(NiR&((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytput_consistencygroups_1234scKs dhhfS(Ni((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt"post_consistencygroups_1234_deletescKs#dhhtddddd6fS(NiRRt cgsnapshot_idR&(R((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt&post_consistencygroups_create_from_srcs cKs,dhhtddtddgd6fS(NiRRRt cgsnapshots(R+(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_cgsnapshots_details  c Ks8dhhtdtddtdtddgd6fS(NiR%RRRR(R+R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_cgsnapshotss cKsdhhtddd6fS(NiRRR*(R+(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_cgsnapshots_1234 scKsdhhhd6fS(NiR*((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_cgsnapshots scKsdhhhd6fS(NiR*((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytput_cgsnapshots_1234scKs dhhfS(Ni((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytdelete_cgsnapshots_1234scKsSdhhh dd6gd6dd6dd6dd6dd 6dd 6dd 6dd 6d 6fS(NittestR1tmetadata_itemsiRRt gigabytestbackupstbackup_gigabytesRtper_volume_gigabytest quota_set((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_os_quota_sets_tests cCsSdhhh dd6gd6dd6dd6dd6dd 6dd 6dd 6dd 6d 6fS(NiRR1RiRRRRRRRR((R((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_os_quota_sets_test_defaults%s cKst|dgjptti|dddgdhhh dd6gd6dd6dd 6d d 6d d 6d d 6dd6d d6d6fS(NRtrequiredR1iRRiRRiRRRRR(RRhRtassert_has_keys(RR]R((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytput_os_quota_sets_test1s  cKs dhhfS(Ni((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytdelete_os_quota_sets_1234@scKs dhhfS(Ni((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytdelete_os_quota_sets_testCscKsSdhhh dd6gd6dd6dd6dd6dd 6dd 6dd 6dd 6d 6fS(NiRt class_nameRiRRRRRRRtquota_class_set((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_os_quota_class_sets_testJs cKst|dgjptti|dddgdhhh dd6gd6dd6dd 6d d 6d d 6d d 6dd6d d6d6fS(NRRRiRRiRRiRRRRR(RRhRR(RR]R((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytput_os_quota_class_sets_testVs  cKsRdhhhdd6dd6dd6hd6hd d6d d6d d6hd6gd 6fS( NiiRs test-type-1Rstest_type-1-descRt extra_specsis test-type-2stest_type-2-desct volume_types((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt get_typesis   cKs0dhhhdd6dd6dd6hd6d 6fS( NiiRs test-type-1Rstest_type-1-descRRR((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt get_types_1tscKs0dhhhdd6dd6dd6hd6d 6fS( NiiRs test-type-2Rstest_type-2-descRRR((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt get_types_2zscKs7dhhhdd6dd6dd6hd6td 6d 6fS( NiiRs test-type-3Rstest_type-3-descRRsos-volume-type-access:is_publicR(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt get_types_3s cKs |iS(N(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_types_defaultscKs0dhhhdd6dd6dd6hd6d 6fS( NiiRs test-type-3Rstest_type-3-descRRR((RR]R((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt post_typesscKsd}d}tt|djptt|d}|djod|djptn:|djod|djptntd||h|fS(NiiitaddProjectAccesstprojecttremoveProjectAccesssUnexpected action: %s(RRlRRh(RR]RRRR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_types_3_actions   cKs8t|dgjptdhhhdd6d6fS(NRitvtk(RRh(RR]R((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_types_1_extra_specsscKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytdelete_types_1_extra_specs_kscKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytdelete_types_1scKs |iS(N(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt put_types_1scKsdhhtgd6fS(Nitvolume_type_access(R/(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt!get_types_3_os_volume_type_accesss cKs7dhhdd6dd6dd6dd6dd6d d 6fS( NiiRR,Rtprovidertciphertkey_sizes front-endtcontrol_location((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_types_1_encryptionscKs dhhfS(Ni((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_types_2_encryptionscKsdhh|d6fS(Nit encryption((RR]R((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_types_2_encryptionscKsg|id}xG|iD]9\}}||ijo|i||fgqqWdh|fS(Nii(RRgRR(RR]Rtget_bodyRR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytput_types_1_encryption_providers  cKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt"delete_types_1_encryption_providerscKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt%delete_volumes_1234_metadata_test_keyscKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt!delete_volumes_1234_metadata_key1scKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt!delete_volumes_1234_metadata_key2scKsdhhhdd6d6fS(Nit test_valuettest_keyR ((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_volumes_1234_metadatascKsthdd6dd6gd6dd6dd 6d d 6hd d6d d6gd6dd6dd 6d d 6g}dhh|d6fS(NsFAKE-1taliassFake extension number 1RRtFake1Rs-http://docs.openstack.org//ext/fake1/api/v1.1t namespaces2011-06-09T00:00:00+00:00tupdatedsFAKE-2sFake extension number 2tFake2iRN((RRtexts((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_extensionss cKs2d}d}d}dhht|||d6fS(Nshttp://localhost:8776t 0fa851f6668144cf9cd8c8419c1646c1s$76a17945-3c6f-435c-975b-b5685db10b62iR5(R:(RRR0R1tbackup1((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt0get_backups_76a17945_3c6f_435c_975b_b5685db10b62s cKsJd}d}d}d}dhht|||t|||gd6fS(Nshttp://localhost:8776Rs$76a17945-3c6f-435c-975b-b5685db10b62s$d09534c6-08b8-4441-9e87-8976f3a8f699iR(R:(RRR0R1Rtbackup2((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_backups_detailscKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt3delete_backups_76a17945_3c6f_435c_975b_b5685db10b62 scKs2d}d}d}dhht|||d6fS(Nshttp://localhost:8776Rs$76a17945-3c6f-435c-975b-b5685db10b62iR5(R;(RRR0R1R((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt post_backups s cKsdhhtd6fS(Nitrestore(RB(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt9post_backups_76a17945_3c6f_435c_975b_b5685db10b62_restorescKsdhhtd6fS(NiR (RB(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_backups_1234_restorescKs"dhhhdd6dd6d6fS(Nisfake-backup-servicetbackup_servicesfake-backup-urlt backup_urls backup-record((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt>get_backups_76a17945_3c6f_435c_975b_b5685db10b62_export_records cKs"dhhhdd6dd6d6fS(Nisfake-backup-serviceRsfake-backup-urlRs backup-record((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_backups_1234_export_record"s cKs2d}d}d}dhht|||d6fS(Nshttp://localhost:8776Rs$76a17945-3c6f-435c-975b-b5685db10b62iR5(R;(RRR0R1R((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_backups_import_record(s cKs+d}d}d}dht|||fS(Nshttp://localhost:8776Rs$1B6B6A04-A927-4AEB-810B-B7BAAD49F57Ci(R?(RRR0R1tqos_id1((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt2get_qos_specs_1B6B6A04_A927_4AEB_810B_B7BAAD49F57C4s cKsMd}d}d}d}dhht|||dt|||gd6fS(Nshttp://localhost:8776Rs$1B6B6A04-A927-4AEB-810B-B7BAAD49F57Cs$0FD8DD14-A396-4E55-9573-1FE59042E95Bisname-1R>(R?(RRR0R1Rtqos_id2((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt get_qos_specs;scKs4d}d}d}d}dht||||fS(Nshttp://localhost:8776Rs$1B6B6A04-A927-4AEB-810B-B7BAAD49F57Csqos-namei(R?(RRR0R1tqos_idtqos_name((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_qos_specsEs cKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt2put_qos_specs_1B6B6A04_A927_4AEB_810B_B7BAAD49F57CMscKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt>put_qos_specs_1B6B6A04_A927_4AEB_810B_B7BAAD49F57C_delete_keysPscKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt5delete_qos_specs_1B6B6A04_A927_4AEB_810B_B7BAAD49F57CTscKsDd}d}d}d}dhht||t||gd6fS(Ns$4230B13A-7A37-4E84-B777-EFBA6FCEE4FFs$4230B13A-AB37-4E84-B777-EFBA6FCEE4FFttype1ttype2itqos_associations(RA(RRttype_id1ttype_id2t type_name1t type_name2((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt?get_qos_specs_1B6B6A04_A927_4AEB_810B_B7BAAD49F57C_associationsWs cKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt<get_qos_specs_1B6B6A04_A927_4AEB_810B_B7BAAD49F57C_associatebscKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt?get_qos_specs_1B6B6A04_A927_4AEB_810B_B7BAAD49F57C_disassociatefscKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytCget_qos_specs_1B6B6A04_A927_4AEB_810B_B7BAAD49F57C_disassociate_alljscKs2d}d}d}dhht|||d6fS(Nshttp://localhost:8776RRiRC(RF(RRR0R1t transfer1((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_os_volume_transfer_5678ss cKsJd}d}d}d}dhht|||t|||gd6fS(Nshttp://localhost:8776RRs$f625ec3e-13dd-4498-a22a-50afd534cc41it transfers(RF(RRR0R1R*t transfer2((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_os_volume_transfer_detail{scKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytdelete_os_volume_transfer_5678scKs2d}d}d}dhht|||d6fS(Nshttp://localhost:8776RRiRC(RG(RRR0R1R*((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_os_volume_transfers cKs2d}d}d}dhht|||d6fS(Nshttp://localhost:8776RRiRC(RG(RRR0R1R*((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt#post_os_volume_transfer_5678_accepts c sJ|idd|iddhdd6dd6dd6dd6d d 6td d d dddd6hdd6dd6dd6dd6dd 6td dddddd6hdd6dd6dd6dd6dd 6td dddddd6g}otfd|}notfd|}ndhh|d6fS(NRtbinarys cinder-volumethost1R tzonetenabledRtuptstateii ii i*it updated_atthost2tdisabledtdowni iiii&scinder-schedulercs|djS(R((ti(R(sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytscs|djS(R2((R<(R2(sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyR=sitservices(RQRRtfilter(RRR>((R2RsM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_os_servicess8"cKs*dhh|dd6|dd6dd6fS(NiRR2R5R((RR]R((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytput_os_services_enablescKs*dhh|dd6|dd6dd6fS(NiRR2R:R((RR]R((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytput_os_services_disablescKs5dhh|dd6|dd6dd6|dd6fS(NiRR2R:Rtdisabled_reason((RR]R((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt"put_os_services_disable_log_reasonscKsRdhhhdd6htd6d6dd6hdd6htd6d6dd6gd6fS( Niszone-1tzoneNameRt zoneStatethostsszone-2tavailabilityZoneInfo(tTrueRR(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_os_availability_zones cKsdhhhdd6htd6d6hhhtd6td6tddd d d d d d6d6d6d6hdd6htd6d6hhhtd6td6tddd d d dd d6d6d6d6hdd6htd6d6dd6gd6fS(Niszone-1RERRFtactiveii iii-iiR8s cinder-volumes fake_host-1RGtinternalis cinder-schedszone-2RH(RIRRR(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_os_availability_zone_details. ++cKs"dhhhdd6dd6d6fS(Nitval1tkey1tval2tkey2R ((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_snapshots_1234_metadatascKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt#delete_snapshots_1234_metadata_key1scKs dhdfS(Ni(R(RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyt#delete_snapshots_1234_metadata_key2scKs"dhhhdd6dd6d6fS(NiRNRORPRQR ((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytput_volumes_1234_metadata scKs"dhhhdd6dd6d6fS(NiRNRORPRQR ((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytput_snapshots_1234_metadata scKs8tdd}|i|dddhh|d6fS(NRRR]Ri(RR(RRR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_os_volume_managescKs dhhfS(Ni((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_os_promote_replica_1234scKs dhhfS(Ni((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytpost_os_reenable_replica_1234scKsxhdd6h dd6td6dd6dd 6dd 6d d 6d d6dd6dd6dd6dd6d6g}dhh|d6fS(Nsubuntu@lvm#backend_nameRt backend_namet pool_namet QoS_supports2014-11-21T18:15:28.141161t timestampitallocated_capacity_gbtvolume_backend_nameg ףp= @tfree_capacity_gbs2.0.0tdriver_versiongQ$@ttotal_capacity_gbtreserved_percentages Open Sourcet vendor_nametiSCSItstorage_protocolt capabilitiesitpools(R(RRtstats((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_scheduler_stats_get_poolsscKsSdhhdd6dd6dd6dd 6d d 6hhd d 6dd6dd6d6d6fS(NisOS::Storage::Capabilities::fakeRt OpenStackRdtlvmR_tpoolR[ReRft CompressionttitlesEnables compression.Rtbooleanttypet compressiont properties((RR((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pytget_capabilities_host/s(kRURVRPR}RTRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR R R RRRRRRRRRRRR&R'R(R)R+R.R/R0R1R@RARBRDRJRMRRRSRTRURVRWRXRYRjRt(((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyRRs -               3                                                          #     '         ($RRit ImportErrort urllib.parsetparset cinderclientRt base_clienttcinderclient.tests.unitRtcinderclient.tests.unit.utilstteststunitRttcinderclient.v2RR"RIR(R+R/R3R4R:R;RR?RARBRFRGRIRJROt HTTPClientRR(((sM/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/tests/unit/v2/fakes.pyts2