/usr/lib/python2.6/site-packages/cinderclient/v2
Edit: /usr/lib/python2.6/site-packages/cinderclient/v2/cgsnapshots.pyc (4779B)
Ņō
=vVc @ s d Z d d k Z y d d k l Z Wn# e j
o d d k l Z n Xd d k l Z d e i f d YZ d e i
f d YZ d S( s$ cgsnapshot interface (v2 extension).iĸĸĸĸN( t urlencode( t baset
Cgsnapshotc B s) e Z d Z d Z d Z d Z RS( s0 A cgsnapshot is snapshot of a consistency group.c C s d | i S( Ns
( t id( t self( ( sH /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/v2/cgsnapshots.pyt __repr__ s c C s | i i | d S( s Delete this cgsnapshot.N( t managert delete( R ( ( sH /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/v2/cgsnapshots.pyR s c K s | i i | | d S( s3 Update the name or description for this cgsnapshot.N( R t update( R t kwargs( ( sH /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/v2/cgsnapshots.pyR $ s ( t __name__t
__module__t __doc__R R R ( ( ( sH /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/v2/cgsnapshots.pyR s t CgsnapshotManagerc B s_ e Z d Z e Z d d d d d Z d Z e d d Z d Z
d Z d d Z RS( s% Manage :class:`Cgsnapshot` resources.c C sJ h h | d 6| d 6| d 6| d 6| d 6d d 6d 6} | i d | d S(
s\ Creates a cgsnapshot.
:param consistencygroup: Name or uuid of a consistencygroup
:param name: Name of the cgsnapshot
:param description: Description of the cgsnapshot
:param user_id: User id derived from context
:param project_id: Project id derived from context
:rtype: :class:`Cgsnapshot`
t consistencygroup_idt namet descriptiont user_idt
project_idt creatingt statust
cgsnapshots /cgsnapshots( t _create( R R R R R R t body( ( sH /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/v2/cgsnapshots.pyt create- s
c C s | i d | d S( s~ Get a cgsnapshot.
:param cgsnapshot_id: The ID of the cgsnapshot to get.
:rtype: :class:`Cgsnapshot`
s /cgsnapshots/%sR ( t _get( R t
cgsnapshot_id( ( sH /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/v2/cgsnapshots.pyt getD s c C sĄ | d j o
h } n h } x2 t i | D]! \ } } | o | | |