/usr/lib/python2.6/site-packages/openstackclient/compute/v2
Edit: /usr/lib/python2.6/site-packages/openstackclient/compute/v2/host.pyc (3129B)
Ñò
;vVc @ sh d Z d d k Z d d k l Z d d k l Z d e i f d „ ƒ YZ d e i f d „ ƒ YZ d S( s Host action implementationsiÿÿÿÿN( t lister( t utilst ListHostc B s3 e Z d Z e i e d ƒ Z d „ Z d „ Z RS( s List host commands .ListHostc C s5 t t | ƒ i | ƒ } | i d d d d d ƒ| S( Ns --zonet metavars
t helps+ Only return hosts in the availability zone.( t superR t
get_parsert add_argument( t selft prog_namet parser( ( sO /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/compute/v2/host.pyR s c sW | i i d | ƒ | i i i } d ‰ | i i | i ƒ } ˆ ‡ f d † | Dƒ f S( Ns take_action(%s)s Host Namet Servicet Zonec 3 s% x | ] } t i | ˆ ƒ Vq Wd S( N( R t get_item_properties( t .0t s( t columns( sO /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/compute/v2/host.pys 0 s ( s Host NameR R ( t logt debugt appt client_managert computet hostst list_allt zone( R t parsed_argst compute_clientt data( ( R sO /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/compute/v2/host.pyt take_action&