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@sLdZddlmZdejfd„ƒYZdejfd„ƒYZdS(s
QoS Specs interface.
iÿÿÿÿ(tbasetQoSSpecscBs eZdZd„Zd„ZRS(sCQoS specs entity represents quality-of-service parameters/requirements.

    A QoS specs is a set of parameters or requirements for quality-of-service
    purpose, which can be associated with volume types (for now).  In future,
    QoS specs may be extended to be associated other entities, such as single
    volume.
    cCsd|jS(Ns<QoSSpecs: %s>(tname(tself((sN/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v1/qos_specs.pyt__repr__!scCs|jj|ƒS(N(tmanagertdelete(R((sN/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v1/qos_specs.pyR$s(t__name__t
__module__t__doc__RR(((sN/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v1/qos_specs.pyRs	tQoSSpecsManagercBsteZdZeZdd„Zd„Zed„Z	d„Z
d„Zd„Zd„Z
d„Zd	„Zd
„ZRS(s-
    Manage :class:`QoSSpecs` resources.
    cCs|jddƒS(sQGet a list of all qos specs.

        :rtype: list of :class:`QoSSpecs`.
        s
/qos-specst	qos_specs(t_list(Rtsearch_opts((sN/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v1/qos_specs.pytlist.scCs|jdtj|ƒdƒS(s‡Get a specific qos specs.

        :param qos_specs: The ID of the :class:`QoSSpecs` to get.
        :rtype: :class:`QoSSpecs`
        s
/qos-specs/%sR(t_getRtgetid(RR((sN/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v1/qos_specs.pytget5scCs$|jdtj|ƒ|fƒdS(säDelete a specific qos specs.

        :param qos_specs: The ID of the :class:`QoSSpecs` to be removed.
        :param force: Flag that indicates whether to delete target qos specs
                      if it was in-use.
        s/qos-specs/%s?force=%sN(t_deleteRR(RRtforce((sN/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v1/qos_specs.pyR=s	cCs8ii|d6d6}|dj|ƒ|jd|dƒS(sÀCreate a qos specs.

        :param name: Descriptive name of the qos specs, must be unique
        :param specs: A dict of key/value pairs to be set
        :rtype: :class:`QoSSpecs`
        RRs
/qos-specs(tupdatet_create(RRtspecstbody((sN/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v1/qos_specs.pytcreateGs
cCs2iid6}|dj|ƒ|jd||ƒS(s³Add/Update keys in a qos_specs.

        :param qos_specs: The ID of qos specs
        :param specs: A dict of key/value pairs to be set
        :rtype: :class:`QoSSpecs`
        Rs
/qos-specs/%s(Rt_update(RRRR((sN/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v1/qos_specs.pytset_keysXs
cCs!i|d6}|jd||ƒS(s§Remove keys from a qos specs.

        :param qos_specs: The ID of qos specs
        :param specs: A list of key to be unset
        :rtype: :class:`QoSSpecs`
        tkeyss/qos-specs/%s/delete_keys(R(RRRR((sN/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v1/qos_specs.pyt
unset_keysgs

cCs|jdtj|ƒdƒS(s¹Get associated entities of a qos specs.

        :param qos_specs: The id of the :class: `QoSSpecs`
        :return: a list of entities that associated with specific qos specs.
        s/qos-specs/%s/associationstqos_associations(RRR(RR((sN/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v1/qos_specs.pytget_associationstscCs*|jjjdtj|ƒ|fƒdS(s½Associate a volume type with specific qos specs.

        :param qos_specs: The qos specs to be associated with
        :param vol_type_id: The volume type id to be associated with
        s&/qos-specs/%s/associate?vol_type_id=%sN(tapitclientRRR(RRtvol_type_id((sN/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v1/qos_specs.pyt	associate}scCs*|jjjdtj|ƒ|fƒdS(sµDisassociate qos specs from volume type.

        :param qos_specs: The qos specs to be associated with
        :param vol_type_id: The volume type id to be associated with
        s)/qos-specs/%s/disassociate?vol_type_id=%sN(RR RRR(RRR!((sN/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v1/qos_specs.pytdisassociate†scCs$|jjjdtj|ƒƒdS(szDisassociate all entities from specific qos specs.

        :param qos_specs: The qos specs to be associated with
        s/qos-specs/%s/disassociate_allN(RR RRR(RR((sN/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v1/qos_specs.pytdisassociate_allsN(RRR	Rtresource_classtNoneRRtFalseRRRRRR"R#R$(((sN/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v1/qos_specs.pyR
(s	
			
						N(R	tcinderclientRtResourceRtManagerWithFindR
(((sN/home/tvault/.virtenv/lib/python2.7/site-packages/cinderclient/v1/qos_specs.pyt<module>s