/usr/lib/python2.6/site-packages/openstackclient/common
Edit: /usr/lib/python2.6/site-packages/openstackclient/common/quota.pyc (6100B)
Ñò
;vVc
@ s, d Z d d k Z d d k Z d d k Z d d k Z d d k l Z d d k l Z d d k l Z h d d 6d d 6d d
6d d 6d
d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6Z
h d d 6d d 6d d 6Z h d d 6d d 6d d 6Z d! e i
f d" „ ƒ YZ d# e i f d$ „ ƒ YZ d S(% s Quota action implementationsiÿÿÿÿN( t command( t show( t utilst coress fixed-ipst fixed_ipss floating-ipst floating_ipss injected-file-sizet injected_file_content_bytess injected-path-sizet injected_file_path_bytess injected-filest injected_filest instancess key-pairst key_pairst
propertiest metadata_itemst rams secgroup-rulest security_group_rulest secgroupst security_groupst gigabytest snapshotst volumest
floatingipt security_group_rulet security_groupt SetQuotac B sB e Z d Z e i e d ƒ Z d „ Z e i e ƒ d „ ƒ Z RS( s Set quotas for project or classs .SetQuotac
C sÍ t t | ƒ i | ƒ } | i d d d d d ƒ| i d d d d d
d t d d ƒxW t i t i ƒ t i ƒ ƒ D]7 \ } } | i d
| d d | d t
d d | ƒqu W| i d d d d d ƒ| S( Nt projectt metavars
t helps. Set quotas for this project or class (name/ID)s --classt destt quota_classt actiont
store_truet defaults Set quotas for s --%ss <%s>t types New value for the %s quotas
--volume-types
s' Set quotas for a specific ( t superR t
get_parsert add_argumentt Falset itertoolst chaint COMPUTE_QUOTASt itemst
VOLUME_QUOTASt int( t selft prog_namet parsert kt v( ( sL /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/common/quota.pyR" A s0
c C s¢ | i i i } | i i i } h } xG t i ƒ D]9 \ } } t | | d ƒ } | d j o | | |