/usr/lib/python2.6/site-packages/openstackclient/compute/v2
Edit: /usr/lib/python2.6/site-packages/openstackclient/compute/v2/aggregate.pyc (10021B)
Ñò
;vVc
@ s! d Z d d k Z d d k Z d d k l Z d d k l Z d d k l Z d d k l Z d d k l Z d e i
f d „ ƒ YZ d
e i
f d „ ƒ YZ d e i
f d
„ ƒ YZ d e i f d „ ƒ YZ d e i
f d „ ƒ YZ d e i
f d „ ƒ YZ d e i
f d „ ƒ YZ d S( s+ Compute v2 Aggregate action implementationsiÿÿÿÿN( t command( t lister( t show( t
parseractions( t utilst AddAggregateHostc B s3 e Z d Z e i e d ƒ Z d „ Z d „ Z RS( s Add host to aggregates .AddAggregateHostc C sN t t | ƒ i | ƒ } | i d d d d d ƒ| i d d d d d ƒ| S( Nt aggregatet metavars
t helps Aggregate (name or ID)t hosts s Host to add to ( t superR t
get_parsert add_argument( t selft prog_namet parser( ( sT /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/compute/v2/aggregate.pyR # s c C s | i i d | ƒ | i i i } t i | i | i ƒ } | i i | | i
ƒ } h } | i | i ƒ t
t t i | ƒ ƒ Œ S( Ns take_action(%s)( t logt debugt appt client_managert computeR t
find_resourcet
aggregatesR t add_hostR t updatet _infot zipt sortedt sixt iteritems( R
t parsed_argst compute_clientR t datat info( ( sT /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/compute/v2/aggregate.pyt take_action1 s ( t __name__t
__module__t __doc__t loggingt getLoggerR R R" ( ( ( sT /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/compute/v2/aggregate.pyR s t CreateAggregatec B s3 e Z d Z e i e d ƒ Z d „ Z d „ Z RS( s Create a new aggregates .CreateAggregatec C sp t t | ƒ i | ƒ } | i d d d d d ƒ| i d d d d d ƒ| i d d d
d t i d d ƒ| S(
Nt nameR s R s New aggregate names --zones s Availability zone names
--propertys t actionsL Property to add to this aggregate (repeat option to set multiple properties)( R
R( R R R t KeyValueAction( R
R R ( ( sT /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/compute/v2/aggregate.pyR F s c C sœ | i i d | ƒ | i i i } h } | i i | i | i ƒ } | i | i
ƒ | i o&