관리-도구
편집 파일: virsh.pyc
� u��ec @ sE d d l m Z m Z m Z m Z d e e e e f d � � YZ d S( i����( t Plugint RedHatPlugint UbuntuPlugint DebianPlugint LibvirtClientc B s) e Z d Z d Z d Z d Z d � Z RS( s* client for libvirt virtualization API t virsht systemt virts libvirt-clientc C s� | j d d g � d } d d d d d d d g } x% | D] } | j d | | f � q; Wx� d d d g D]� } | j d | | f � } | d d k rl | d j � } | d j � j d � } xK t d � | d � D]0 } | j � | } | j d | | | f � q� Wql ql W| j d | � } | d d k r�| d j � d } xa t d � | � D]J } | j � d } x1 d d d g D] } | j d | | | f � q�Wq`Wn d S( Ns /root/.cache/virt-manager/*.logs /root/.virt-manager/*.logs virsh -rs list --allt domcapabilitiest capabilitiest nodeinfot freecells node-memory-tunet versions %s %st nett nwfiltert pools %s %s-listt statusi t outputt Namec S s | S( N( ( t x( ( s5 /usr/lib/python2.7/site-packages/sos/plugins/virsh.pyt <lambda>3 s i s %s %s-dumpxml %ss %s list --allc S s | S( N( ( R ( ( s5 /usr/lib/python2.7/site-packages/sos/plugins/virsh.pyR <