/usr/lib/python2.6/site-packages/cinderclient/v2
Edit: /usr/lib/python2.6/site-packages/cinderclient/v2/services.pyc (2639B)
Ñò
=vVc @ sL d Z d d k l Z d e i f d „ ƒ YZ d e i f d „ ƒ YZ d S( s
service interface
iÿÿÿÿ( t baset Servicec B s e Z d „ Z RS( c C s d | i S( Ns
( t service( t self( ( sE /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/v2/services.pyt __repr__ s ( t __name__t
__module__R ( ( ( sE /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/v2/services.pyR s t ServiceManagerc B s8 e Z e Z d d d „ Z d „ Z d „ Z d „ Z RS( c C sx d } g } | o | i d | ƒ n | o | i d | ƒ n | o d | d i | ƒ f } n | i | d ƒ S( s†
Describes service list for host.
:param host: destination host name.
:param binary: service binary.
s /os-servicess host=%ss binary=%ss %s?%st &t services( t appendt joint _list( R t hostt binaryt urlt filters( ( sE /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/v2/services.pyt list s c C s6 h | d 6| d 6} | i d | ƒ } | i | | ƒ S( s4 Enable the service specified by hostname and binary.R
R s /os-services/enable( t _updatet resource_class( R R
R t bodyt result( ( sE /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/v2/services.pyt enable0 s c C s6 h | d 6| d 6} | i d | ƒ } | i | | ƒ S( s5 Disable the service specified by hostname and binary.R
R s /os-services/disable( R R ( R R
R R R ( ( sE /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/v2/services.pyt disable6 s c C s= h | d 6| d 6| d 6} | i d | ƒ } | i | | ƒ S( s Disable the service with reason.R
R t disabled_reasons /os-services/disable-log-reason( R R ( R R
R t reasonR R ( ( sE /tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/v2/services.pyt disable_log_reason<