/usr/lib/python2.6/site-packages/novaclient/v2
Edit: /usr/lib/python2.6/site-packages/novaclient/v2/hosts.pyc (3254B)
Ñò
=vVc @ sL d Z d d k l Z d e i f d „ ƒ YZ d e i f d „ ƒ YZ d S( s!
host interface (1.1 extension).
iÿÿÿÿ( t baset Hostc B s> e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s d | i S( Ns
( t host( t self( ( s> /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/hosts.pyt __repr__ s c C sO d | j o | d p | } x* | i ƒ D] \ } } t | | | ƒ q+ Wd S( Nt resource( t itemst setattr( R t infot dicot kt v( ( s> /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/hosts.pyt _add_details s
c C s | i i | i | ƒ S( N( t managert updateR ( R t values( ( s> /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/hosts.pyR s c C s | i i | i d ƒ S( Nt startup( R
t host_actionR ( R ( ( s> /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/hosts.pyR " s c C s | i i | i d ƒ S( Nt shutdown( R
R R ( R ( ( s> /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/hosts.pyR % s c C s | i i | i d ƒ S( Nt reboot( R
R R ( R ( ( s> /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/hosts.pyR ( s ( t __name__t
__module__R R R R R R ( ( ( s> /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/hosts.pyR s t HostManagerc B s; e Z e Z d „ Z d „ Z d „ Z d d „ Z e Z RS( c C s | i d | d ƒ S( sf
Describes cpu/memory/hdd info for host.
:param host: destination host name.
s /os-hosts/%sR ( t _list( R R ( ( s> /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/hosts.pyt get/ s c C s | i d | | ƒ S( s/ Update status or maintenance mode for the host.s /os-hosts/%s( t _update( R R R ( ( s> /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/hosts.pyR 7 s c C s% d i | | ƒ } | i i i | ƒ S( s Perform an action on a host.s /os-hosts/{0}/{1}( t formatt apit clientR ( R R t actiont url( ( s> /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/hosts.pyR ; s c C s+ d } | o d | } n | i | d ƒ S( Ns /os-hostss /os-hosts?zone=%st hosts( R ( R t zoneR ( ( s> /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/hosts.pyt list@ s N(
R R R t resource_classR R R t NoneR! t list_all( ( ( s> /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/hosts.pyR , s N( t __doc__t
novaclientR t ResourceR t ManagerWithFindR ( ( ( s> /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/hosts.pyt s