Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
ó
³EYc@s\dZddlmZddlmZdejfd„ƒYZdejfd„ƒYZdS(s Volume interface (v2 extension).iÿÿÿÿ(tbasetVolumecBsIeZdZd„Zed„Zd„Zddd„Zd„Z	d„Z
d„Zd	„Zd
„Z
d„Zd„Zd
„Zd„Zd„Zd„Zddd„Zd„Zddd„Zd„Zd„Zd„Zd„Zd„Zddddded„Zeddddd„Zd„Zd„Z d„Z!d„Z"RS( sDA volume is an extra block level storage to the OpenStack instances.cCsd|jS(Ns<Volume: %s>(tid(tself((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyt__repr__scCs|jj|d|ƒS(sDelete this volume.tcascade(tmanagertdelete(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRscKs|jj||S(s/Update the name or description for this volume.(Rtupdate(Rtkwargs((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRstrwcCs|jj|||||ƒS(sSet attachment metadata.

        :param instance_uuid: uuid of the attaching instance.
        :param mountpoint: mountpoint on the attaching instance or host.
        :param mode: the access mode.
        :param host_name: name of the attaching host.
        (Rtattach(Rt
instance_uuidt
mountpointtmodet	host_name((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR#scCs|jj|ƒS(sClear attachment metadata.(Rtdetach(R((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR.scCs|jj|ƒS(sReserve this volume.(Rtreserve(Rtvolume((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR2scCs|jj|ƒS(sUnreserve this volume.(Rt	unreserve(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR6scCs|jj|ƒS(sBegin detaching volume.(Rtbegin_detaching(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR:scCs|jj|ƒS(sRoll detaching volume.(Rtroll_detaching(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR>scCs|jj||ƒS(s]Initialize a volume connection.

        :param connector: connector dict from nova.
        (Rtinitialize_connection(RRt	connector((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRBscCs|jj||ƒS(s\Terminate a volume connection.

        :param connector: connector dict from nova.
        (Rtterminate_connection(RRR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRIscCs|jj||ƒS(s§Set or Append metadata to a volume.

        :param volume : The :class: `Volume` to set metadata on
        :param metadata: A dict of key/value pairs to set
        (Rtset_metadata(RRtmetadata((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRPscCs|jj|||ƒS(s¢Set a volume's image metadata.

        :param volume : The :class: `Volume` to set metadata on
        :param metadata: A dict of key/value pairs to set
        (Rtset_image_metadata(RRR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRXscCs|jj|||ƒS(sœDelete specified keys from volume's image metadata.

        :param volume: The :class:`Volume`.
        :param keys: A list of keys to be removed.
        (Rtdelete_image_metadata(RRtkeys((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR`scCs|jj|ƒS(s‡Show a volume's image metadata.

        :param volume : The :class: `Volume` where the image metadata
            associated.
        (Rtshow_image_metadata(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRhscCs|jj|||||ƒS(s?Upload a volume to image service as an image.
        :param force: Boolean to enables or disables upload of a volume that
                      is attached to an instance.
        :param image_name: The new image name.
        :param container_format: Container format type.
        :param disk_format: Disk format type.
        :param visibility: The accessibility of image (allowed for
                           3.1-latest).
        :param protected: Boolean to decide whether prevents image from being
                          deleted (allowed for 3.1-latest).
        (Rtupload_to_image(Rtforcet
image_nametcontainer_formattdisk_formatt
visibilityt	protected((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRpscCs|jj|ƒS(s€Delete the specified volume ignoring its current state.

        :param volume: The UUID of the volume to force-delete.
        (Rtforce_delete(R((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR&scCs|jj||||ƒS(s‰Update the volume with the provided state.

        :param state: The state of the volume to set.
        :param attach_status: The attach_status of the volume to be set,
                              or None to keep the current status.
        :param migration_status: The migration_status of the volume to be set,
                                 or None to keep the current status.
        (Rtreset_state(Rtstatet
attach_statustmigration_status((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR'ˆs	cCs|jj||ƒS(s©Extend the size of the specified volume.

        :param volume: The UUID of the volume to extend
        :param new_size: The desired size to extend volume to.
        (Rtextend(RRtnew_size((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR+”scCs|jj||||ƒS(s!Migrate the volume to a new host.(Rtmigrate_volume(Rthosttforce_host_copytlock_volume((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR-œscCs|jj|||ƒS(sChange a volume's type.(Rtretype(Rtvolume_typetpolicy((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR1¡scCs|jj||ƒS(s#Update all metadata of this volume.(Rtupdate_all_metadata(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR4¥scCs|jj||ƒS(sðUpdate the read-only access mode flag of the specified volume.

        :param volume: The UUID of the volume to update.
        :param read_only: The value to indicate whether to update volume to
            read-only access mode.
        (Rtupdate_readonly_flag(RRt	read_only((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR5©sc		Cs=|jjd|d|d|d|d|d|d|d|ƒS(	sManage an existing volume.R.treftnametdescriptionR2tavailability_zoneRtbootable(Rtmanage(	RR.R7R8R9R2R:RR;((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR<²s
cCs.|jj|d|d|d|d|d|ƒS(Ntdetailedtmarkertlimittoffsettsort(Rtlist_manageable(RR.R=R>R?R@RA((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRB¼scCs|jj|ƒS(sUnmanage a volume.(Rtunmanage(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRCÂscCs|jj|ƒS(s0Promote secondary to be primary in relationship.(Rtpromote(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRDÆscCs|jj|ƒS(s:Sync the secondary volume with primary for a relationship.(Rtreenable(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyREÊscCs|jj|ƒS(s#Show pool information for backends.(Rt	get_pools(Rtdetail((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRFÎsN(#t__name__t
__module__t__doc__RtFalseRRtNoneRRRRRRRRRRRRRR&R'R+R-R1R4R5R<tTrueRBRCRDRERF(((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRsD																										t
VolumeManagercBsÍeZdZeZd&d&d&d&d&d&d&d&d&d&d&d&d&ed„Zd„Ze	d&d&d&d&d&d&d„Z
ed„Zd„Zd&d„Z
dd&d„Zd&d	„Zd
„Zd„Zd„Zd
„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd&d&d„Zd„Zd„Zd„Z d„Z!d„Z"d„Z#d„Z$d„Z%d&d&d&d&d&ed „Z&e	d&d&d&d&d!„Z'd"„Z(d#„Z)d$„Z*d%„Z+RS('s!Manage :class:`Volume` resources.cCs¾|dkri}n|}ii|d6|d6|d6|d6|d6|d6|d6|	d6|
d	6d
d6dd
6|d6|d6|d6|d6|d6d6}|
r«|
|d<n|jd|dƒS(sCreate a volume.

        :param size: Size of volume in GB
        :param consistencygroup_id: ID of the consistencygroup
        :param snapshot_id: ID of the snapshot
        :param name: Name of the volume
        :param description: Description of the volume
        :param volume_type: Type of volume
        :param user_id: User id derived from context
        :param project_id: Project id derived from context
        :param availability_zone: Availability Zone to use
        :param metadata: Optional metadata to set on volume creation
        :param imageRef: reference to an image stored in glance
        :param source_volid: ID of source volume to clone from
        :param source_replica: ID of source volume to clone replica
        :param scheduler_hints: (optional extension) arbitrary key-value pairs
                            specified by the client to help boot an instance
        :param multiattach: Allow the volume to be attached to more than
                            one instance
        :rtype: :class:`Volume`
        tsizetconsistencygroup_idtsnapshot_idR8R9R2tuser_idt
project_idR:tcreatingtstatustdetachedR)RtimageReftsource_volidtsource_replicatmultiattachRsOS-SCH-HNT:scheduler_hintss/volumesN(RLt_create(RRORPRQRXR8R9R2RRRSR:RRWtscheduler_hintsRYRZtvolume_metadatatbody((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pytcreate×s,	

cCs|jd|dƒS(snGet a volume.

        :param volume_id: The ID of the volume to get.
        :rtype: :class:`Volume`
        s/volumes/%sR(t_get(Rt	volume_id((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pytgetsc
CsUd}|j|d|d|d|d|d|d|d|ƒ}	|j|	|d|ƒS(	sjLists all volumes.

        :param detailed: Whether to return detailed volume info.
        :param search_opts: Search options to filter out volumes.
        :param marker: Begin returning volumes that appear later in the volume
                       list than that represented by this volume id.
        :param limit: Maximum number of volumes to return.
        :param sort_key: Key to be sorted; deprecated in kilo
        :param sort_dir: Sort direction, should be 'desc' or 'asc'; deprecated
                         in kilo
        :param sort: Sort information
        :rtype: list of :class:`Volume`
        tvolumesR=tsearch_optsR>R?tsort_keytsort_dirRA(t_build_list_urlt_list(
RR=RdR>R?ReRfRAt
resource_typeturl((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pytlistscCs3dtj|ƒ}|r&|d7}n|j|ƒS(s‰Delete a volume.

        :param volume: The :class:`Volume` to delete.
        :param cascade: Also delete dependent snapshots.
        s/volumes/%ss
?cascade=True(Rtgetidt_delete(RRRtloc((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR.s
cKs4|s
dSi|d6}|jdtj|ƒ|ƒS(slUpdate the name or description for a volume.

        :param volume: The :class:`Volume` to update.
        NRs/volumes/%s(t_updateRRl(RRR	R^((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR<s
cKsji||6}|jd||dtj|ƒ}|jjj|d|ƒ\}}tj||f|ƒS(s#Perform a volume "action."
        tmodify_body_for_actions/volumes/%s/actionR^(t	run_hooksRRltapitclienttposttcommon_baset
TupleWithMeta(RtactionRtinfoR	R^Rjtresp((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyt_actionHs

!R
cCsmi|d6|d6}|dk	r7|ji|d6ƒn|dk	rZ|ji|d6ƒn|jd||ƒS(smSet attachment metadata.

        :param volume: The :class:`Volume` (or its ID)
                       you would like to attach.
        :param instance_uuid: uuid of the attaching instance.
        :param mountpoint: mountpoint on the attaching instance or host.
        :param mode: the access mode.
        :param host_name: name of the attaching host.
        R
RRRs	os-attachN(RLRRz(RRRR
RRR^((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRQscCs|jd|i|d6ƒS(sÏClear attachment metadata.

        :param volume: The :class:`Volume` (or its ID)
                       you would like to detach.
        :param attachment_uuid: The uuid of the volume attachment.
        s	os-detacht
attachment_id(Rz(RRtattachment_uuid((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRcscCs|jd|ƒS(s‡Reserve this volume.

        :param volume: The :class:`Volume` (or its ID)
                       you would like to reserve.
        s
os-reserve(Rz(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRmscCs|jd|ƒS(s‹Unreserve this volume.

        :param volume: The :class:`Volume` (or its ID)
                       you would like to unreserve.
        sos-unreserve(Rz(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRuscCs|jd|ƒS(sŽBegin detaching this volume.

        :param volume: The :class:`Volume` (or its ID)
                       you would like to detach.
        sos-begin_detaching(Rz(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR}scCs|jd|ƒS(s•Roll detaching this volume.

        :param volume: The :class:`Volume` (or its ID)
                       you would like to roll detaching.
        sos-roll_detaching(Rz(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR…scCs6|jd|i|d6ƒ\}}tj|d|ƒS(s•Initialize a volume connection.

        :param volume: The :class:`Volume` (or its ID).
        :param connector: connector dict from nova.
        sos-initialize_connectionRtconnection_info(RzRutDictWithMeta(RRRRyR^((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRscCs|jd|i|d6ƒS(s”Terminate a volume connection.

        :param volume: The :class:`Volume` (or its ID).
        :param connector: connector dict from nova.
        sos-terminate_connectionR(Rz(RRR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR—scCs-i|d6}|jdtj|ƒ|dƒS(s‡Update/Set a volumes metadata.

        :param volume: The :class:`Volume`.
        :param metadata: A list of keys to be set.
        Rs/volumes/%s/metadata(R[RRl(RRRR^((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR s
cCs\g}xC|D];}|jdtj|ƒ|fƒ\}}|j|ƒq
Wtjg|ƒS(s•Delete specified keys from volumes metadata.

        :param volume: The :class:`Volume`.
        :param keys: A list of keys to be removed.
        s/volumes/%s/metadata/%s(RmRRltappendRutListWithMeta(RRRt
response_listtkRyR^((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pytdelete_metadataªs
	cCs|jd|i|d6ƒS(s®Set a volume's image metadata.

        :param volume: The :class:`Volume`.
        :param metadata: keys and the values to be set with.
        :type metadata: dict
        sos-set_image_metadataR(Rz(RRR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR¸scCsVg}x=|D]5}|jd|i|d6ƒ\}}|j|ƒq
Wtjg|ƒS(sœDelete specified keys from volume's image metadata.

        :param volume: The :class:`Volume`.
        :param keys: A list of keys to be removed.
        sos-unset_image_metadatatkey(RzRRuR€(RRRRR„RyR^((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRÂs
cCs|jd|ƒS(s‡Show a volume's image metadata.

        :param volume : The :class: `Volume` where the image metadata
            associated.
        sos-show_image_metadata(Rz(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRÐscCs/|jd|i|d6|d6|d6|d6ƒS(shUpload volume to image service as image.

        :param volume: The :class:`Volume` to upload.
        sos-volume_upload_imageR R!R"R#(Rz(RRR R!R"R#((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRØs	
cCs|jdtj|ƒƒS(s}Delete the specified volume ignoring its current state.

        :param volume: The :class:`Volume` to force-delete.
        sos-force_delete(RzRRl(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR&åscCsf|ri|d6ni}|r6|ji|d6ƒn|rS|ji|d6ƒn|jd||ƒS(sÒUpdate the provided volume with the provided state.

        :param volume: The :class:`Volume` to set the state.
        :param state: The state of the volume to be set.
        :param attach_status: The attach_status of the volume to be set,
                              or None to keep the current status.
        :param migration_status: The migration_status of the volume to be set,
                                 or None to keep the current status.
        RUR)R*sos-reset_status(RRz(RRR(R)R*R^((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR'ìscCs#|jdtj|ƒi|d6ƒS(s¬Extend the size of the specified volume.

        :param volume: The UUID of the volume to extend.
        :param new_size: The requested size to extend volume to.
        s	os-extendR,(RzRRl(RRR,((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR+þs	cCs)|jd|ƒ}tj|j|jƒS(sÀ
        Retrieve the encryption metadata from the desired volume.

        :param volume_id: the id of the volume to query
        :return: a dictionary of volume encryption metadata
        s/volumes/%s/encryption(R`RuR~t_infotrequest_ids(RRaR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pytget_encryption_metadatascCs(|jd|i|d6|d6|d6ƒS(s-Migrate volume to new host.

        :param volume: The :class:`Volume` to migrate
        :param host: The destination host
        :param force_host_copy: Skip driver optimizations
        :param lock_volume: Lock the volume and guarantee the migration
                            to finish
        sos-migrate_volumeR.R/R0(Rz(RRR.R/R0((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR-s		cCsHtj|ƒ}|jd|i|d6|d6ƒ\}}tj||ƒS(s$Complete the migration from the old volume to the temp new one.

        :param old_volume: The original :class:`Volume` in the migration
        :param new_volume: The new temporary :class:`Volume` in the migration
        :param error: Inform of an error to cause migration cleanup
        sos-migrate_volume_completiont
new_volumeterror(RRlRzRuR~(Rt
old_volumeRˆR‰t
new_volume_idRyR^((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pytmigrate_volume_completion s

cCs*i|d6}|jdtj|ƒ|ƒS(sUpdate all metadata of a volume.

        :param volume: The :class:`Volume`.
        :param metadata: A list of keys to be updated.
        Rs/volumes/%s/metadata(RoRRl(RRRR^((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR4-s
cCs#|jdtj|ƒi|d6ƒS(Nsos-update_readonly_flagtreadonly(RzRRl(RRtflag((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR57s	cCs!|jd|i|d6|d6ƒS(sÀChange a volume's type.

        :param volume: The :class:`Volume` to retype
        :param volume_type: New volume type
        :param policy: Policy for migration during the retype
        s	os-retypetnew_typetmigration_policy(Rz(RRR2R3((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR1<s	
cCs#|jdtj|ƒi|d6ƒS(Nsos-set_bootableR;(RzRRl(RRRŽ((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pytset_bootableHs	c	
CsXii|d6|d6|d6|d6|d6|d6|d6|d6d	6}	|jd
|	d	ƒS(sManage an existing volume.R.R7R8R9R2R:RR;Rs/os-volume-manage(R[(
RR.R7R8R9R2R:RR;R^((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyR<Ms
cCsJ|jdd|di|d6d|d|d|d|ƒ}|j|d	ƒS(
Nsos-volume-manageR=RdR.R>R?R@RAsmanageable-volumes(RgRh(RR.R=R>R?R@RARj((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRB\scCs|jd|dƒS(sUnmanage a volume.sos-unmanageN(RzRL(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRCcscCs|jd|dƒS(s0Promote secondary to be primary in relationship.sos-promote-replicaN(RzRL(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRDgscCs|jd|dƒS(s:Sync the secondary volume with primary for a relationship.sos-reenable-replicaN(RzRL(RR((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyREkscCs)d}|rd}n|jd|dƒS(s#Show pool information for backends.ts?detail=Trues/scheduler-stats/get_pools%sN(R`RL(RRGtquery_string((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRFos	N(,RHRIRJRtresource_classRLRKR_RbRMRkRRRzRRRRRRRRRRƒRRRRR&R'R+R‡R-RŒR4R5R1R‘R<RBRCRDRERF(((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyRNÓsd		2			
					
			
		
			
		
	
		
	
				
				N(	RJtcinderclient.apiclientRRutcinderclienttResourceRtManagerWithFindRN(((sL/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v2/volumes.pyt<module>s½