HEX
Server: Apache/2.4.6 () OpenSSL/1.0.2k-fips PHP/8.3.8
System: Linux gateway.rmc-logistics.net 4.1.12-124.48.6.el7uek.x86_64 #2 SMP Tue Mar 16 14:57:50 PDT 2021 x86_64
User: apache (48)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: //lib64/python2.7/site-packages/libvirt.pyo
�
!��[c@s�ddlZyddlZWnsek
r�ej�dZyddlZWn?ek
r�ej�dZee�jd�r�e�nnXnXde	fd��YZ
d�Zdd�Ze
d	�Ze
d
�Ze
d�Zd�Zd
�Zd�Zd�Zd�Ze
d�Ze
d�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z!d�Z"d�Z#d�Z$d e%fd!��YZ&d"e%fd#��YZ'd$e%fd%��YZ(d&e%fd'��YZ)d(e%fd)��YZ*d*e%fd+��YZ+d,e%fd-��YZ,d.e%fd/��YZ-d0e%fd1��YZ.d2e%fd3��YZ/d4e%fd5��YZ0d6e%fd7��YZ1dZ2d8Z3d9Z4d:Z5d;Z6d<Z7dZ8dZ9dZ:d8Z;dZ<d8Z=dZ>dZ?d8Z@d9ZAdZBdZCd8ZDd9ZEd:ZFd;ZGd<ZHd=ZId>ZJd?ZKdZLdZMd8ZNdZOd8ZPdZQdZRd8ZSd9ZTdZUdZVdZWd8ZXdZYd8ZZd:Z[d>Z\d@Z]dAZ^dBZ_dCZ`dDZadEZbdFZcdZdd8Zed:Zfd>Zgd@ZhdAZidBZjdCZkdGZldHZmdIZndJZodKZpdLZqdZrd8ZsdZtd8Zud:Zvd>Zwd@ZxdAZydZzd8Z{d:Z|d>Z}d@Z~dAZdBZ�dCZ�dGZ�dHZ�dIZ�dJZ�dKZ�dLZ�dMZ�dNZ�dZ�d8Z�d:Z�d>Z�dZ�d8Z�d:Z�d>Z�d@Z�dAZ�dBZ�dCZ�dGZ�dHZ�dIZ�dJZ�dKZ�dLZ�dMZ�dNZ�dOZ�dPZ�dQZ�dZ�d8Z�d:Z�d>Z�d@Z�dZ�d8Z�d:Z�dZ�d8Z�dZ�dZ�dZ�dZ�d8Z�d9Z�d:Z�dBZ�dZ�d8Z�d:Z�d>Z�d@Z�dAZ�dBZ�dZ�dZ�dZ�dZ�d8Z�dZ�dZ�d8Z�d9Z�dZ�dZ�d8Z�d9Z�dZ�d8Z�d:Z�d>Z�d@Z�dZ�dZ�d8Z�d9Z�dZ�dZ�dZ�dZ�d8Z�d:Z�d>Z�d@Z�dZ�dZ�dZ�dZ�dZ�d8Z�d:Z�dZ�dZ�d8Z�dZ�dZ�dZ�d8Z�d9Z�dZ�dZ�d8Z�dZ�dZ�d8Z�dZ�dZ�d8Z�d9Z�d:Z�d;Z�d<Z�d=Z�d>Z�d?Z�dRZ�dSZ�dTZ�dUZ�dVZ�dWZ�d@Z�dXZ�dYZ�dZZd[Zd\Zd]Zd^Zd_ZdZdZd8ZdZ	dZ
dZdZd8Z
d9ZdZdZd8ZdZdZd8Zd9Zd:ZdZdZd8Zd9Zd:Zd;Zd<ZdZdZd8Z d9Z!d:Z"d;Z#d<Z$d=Z%d>Z&dZ'dZ(dZ)dZ*d8Z+d9Z,d:Z-d;Z.d<Z/d=Z0d>Z1dZ2dZ3dZ4dZ5d8Z6d9Z7d:Z8d;Z9d<Z:dZ;dZ<dZ=d8Z>dZ?dZ@d8ZAd9ZBd:ZCd;ZDd<ZEd=ZFd>ZGdZHdZId8ZJd9ZKd:ZLd;ZMdZNdZOd8ZPdZQdZRd8ZSd9ZTd:ZUd;ZVdZWd8ZXdZYdZZd8Z[d:Z\dZ]dZ^d8Z_d9Z`d:Zad;Zbd<Zcd=Zdd>Zed?ZfdRZgdRZhdZidZjd8ZkdZld8Zmd:Znd>Zod@ZpdAZqdBZrdCZsdGZtdHZudIZvdJZwdKZxdLZydMZzdNZ{dOZ|dZ}dZ~d8ZdZ�dZ�dZ�d8Z�dZ�dZ�dZ�dZ�dZ�d8Z�d9Z�d:Z�d;Z�d<Z�d=Z�d>Z�d?Z�dRZ�dSZ�dTZ�dUZ�dZ�dZ�d8Z�d9Z�d:Z�d;Z�d<Z�d=Z�d>Z�d?Z�dRZ�dSZ�dTZ�dUZ�dVZ�dWZ�d@Z�dXZ�dYZ�dZZ�d[Z�d\Z�d]Z�d^Z�d_Z�d`Z�daZ�dbZ�dcZ�ddZ�deZ�dfZ�dAZ�dgZ�dhZ�diZ�djZ�dkZ�dlZ�dmZ�dnZ�doZ�dpZ�dqZ�drZ�dsZ�dtZ�duZ�dvZ�dwZ�dxZ�dyZ�dzZ�d{Z�d|Z�d}Z�d~Z�dZ�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�dBZ�dZ�dZ�d8Z�d:Z�d>Z�d@Z�dZ�dZ�d8Z�d9Z�d:Z�d;Z�d<Z�d=Z�d>Z�d?Z�dRZ�dZ�d8Z�d:Z�dZ�dZ�dZ�dZ�d8Z�d:Z�d>Z�d@Z�dZ�dZ�dZ�dZ�d8Z�d9Z�d:Z�d;Z�d<Z�d=Z�dZ�d8Z�d:Z�d>Z�d@ZdAZdBZdCZdGZdZd8Zd:ZdZdZ	d8Z
d:Zd>Zd@Z
dAZdBZdCZdGZdHZdZd8Zd:ZdZdZd8Zd9Zd:Zd;Zd<Zd=ZdZd8Zd:Z d>Z!d@Z"dAZ#dBZ$dZ%d8Z&d:Z'd>Z(dZ)dZ*d8Z+d:Z,d>Z-d@Z.dZ/d8Z0d:Z1d>Z2dZ3dZ4d8Z5d9Z6d:Z7d;Z8d<Z9d=Z:d>Z;d?Z<dRZ=dSZ>dTZ?dUZ@dVZAdWZBd@ZCdXZDdYZEdZZFd[ZGd\ZHd]ZId^ZJd_ZKd`ZLdaZMdbZNdcZOddZPdeZQdfZRdAZSdgZTdhZUdiZVdjZWdkZXdlZYdmZZdnZ[doZ\dpZ]dqZ^drZ_dsZ`dtZaduZbdvZcdwZddxZedyZfdzZgd{Zhd|Zid}Zjd~ZkdZld�Zmd�Znd�Zod�Zpd�Zqd�ZrdBZsd�Ztd�Zud�ZvdZwdZxd8ZydZzdZ{d8Z|d9Z}d:Z~d;Zd<Z�d=Z�d>Z�d?Z�dRZ�dSZ�dTZ�dUZ�dVZ�dWZ�d@Z�dXZ�dYZ�dZZ�d[Z�d\Z�d]Z�d^Z�d_Z�d`Z�daZ�dbZ�dcZ�ddZ�deZ�dfZ�dAZ�dgZ�dhZ�diZ�djZ�dkZ�dlZ�dmZ�dnZ�doZ�dpZ�dqZ�drZ�dsZ�dtZ�duZ�dvZ�dwZ�dxZ�dyZ�dzZ�d{Z�d|Z�d}Z�d~Z�dZ�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�dBZ�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�dZ�d8Z�d:Z�d>Z�dZ�dZ�dZ�dZ�dZ�d8Z�d9Z�d:Z�d;Z�d<Z�d=Z�d>Z�d?Z�dZ�d8Z�d9Z�d:Z�d;Z�d<Z�dZ�dZ�dZ�d8Z�d9Z�dZ�dZ�d8Z�d9Z�d:ZdZdZd8ZdZdZd8Zd9Zd:Zd;Z	d<Z
d=Zd>Zd?Z
dRZdSZdTZdZdZdZdZdZdZdZdZdZdZdZd8ZdZd8Zd9Zd:Z d;Z!d<Z"dZ#dZ$dZ%dZ&dZ'dZ(d8Z)d9Z*d:Z+dZ,dZ-d8Z.d:Z/d>Z0dZ1dZ2d8Z3d:Z4dZ5dZ6dZ7dZ8dZ9dZ:d8Z;d9Z<d:Z=d;Z>dZ?dZ@d8ZAd9ZBd:ZCdZDd8ZEdZFdZGd8ZHdZIdZJdZKdZLd8ZMd:ZNdZOdZPd8ZQd9ZRd:ZSd;ZTdZUdZVdZWd8ZXd9ZYd:ZZd;Z[d<Z\d=Z]d>Z^d?Z_dZ`dZad8Zbd:Zcd>ZddZedZfd:ZgdZhd8Zid9Zjd:Zkd;Zld<Zmd=ZndZodZpd8Zqd�Zrd�Zsd�Ztd�Zud�Zvd�Zwd�Zxd�Zyd�Zzd�Z{d�Z|d�Z}d�Z~d�Zd�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�dZ�dZ�dZ�dZ�dZ�dZ�dZ�dZ�dZ�d	Z�d
Z�dZ�dZ�d
Z�d�Z�dZ�dZ�dZ�dZ�dZ�dZ�dZ�dZ�dZ�dZ�dZ�dZ�dZ�dZ�dZ�dZ�dZ�dZ�d Z�d!Z�d"Z�d#Z�d$Z�d%Z�d&Z�d'Z�d(Z�d)Z�d*Z�d+Z�d,Z�d-Z�d.Z�d/Z�d0Z�d�Z�d1Z�d2Z�d3Z�d4Z�d5Z�d6Z�d7Zd8Zd9Zd:Zd;Zd<Zd=Zd>Zd?Zd@Z	dAZ
dBZdCZdDZ
dEZdFZdGZdHZdIZdJZdKZdLZdMZdNZdOZdPZdQZdRZdSZdTZdUZdVZdWZ dXZ!dYZ"dZZ#d[Z$d\Z%d]Z&d^Z'd_Z(d`Z)daZ*dbZ+dcZ,ddZ-deZ.dfZ/dgZ0dhZ1diZ2dS(ji����NisNo module namedtlibvirtErrorcBsqeZd
d
d
d
d
d�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zd	�ZRS(c	CsHtj�}|dkr!|}n
|d}tj||�||_dS(Ni(t
libvirtmodtvirGetLastErrortNonet	Exceptiont__init__terr(	tselftdefmsgtconntdomtnettpooltvolRtmsg((s-/usr/lib64/python2.7/site-packages/libvirt.pyR!s	
cCs|jdkrdS|jdS(Ni(RR(R((s-/usr/lib64/python2.7/site-packages/libvirt.pytget_error_code/scCs|jdkrdS|jdS(Ni(RR(R((s-/usr/lib64/python2.7/site-packages/libvirt.pytget_error_domain4scCs|jdkrdS|jdS(Ni(RR(R((s-/usr/lib64/python2.7/site-packages/libvirt.pytget_error_message9scCs|jdkrdS|jdS(Ni(RR(R((s-/usr/lib64/python2.7/site-packages/libvirt.pytget_error_level>scCs|jdkrdS|jdS(Ni(RR(R((s-/usr/lib64/python2.7/site-packages/libvirt.pytget_str1CscCs|jdkrdS|jdS(Ni(RR(R((s-/usr/lib64/python2.7/site-packages/libvirt.pytget_str2HscCs|jdkrdS|jdS(Ni(RR(R((s-/usr/lib64/python2.7/site-packages/libvirt.pytget_str3MscCs|jdkrdS|jdS(Ni(RR(R((s-/usr/lib64/python2.7/site-packages/libvirt.pytget_int1RscCs|jdkrdS|jdS(Ni(RR(R((s-/usr/lib64/python2.7/site-packages/libvirt.pytget_int2WsN(
t__name__t
__module__RRRRRRRRRRR(((s-/usr/lib64/python2.7/site-packages/libvirt.pyR s								cCstj||�S(s�Register a Python function for error reporting.
       The function is called back as f(ctx, error), with error
       being a list of information about the error being raised.
       Returns 1 in case of success.(RtvirRegisterErrorHandler(tftctx((s-/usr/lib64/python2.7/site-packages/libvirt.pytregisterErrorHandler_sicCs=tj|||�}|dkr0td��ntd|�S(NsvirConnectOpenAuth() failedt_obj(RtvirConnectOpenAuthRRt
virConnect(turitauthtflagstret((s-/usr/lib64/python2.7/site-packages/libvirt.pytopenAuthfscCsI|dkrtj�}ntj|�}|dkrEtd��n|S(s�If no name parameter is passed (or name is None) then the
    version of the libvirt library is returned as an integer.

    If a name is passed and it refers to a driver linked to the
    libvirt library, then this returns a tuple of (library version,
    driver version).

    If the name passed refers to a non-existent driver, then you
    will get the exception 'no support for hypervisor'.

    Versions numbers are integers: 1000000*major + 1000*minor + release.svirGetVersion() failedN(RRt
virGetVersionR(tnameR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
getVersionoscCsF|r|}|}n|d}|d}tj|||||�dS(s4
    Invoke the Event Impl Handle Callback in C
    iiN(RtvirEventInvokeHandleCallback(twatchtfdteventtopaquetopaquecompattcallback((s-/usr/lib64/python2.7/site-packages/libvirt.pyt_eventInvokeHandleCallback�s	

cCs@|r|}|}n|d}|d}tj|||�dS(s5
    Invoke the Event Impl Timeout Callback in C
    iiN(RtvirEventInvokeTimeoutCallback(ttimerR-R.R/((s-/usr/lib64/python2.7/site-packages/libvirt.pyt_eventInvokeTimeoutCallback�s	

cCs+|d}|d}|||||�dS(NtcbR-i((R*R+teventstcbDataR4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt_dispatchEventHandleCallback�s

cCs%|d}|d}|||�dS(NR4R-i((R2R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt_dispatchEventTimeoutCallback�s


cCsHi|d6|d6}tj|||�}|dkrDtd��n|S(s(
    register a callback for monitoring file handle events

    @fd: file handle to monitor for events
    @events: bitset of events to watch from virEventHandleType constants
    @cb: callback to invoke when an event occurs
    @opaque: user data to pass to callback

    Example callback prototype is:
        def cb(watch,   # int id of the handle
               fd,      # int file descriptor the event occurred on
               events,  # int bitmap of events that have occurred
               opaque): # opaque data passed to eventAddHandle
    R4R-i����svirEventAddHandle() failed(RtvirEventAddHandleR(R+R5R4R-R6R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR9�s
cCsEi|d6|d6}tj||�}|dkrAtd��n|S(s�
    register a callback for a timer event

    @timeout: time between events in milliseconds
    @cb: callback to invoke when an event occurs
    @opaque: user data to pass to callback

    Setting timeout to -1 will disable the timer. Setting the timeout
    to zero will cause it to fire on every event loop iteration.

    Example callback prototype is:
        def cb(timer,   # int id of the timer
               opaque): # opaque data passed to eventAddTimeout
    R4R-i����svirEventAddTimeout() failed(RtvirEventAddTimeoutR(ttimeoutR4R-R6R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR:�s
cCstj|d|d�dS(s
    Execute callback which frees the opaque buffer

    @opaque: the opaque object passed to addHandle or addTimeout

    WARNING: This function should not be called from any call by libvirt's
    core. It will most probably cause deadlock in C-level libvirt code.
    Instead it should be scheduled and called from implementation's stack.

    See https://libvirt.org/html/libvirt-libvirt-event.html#virEventAddHandleFunc
    for more information.

    This function is not dependent on any event loop implementation.
    iiN(RtvirEventInvokeFreeCallback(R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyR<�scCs7tj|�}|dkr*td��ntd|�S(s�This function should be called first to get a connection to the
    Hypervisor and xen store
    
    If @name is None, if the LIBVIRT_DEFAULT_URI environment variable is set,
    then it will be used. Otherwise if the client configuration file
    has the "uri_default" parameter set, then it will be used. Finally
    probing will be done to determine a suitable default driver to activate.
    This involves trying each hypervisor in turn until one successfully opens.
    
    If connecting to an unprivileged hypervisor driver which requires
    the libvirtd daemon to be active, it will automatically be launched
    if not already running. This can be prevented by setting the
    environment variable LIBVIRT_AUTOSTART=0
    
    URIs are documented at https://libvirt.org/uri.html
    
    virConnectClose should be used to release the resources after the connection
    is no longer needed. svirConnectOpen() failedRN(RtvirConnectOpenRRR (R'R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytopenscCs7tj|�}|dkr*td��ntd|�S(s�This function should be called first to get a restricted connection to the
    library functionalities. The set of APIs usable are then restricted
    on the available methods to control the domains.
    
    See virConnectOpen for notes about environment variables which can
    have an effect on opening drivers and freeing the connection resources
    
    URIs are documented at https://libvirt.org/uri.html svirConnectOpenReadOnly() failedRN(RtvirConnectOpenReadOnlyRRR (R'R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytopenReadOnlys	cCs+tj�}|dkr'td��n|S(s0Registers a default event implementation based on the
    poll() system call. This is a generic implementation
    that can be used by any client application which does
    not have a need to integrate with an external event
    loop impl.
    
    For proper event handling, it is important that the event implementation
    is registered before a connection to the Hypervisor is opened.
    
    Once registered, the application has to invoke virEventRunDefaultImpl() in
    a loop to process events.  Failure to do so may result in connections being
    closed unexpectedly as a result of keepalive timeout.  The default
    event loop fully supports handle and timeout events, but only
    wakes up on events registered by libvirt API calls such as
    virEventAddHandle() or virConnectDomainEventRegisterAny(). i����s$virEventRegisterDefaultImpl() failed(RtvirEventRegisterDefaultImplR(R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRA)scCs tj||||||�dS(s�Registers an event implementation, to allow integration
    with an external event loop. Applications would use this
    to integrate with the libglib2 event loop, or libevent
    or the QT event loop.
    
    For proper event handling, it is important that the event implementation
    is registered before a connection to the Hypervisor is opened.
    
    Use of the virEventAddHandle() and similar APIs require that the
    corresponding handler is registered.  Use of the
    virConnectDomainEventRegisterAny() and similar APIs requires that
    the three timeout handlers are registered.  Likewise, the three
    timeout handlers must be registered if the remote server has been
    configured to send keepalive messages, or if the client intends
    to call virConnectSetKeepAlive(), to avoid either side from
    unexpectedly closing the connection due to inactivity.
    
    If an application does not need to integrate with an
    existing event loop implementation, then the
    virEventRegisterDefaultImpl() method can be used to setup
    the generic libvirt implementation.
    
    Once registered, the event loop implementation cannot be
    changed, and must be run continuously. Note that callbacks
    may remain registered for a short time even after calling
    virConnectClose on all open connections, so it is not safe
    to stop running the event loop immediately after closing
    the connection. N(RtvirEventRegisterImpl(t	addHandletupdateHandletremoveHandlet
addTimeoutt
updateTimeoutt
removeTimeout((s-/usr/lib64/python2.7/site-packages/libvirt.pyRB=scCs.tj|�}|dkr*td��n|S(s�Unregister a callback from a file handle.  This function
    requires that an event loop has previously been registered with
    virEventRegisterImpl() or virEventRegisterDefaultImpl(). i����svirEventRemoveHandle() failed(RtvirEventRemoveHandleR(R*R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRI\scCs.tj|�}|dkr*td��n|S(s�Unregister a callback for a timer.  This function
    requires that an event loop has previously been registered with
    virEventRegisterImpl() or virEventRegisterDefaultImpl(). i����svirEventRemoveTimeout() failed(RtvirEventRemoveTimeoutR(R2R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRJdscCs+tj�}|dkr'td��n|S(s�Run one iteration of the event loop. Applications
    will generally want to have a thread which invokes
    this method in an infinite loop.  Furthermore, it is wise
    to set up a pipe-to-self handler (via virEventAddHandle())
    or a timeout (via virEventAddTimeout()) before calling this
    function, as it will block forever if there are no
    registered events.
    
      static bool quit;
    
      while (!quit) {
        if (virEventRunDefaultImpl() < 0)
          ...print error...
      } i����svirEventRunDefaultImpl() failed(RtvirEventRunDefaultImplR(R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRKlscCstj||�dS(s�Change event set for a monitored file handle.  This function
    requires that an event loop has previously been registered with
    virEventRegisterImpl() or virEventRegisterDefaultImpl().
    
    Will not fail if fd exists. N(RtvirEventUpdateHandle(R*R5((s-/usr/lib64/python2.7/site-packages/libvirt.pyRLscCstj||�dS(sfChange frequency for a timer.  This function
    requires that an event loop has previously been registered with
    virEventRegisterImpl() or virEventRegisterDefaultImpl().
    
    Setting frequency to -1 will disable the timer. Setting the frequency
    to zero will cause it to fire on every event loop iteration.
    
    Will not fail if timer exists. N(RtvirEventUpdateTimeout(R2R;((s-/usr/lib64/python2.7/site-packages/libvirt.pyRM�s	cCstj�}|S(s�Provide a pointer to the last error caught at the library level
    
    The error object is kept in thread local storage, so separate
    threads can safely access this concurrently. (RR(R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�scCs+tj�}|dkr'td��n|S(s6Get the most recent error code (enum virErrorNumber). i����svirGetLastErrorCode() failed(RtvirGetLastErrorCodeR(R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRN�scCs+tj�}|dkr'td��n|S(s8Get the most recent error domain (enum virErrorDomain). i����svirGetLastErrorDomain() failed(RtvirGetLastErrorDomainR(R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRO�scCs+tj�}|dkr'td��n|S(s"Get the most recent error message svirGetLastErrorMessage() failedN(RtvirGetLastErrorMessageRR(R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRP�scCs+tj�}|dkr'td��n|S(sInitialize the library.
    
    This method is invoked automatically by any of the virConnectOpen() API
    calls, and by virGetVersion(). Since release 1.0.0, there is no need to
    call this method even in a multithreaded application, since
    initialization is performed in a thread safe manner; but applications
    using an older version of the library should manually call this before
    setting up competing threads that attempt virConnectOpen in parallel.
    
    The only other time it would be necessary to call virInitialize is if the
    application did not invoke virConnectOpen as its first API call, such
    as when calling virEventRegisterImpl() before setting up connections,
    or when using virSetErrorFunc() to alter error reporting of the first
    connection attempt. i����svirInitialize() failed(Rt
virInitializeR(R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRQ�scCstj�dS(s�Reset the last error caught at the library level.
    
    The error object is kept in thread local storage, so separate
    threads can safely access this concurrently, only resetting
    their own error object. N(RtvirResetLastError(((s-/usr/lib64/python2.7/site-packages/libvirt.pyRR�st	virDomaincBs�eZd�d�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
dd	�Zd
�Zdd�Z
d�Zdd
�Zd�Zdd�Zddd�Zd�dd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zddd�Zddd�Zdd�Zd�Zdd�Zdd�Zdd�Z dd�Z!d �Z"dd!�Z#dd"�Z$d#�Z%dd$�Z&d%�Z'dd&�Z(dd'�Z)dd(�Z*dd)�Z+dd*�Z,dd+�Z-dd,�Z.dd-�Z/dd.�Z0dd/�Z1dd0�Z2d1�Z3dd2�Z4dd3�Z5dd4�Z6d5�Z7dd6�Z8d7�Z9d8�Z:d9�Z;d:�Z<dd;�Z=dd<�Z>dd=�Z?dd>�Z@dd?�ZAdd@�ZBdA�ZCdB�ZDddC�ZEddD�ZFdE�ZGddF�ZHdd�d�ddG�ZId�dd�d�ddH�ZJddI�ZKddJ�ZLddK�ZMddL�ZNddM�ZOddN�ZPddO�ZQddP�ZRdd�ddQ�ZSd�d�d�dd�ddR�ZTddS�ZUdT�ZVddU�ZWddV�ZXddW�ZYddX�ZZddY�Z[ddZ�Z\dd[�Z]dd\�Z^dd]�Z_dd^�Z`d_�Zadd`�Zbdda�Zcddb�Zdddc�Zedd�Zfdde�Zgdf�Zhd�ddg�Zidh�Zjddi�Zkdj�Zlddk�Zmdl�Zndm�Zoddn�Zpddo�Zqdp�Zrddq�Zsddr�Ztdds�Zuddt�Zvddu�Zwddv�Zxdw�Zydx�Zzddy�Z{ddz�Z|dd{�Z}dd|�Z~dd}�Zdd~�Z�d�Z�dd��Z�dd��Z�dd��Z�d��Z�dd��Z�d��Z�dd��Z�dd��Z�dd��Z�dd��Z�dd��Z�dd��Z�dd��Z�d��Z�d��Z�dd��Z�dd��Z�dd��Z�d��Z�dd��Z�dd��Z�dd��Z�d�dd��Z�d�dd��Z�dd��Z�d�dd��Z�RS(�cCsD||_t|�jdkr7tdt|���n||_dS(Nt	PyCapsulet	PyCObjects&Expected a wrapped C Object but got %s(RTRU(t_connttypeRRt_o(RR	R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�s	cCs/|jdk	r"tj|j�nd|_dS(N(RXRRt
virDomainFree(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyt__del__�scCs|jS(N(RV(R((s-/usr/lib64/python2.7/site-packages/libvirt.pytconnect�scCstj|j�S(s"Get C pointer to underlying object(RtvirDomain_pointerRX(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	c_pointer�scCstj|j�}|S(s,Get the hypervisor ID number for the domain (RtvirDomainGetIDRX(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytID�scCs7tj|j�}|dkr3tdd|��n|S(s)Get the type of domain operation system. svirDomainGetOSType() failedR
N(RtvirDomainGetOSTypeRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytOSType�scCs7tj|j�}|dkr3tdd|��n|S(s0Extract the UUID unique Identifier of a domain. svirDomainGetUUID() failedR
N(RtvirDomainGetUUIDRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytUUID�scCs7tj|j�}|dkr3tdd|��n|S(s4Fetch globally unique ID of the domain as a string. svirDomainGetUUIDString() failedR
N(RtvirDomainGetUUIDStringRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
UUIDString�sicCs:tj|j|�}|dkr6tdd|��n|S(s�Provide an XML description of the domain. The description may be reused
        later to relaunch the domain with virDomainCreateXML().
        
        No security-sensitive data will be included unless @flags contains
        VIR_DOMAIN_XML_SECURE; this flag is rejected on read-only
        connections.  If @flags includes VIR_DOMAIN_XML_INACTIVE, then the
        XML represents the configuration that will be used on the next boot
        of a persistent domain; otherwise, the configuration represents the
        currently running domain.  If @flags contains
        VIR_DOMAIN_XML_UPDATE_CPU, then the portion of the domain XML
        describing CPU capabilities is modified to match actual
        capabilities of the host. svirDomainGetXMLDesc() failedR
N(RtvirDomainGetXMLDescRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytXMLDesc	s
cCs7tj|j�}|dkr3tdd|��n|S(s�Requests that the current background job be aborted at the
        soonest opportunity. In case the job is a migration in a post-copy mode,
        virDomainAbortJob will report an error (see virDomainMigrateStartPostCopy
        for more details). i����svirDomainAbortJob() failedR
(RtvirDomainAbortJobRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytabortJobscCs=tj|j||�}|dkr9tdd|��n|S(s=Dynamically add an IOThread to the domain. It is left up to the
        underlying virtual hypervisor to determine the valid range for an
        @iothread_id and determining whether the @iothread_id already exists.
        
        Note that this call can fail if the underlying virtualization hypervisor
        does not support it or if growing the number is arbitrarily limited.
        This function requires privileged access to the hypervisor.
        
        @flags may include VIR_DOMAIN_AFFECT_LIVE or VIR_DOMAIN_AFFECT_CONFIG.
        Both flags may be set.
        If VIR_DOMAIN_AFFECT_LIVE is set, the change affects a running domain
        and may fail if domain is not alive.
        If VIR_DOMAIN_AFFECT_CONFIG is set, the change affects persistent state,
        and will fail for transient domains. If neither flag is specified (that is,
        @flags is VIR_DOMAIN_AFFECT_CURRENT), then an inactive domain modifies
        persistent setup, while an active domain is hypervisor-dependent on whether
        just live or both live and persistent state is changed. i����svirDomainAddIOThread() failedR
(RtvirDomainAddIOThreadRXR(Rtiothread_idR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytaddIOThread#scCs:tj|j|�}|dkr6tdd|��n|S(s4Create a virtual device attachment to backend.  This function,
        having hotplug semantics, is only allowed on an active domain.
        
        For compatibility, this method can also be used to change the media
        in an existing CDROM/Floppy device, however, applications are
        recommended to use the virDomainUpdateDeviceFlag method instead.
        
        Be aware that hotplug changes might not persist across a domain going
        into S4 state (also known as hibernation) unless you also modify the
        persistent domain definition. i����svirDomainAttachDevice() failedR
(RtvirDomainAttachDeviceRXR(RtxmlR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytattachDevice9scCs=tj|j||�}|dkr9tdd|��n|S(s�Attach a virtual device to a domain, using the flags parameter
        to control how the device is attached.  VIR_DOMAIN_AFFECT_CURRENT
        specifies that the device allocation is made based on current domain
        state.  VIR_DOMAIN_AFFECT_LIVE specifies that the device shall be
        allocated to the active domain instance only and is not added to the
        persisted domain configuration.  VIR_DOMAIN_AFFECT_CONFIG
        specifies that the device shall be allocated to the persisted domain
        configuration only.  Note that the target hypervisor must return an
        error if unable to satisfy flags.  E.g. the hypervisor driver will
        return failure if LIVE is specified but it only supports modifying the
        persisted device allocation.
        
        For compatibility, this method can also be used to change the media
        in an existing CDROM/Floppy device, however, applications are
        recommended to use the virDomainUpdateDeviceFlag method instead.
        
        Be aware that hotplug changes might not persist across a domain going
        into S4 state (also known as hibernation) unless you also modify the
        persistent domain definition. i����s#virDomainAttachDeviceFlags() failedR
(RtvirDomainAttachDeviceFlagsRXR(RRnR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytattachDeviceFlagsHscCs7tj|j�}|dkr3tdd|��n|S(s(Extract the autostart flag for a domain i����svirDomainGetAutostart() failedR
(RtvirDomainGetAutostartRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	autostartdscCs:tj|j|�}|dkr6tdd|��n|S(sGet the blkio parameters s$virDomainGetBlkioParameters() failedR
N(RtvirDomainGetBlkioParametersRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytblkioParametersjscCsFtj|j|||||�}|dkrBtdd|��n|S(s�Commit changes that were made to temporary top-level files within a disk
        image backing file chain into a lower-level base file.  In other words,
        take all the difference between @base and @top, and update @base to contain
        that difference; after the commit, any portion of the chain that previously
        depended on @top will now depend on @base, and all files after @base up
        to and including @top will now be invalidated.  A typical use of this
        command is to reduce the length of a backing file chain after taking an
        external disk snapshot.  To move data in the opposite direction, see
        virDomainBlockPull().
        
        This command starts a long-running commit block job, whose status may
        be tracked by virDomainBlockJobInfo() with a job type of
        VIR_DOMAIN_BLOCK_JOB_TYPE_COMMIT, and the operation can be aborted with
        virDomainBlockJobAbort().  When finished, an asynchronous event is
        raised to indicate the final status, and the job no longer exists.  If
        the job is aborted, it is up to the hypervisor whether starting a new
        job will resume from the same point, or start over.
        
        As a special case, if @top is the active image (or None), and @flags
        includes VIR_DOMAIN_BLOCK_COMMIT_ACTIVE, the block job will have a type
        of VIR_DOMAIN_BLOCK_JOB_TYPE_ACTIVE_COMMIT, and operates in two phases.
        In the first phase, the contents are being committed into @base, and the
        job can only be canceled.  The job transitions to the second phase when
        the job info states cur == end, and remains alive to keep all further
        changes to @top synchronized into @base; an event with status
        VIR_DOMAIN_BLOCK_JOB_READY is also issued to mark the job transition.
        Once in the second phase, the user must choose whether to cancel the job
        (keeping @top as the active image, but now containing only the changes
        since the time the job ended) or to pivot the job (adjusting to @base as
        the active image, and invalidating @top).
        
        Be aware that this command may invalidate files even if it is aborted;
        the user is cautioned against relying on the contents of invalidated
        intermediate files such as @top (when @top is not the active image)
        without manually rebasing those files to use a backing file of a
        read-only copy of @base prior to the point where the commit operation
        was started (and such a rebase cannot be safely done until the commit
        has successfully completed).  However, the domain itself will not have
        any issues; the active layer remains valid throughout the entire commit
        operation.
        
        Some hypervisors may support a shortcut where if @flags contains
        VIR_DOMAIN_BLOCK_COMMIT_DELETE, then this command will unlink all files
        that were invalidated, after the commit successfully completes.
        
        If @flags contains VIR_DOMAIN_BLOCK_COMMIT_RELATIVE, the name recorded
        into the overlay of the @top image (if there is such image) as the
        path to the new backing file will be kept relative to other images.
        The operation will fail if libvirt can't infer the name.
        
        By default, if @base is None, the commit target will be the bottom of
        the backing chain; if @flags contains VIR_DOMAIN_BLOCK_COMMIT_SHALLOW,
        then the immediate backing file of @top will be used instead.  If @top
        is None, the active image at the top of the chain will be used.  Some
        hypervisors place restrictions on how much can be committed, and might
        fail if @base is not the immediate backing file of @top, or if @top is
        the active layer in use by a running domain but @flags did not include
        VIR_DOMAIN_BLOCK_COMMIT_ACTIVE, or if @top is not the top-most file;
        restrictions may differ for online vs. offline domains.
        
        The @disk parameter is either an unambiguous source name of the
        block device (the <source file='...'/> sub-element, such as
        "/path/to/image"), or the device target shorthand (the
        <target dev='...'/> sub-element, such as "vda").  Valid names
        can be found by calling virDomainGetXMLDesc() and inspecting
        elements within //domain/devices/disk.
        
        The @base and @top parameters can be either paths to files within the
        backing chain, or the device target shorthand (the <target dev='...'/>
        sub-element, such as "vda") followed by an index to the backing chain
        enclosed in square brackets. Backing chain indexes can be found by
        inspecting //disk//backingStore/@index in the domain XML. Thus, for
        example, "vda[3]" refers to the backing store with index equal to "3"
        in the chain of disk "vda".
        
        The maximum bandwidth that will be used to do the commit can be
        specified with the @bandwidth parameter.  If set to 0, there is no
        limit.  If @flags includes VIR_DOMAIN_BLOCK_COMMIT_BANDWIDTH_BYTES,
        @bandwidth is in bytes/second; otherwise, it is in MiB/second.
        Values larger than 2^52 bytes/sec may be rejected due to overflow
        considerations based on the word size of both client and server,
        and values larger than 2^31 bytes/sec may cause overflow problems
        if later queried by virDomainGetBlockJobInfo() without scaling.
        Hypervisors may further restrict the range of valid bandwidth
        values.  Some hypervisors do not support this feature and will
        return an error if bandwidth is not 0; in this case, it might still
        be possible for a later call to virDomainBlockJobSetSpeed() to
        succeed.  The actual speed can be determined with
        virDomainGetBlockJobInfo(). i����svirDomainBlockCommit() failedR
(RtvirDomainBlockCommitRXR(Rtdisktbasettopt	bandwidthR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytblockCommittsZ!cCsCtj|j||||�}|dkr?tdd|��n|S(sSCopy the guest-visible contents of a disk image to a new file described by destxml i����svirDomainBlockCopy() failedR
(RtvirDomainBlockCopyRXR(RRwtdestxmltparamsR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	blockCopy�scCs=tj|j||�}|dkr9tdd|��n|S(s5Extract information about a domain block device size svirDomainGetBlockInfo() failedR
N(RtvirDomainGetBlockInfoRXRR(RtpathR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	blockInfo�scCs=tj|j||�}|dkr9tdd|��n|S(s(Get the I/O tunables for a block device s virDomainGetBlockIoTune() failedR
N(RtvirDomainGetBlockIoTuneRXRR(RRwR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytblockIoTune�scCs=tj|j||�}|dkr9tdd|��n|S(s�Cancel the active block job on the given disk.
        
        The @disk parameter is either an unambiguous source name of the
        block device (the <source file='...'/> sub-element, such as
        "/path/to/image"), or (since 0.9.5) the device target shorthand
        (the <target dev='...'/> sub-element, such as "vda").  Valid names
        can be found by calling virDomainGetXMLDesc() and inspecting
        elements within //domain/devices/disk.
        
        If the current block job for @disk is VIR_DOMAIN_BLOCK_JOB_TYPE_PULL, then
        by default, this function performs a synchronous operation and the caller
        may assume that the operation has completed when 0 is returned.  However,
        BlockJob operations may take a long time to cancel, and during this time
        further domain interactions may be unresponsive.  To avoid this problem,
        pass VIR_DOMAIN_BLOCK_JOB_ABORT_ASYNC in the @flags argument to enable
        asynchronous behavior, returning as soon as possible.  When the job has
        been canceled, a BlockJob event will be emitted, with status
        VIR_DOMAIN_BLOCK_JOB_CANCELED (even if the ABORT_ASYNC flag was not
        used); it is also possible to poll virDomainBlockJobInfo() to see if
        the job cancellation is still pending.  This type of job can be restarted
        to pick up from where it left off.
        
        If the current block job for @disk is VIR_DOMAIN_BLOCK_JOB_TYPE_COPY, then
        the default is to abort the mirroring and revert to the source disk;
        likewise, if the current job is VIR_DOMAIN_BLOCK_JOB_TYPE_ACTIVE_COMMIT,
        the default is to abort without changing the active layer of @disk.
        Adding @flags of VIR_DOMAIN_BLOCK_JOB_ABORT_PIVOT causes this call to
        fail with VIR_ERR_BLOCK_COPY_ACTIVE if the copy or commit is not yet
        ready; otherwise it will swap the disk over to the new active image
        to end the mirroring or active commit.  An event will be issued when the
        job is ended, and it is possible to use VIR_DOMAIN_BLOCK_JOB_ABORT_ASYNC
        to control whether this command waits for the completion of the job.
        Restarting a copy or active commit job requires starting over from the
        beginning of the first phase. i����svirDomainBlockJobAbort() failedR
(RtvirDomainBlockJobAbortRXR(RRwR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
blockJobAbort�s#cCs=tj|j||�}|dkr9tdd|��n|S(s)Get progress information for a block job s!virDomainGetBlockJobInfo() failedR
N(RtvirDomainGetBlockJobInfoRXRR(RR�R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytblockJobInfoscCs@tj|j|||�}|dkr<tdd|��n|S(sNSet the maximimum allowable bandwidth that a block job may consume.  If
        bandwidth is 0, the limit will revert to the hypervisor default of
        unlimited.
        
        If @flags contains VIR_DOMAIN_BLOCK_JOB_SPEED_BANDWIDTH_BYTES, @bandwidth
        is in bytes/second; otherwise, it is in MiB/second.  Values larger than
        2^52 bytes/sec may be rejected due to overflow considerations based on
        the word size of both client and server, and values larger than 2^31
        bytes/sec may cause overflow problems if later queried by
        virDomainGetBlockJobInfo() without scaling.  Hypervisors may further
        restrict the range of valid bandwidth values.
        
        The @disk parameter is either an unambiguous source name of the
        block device (the <source file='...'/> sub-element, such as
        "/path/to/image"), or (since 0.9.5) the device target shorthand
        (the <target dev='...'/> sub-element, such as "vda").  Valid names
        can be found by calling virDomainGetXMLDesc() and inspecting
        elements within //domain/devices/disk. i����s"virDomainBlockJobSetSpeed() failedR
(RtvirDomainBlockJobSetSpeedRXR(RRwRzR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytblockJobSetSpeed!scCsCtj|j||||�}|dkr?tdd|��n|S(s*Read the contents of domain's disk device svirDomainBlockPeek() failedR
N(RtvirDomainBlockPeekRXRR(RRwtoffsettsizeR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	blockPeek<scCs@tj|j|||�}|dkr<tdd|��n|S(s�Populate a disk image with data from its backing image.  Once all data from
        its backing image has been pulled, the disk no longer depends on a backing
        image.  This function pulls data for the entire device in the background.
        Progress of the operation can be checked with virDomainGetBlockJobInfo() and
        the operation can be aborted with virDomainBlockJobAbort().  When finished,
        an asynchronous event is raised to indicate the final status.  To move
        data in the opposite direction, see virDomainBlockCommit().
        
        The @disk parameter is either an unambiguous source name of the
        block device (the <source file='...'/> sub-element, such as
        "/path/to/image"), or (since 0.9.5) the device target shorthand
        (the <target dev='...'/> sub-element, such as "vda").  Valid names
        can be found by calling virDomainGetXMLDesc() and inspecting
        elements within //domain/devices/disk.
        
        The maximum bandwidth that will be used to do the copy can be
        specified with the @bandwidth parameter.  If set to 0, there is no
        limit.  If @flags includes VIR_DOMAIN_BLOCK_PULL_BANDWIDTH_BYTES,
        @bandwidth is in bytes/second; otherwise, it is in MiB/second.
        Values larger than 2^52 bytes/sec may be rejected due to overflow
        considerations based on the word size of both client and server,
        and values larger than 2^31 bytes/sec may cause overflow problems
        if later queried by virDomainGetBlockJobInfo() without scaling.
        Hypervisors may further restrict the range of valid bandwidth
        values.  Some hypervisors do not support this feature and will
        return an error if bandwidth is not 0; in this case, it might still
        be possible for a later call to virDomainBlockJobSetSpeed() to
        succeed.  The actual speed can be determined with
        virDomainGetBlockJobInfo().
        
        This is shorthand for virDomainBlockRebase() with a None base. i����svirDomainBlockPull() failedR
(RtvirDomainBlockPullRXR(RRwRzR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	blockPullFs cCsCtj|j||||�}|dkr?tdd|��n|S(s�Populate a disk image with data from its backing image chain, and
        setting the backing image to @base, or alternatively copy an entire
        backing chain to a new file @base.
        
        When @flags is 0, this starts a pull, where @base must be the absolute
        path of one of the backing images further up the chain, or None to
        convert the disk image so that it has no backing image.  Once all
        data from its backing image chain has been pulled, the disk no
        longer depends on those intermediate backing images.  This function
        pulls data for the entire device in the background.  Progress of
        the operation can be checked with virDomainGetBlockJobInfo() with a
        job type of VIR_DOMAIN_BLOCK_JOB_TYPE_PULL, and the operation can be
        aborted with virDomainBlockJobAbort().  When finished, an asynchronous
        event is raised to indicate the final status, and the job no longer
        exists.  If the job is aborted, a new one can be started later to
        resume from the same point.
        
        If @flags contains VIR_DOMAIN_BLOCK_REBASE_RELATIVE, the name recorded
        into the active disk as the location for @base will be kept relative.
        The operation will fail if libvirt can't infer the name.
        
        When @flags includes VIR_DOMAIN_BLOCK_REBASE_COPY, this starts a copy,
        where @base must be the name of a new file to copy the chain to.  By
        default, the copy will pull the entire source chain into the destination
        file, but if @flags also contains VIR_DOMAIN_BLOCK_REBASE_SHALLOW, then
        only the top of the source chain will be copied (the source and
        destination have a common backing file).  By default, @base will be
        created with the same file format as the source, but this can be altered
        by adding VIR_DOMAIN_BLOCK_REBASE_COPY_RAW to force the copy to be raw
        (does not make sense with the shallow flag unless the source is also raw),
        or by using VIR_DOMAIN_BLOCK_REBASE_REUSE_EXT to reuse an existing file
        which was pre-created with the correct format and metadata and sufficient
        size to hold the copy. In case the VIR_DOMAIN_BLOCK_REBASE_SHALLOW flag
        is used the pre-created file has to exhibit the same guest visible contents
        as the backing file of the original image. This allows a management app to
        pre-create files with relative backing file names, rather than the default
        of absolute backing file names; as a security precaution, you should
        generally only use reuse_ext with the shallow flag and a non-raw
        destination file.  By default, the copy destination will be treated as
        type='file', but using VIR_DOMAIN_BLOCK_REBASE_COPY_DEV treats the
        destination as type='block' (affecting how virDomainGetBlockInfo() will
        report allocation after pivoting).
        
        A copy job has two parts; in the first phase, the @bandwidth parameter
        affects how fast the source is pulled into the destination, and the job
        can only be canceled by reverting to the source file; progress in this
        phase can be tracked via the virDomainBlockJobInfo() command, with a
        job type of VIR_DOMAIN_BLOCK_JOB_TYPE_COPY.  The job transitions to the
        second phase when the job info states cur == end, and remains alive to
        mirror all further changes to both source and destination.  The user
        must call virDomainBlockJobAbort() to end the mirroring while choosing
        whether to revert to source or pivot to the destination.  An event is
        issued when the job ends, and depending on the hypervisor, an event may
        also be issued when the job transitions from pulling to mirroring.  If
        the job is aborted, a new job will have to start over from the beginning
        of the first phase.
        
        Some hypervisors will restrict certain actions, such as virDomainSave()
        or virDomainDetachDevice(), while a copy job is active; they may
        also restrict a copy job to transient domains.
        
        The @disk parameter is either an unambiguous source name of the
        block device (the <source file='...'/> sub-element, such as
        "/path/to/image"), or the device target shorthand (the
        <target dev='...'/> sub-element, such as "vda").  Valid names
        can be found by calling virDomainGetXMLDesc() and inspecting
        elements within //domain/devices/disk.
        
        The @base parameter can be either a path to a file within the backing
        chain, or the device target shorthand (the <target dev='...'/>
        sub-element, such as "vda") followed by an index to the backing chain
        enclosed in square brackets. Backing chain indexes can be found by
        inspecting //disk//backingStore/@index in the domain XML. Thus, for
        example, "vda[3]" refers to the backing store with index equal to "3"
        in the chain of disk "vda".
        
        The maximum bandwidth that will be used to do the copy can be
        specified with the @bandwidth parameter.  If set to 0, there is no
        limit.  If @flags includes VIR_DOMAIN_BLOCK_REBASE_BANDWIDTH_BYTES,
        @bandwidth is in bytes/second; otherwise, it is in MiB/second.
        Values larger than 2^52 bytes/sec may be rejected due to overflow
        considerations based on the word size of both client and server,
        and values larger than 2^31 bytes/sec may cause overflow problems
        if later queried by virDomainGetBlockJobInfo() without scaling.
        Hypervisors may further restrict the range of valid bandwidth
        values.  Some hypervisors do not support this feature and will
        return an error if bandwidth is not 0; in this case, it might still
        be possible for a later call to virDomainBlockJobSetSpeed() to
        succeed.  The actual speed can be determined with
        virDomainGetBlockJobInfo().
        
        When @base is None and @flags is 0, this is identical to
        virDomainBlockPull().  When @flags contains VIR_DOMAIN_BLOCK_REBASE_COPY,
        this command is shorthand for virDomainBlockCopy() where the destination
        XML encodes @base as a <disk type='file'>, @bandwidth is properly scaled
        and passed as a typed parameter, the shallow and reuse external flags
        are preserved, and remaining flags control whether the XML encodes a
        destination format of raw instead of leaving the destination identical
        to the source format or probed from the reused file. i����svirDomainBlockRebase() failedR
(RtvirDomainBlockRebaseRXR(RRwRxRzR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytblockRebasejsdcCs@tj|j|||�}|dkr<tdd|��n|S(s�Resize a block device of domain while the domain is running.  If
        @flags is 0, then @size is in kibibytes (blocks of 1024 bytes);
        since 0.9.11, if @flags includes VIR_DOMAIN_BLOCK_RESIZE_BYTES,
        @size is in bytes instead.  @size is taken directly as the new
        size.  Depending on the file format, the hypervisor may round up
        to the next alignment boundary.
        
        The @disk parameter is either an unambiguous source name of the
        block device (the <source file='...'/> sub-element, such as
        "/path/to/image"), or (since 0.9.5) the device target shorthand
        (the <target dev='...'/> sub-element, such as "vda").  Valid names
        can be found by calling virDomainGetXMLDesc() and inspecting
        elements within //domain/devices/disk.
        
        Note that this call may fail if the underlying virtualization hypervisor
        does not support it; this call requires privileged access to the
        hypervisor. i����svirDomainBlockResize() failedR
(RtvirDomainBlockResizeRXR(RRwR�R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytblockResize�scCs:tj|j|�}|dkr6tdd|��n|S(s.Extracts block device statistics for a domain svirDomainBlockStats() failedR
N(RtvirDomainBlockStatsRXRR(RR�R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
blockStats�scCs=tj|j||�}|dkr9tdd|��n|S(s@Extracts block device statistics parameters of a running domain s!virDomainBlockStatsFlags() failedR
N(RtvirDomainBlockStatsFlagsRXRR(RR�R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytblockStatsFlags�scCs:tj|j|�}|dkr6tdd|��n|S(sFExtract details about current state of control interface to a domain. s virDomainGetControlInfo() failedR
N(RtvirDomainGetControlInfoRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytcontrolInfo�scCs=tj|j||�}|dkr9tdd|��n|S(s^This method will dump the core of a domain on a given file for analysis.
        Note that for remote Xen Daemon the file path will be interpreted in
        the remote host. Hypervisors may require  the user to manually ensure
        proper permissions on the file named by @to.
        
        If @flags includes VIR_DUMP_CRASH, then leave the guest shut off with
        a crashed state after the dump completes.  If @flags includes
        VIR_DUMP_LIVE, then make the core dump while continuing to allow
        the guest to run; otherwise, the guest is suspended during the dump.
        VIR_DUMP_RESET flag forces reset of the guest after dump.
        The above three flags are mutually exclusive.
        
        Additionally, if @flags includes VIR_DUMP_BYPASS_CACHE, then libvirt
        will attempt to bypass the file system cache while creating the file,
        or fail if it cannot do so for the given system; this can allow less
        pressure on file system cache, but also risks slowing saves to NFS.
        
        For more control over the output format, see virDomainCoreDumpWithFormat(). i����svirDomainCoreDump() failedR
(RtvirDomainCoreDumpRXR(RttoR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytcoreDumpscCs@tj|j|||�}|dkr<tdd|��n|S(s�This method will dump the core of a domain on a given file for analysis.
        Note that for remote Xen Daemon the file path will be interpreted in
        the remote host. Hypervisors may require  the user to manually ensure
        proper permissions on the file named by @to.
        
        @dumpformat controls which format the dump will have; use of
        VIR_DOMAIN_CORE_DUMP_FORMAT_RAW mirrors what virDomainCoreDump() will
        perform.  Not all hypervisors are able to support all formats.
        
        If @flags includes VIR_DUMP_CRASH, then leave the guest shut off with
        a crashed state after the dump completes.  If @flags includes
        VIR_DUMP_LIVE, then make the core dump while continuing to allow
        the guest to run; otherwise, the guest is suspended during the dump.
        VIR_DUMP_RESET flag forces reset of the guest after dump.
        The above three flags are mutually exclusive.
        
        Additionally, if @flags includes VIR_DUMP_BYPASS_CACHE, then libvirt
        will attempt to bypass the file system cache while creating the file,
        or fail if it cannot do so for the given system; this can allow less
        pressure on file system cache, but also risks slowing saves to NFS. i����s$virDomainCoreDumpWithFormat() failedR
(RtvirDomainCoreDumpWithFormatRXR(RR�t
dumpformatR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytcoreDumpWithFormatscCs7tj|j�}|dkr3tdd|��n|S(sLaunch a defined domain. If the call succeeds the domain moves from the
        defined to the running domains pools.  The domain will be paused only
        if restoring from managed state created from a paused domain.  For more
        control, see virDomainCreateWithFlags(). i����svirDomainCreate() failedR
(RtvirDomainCreateRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytcreate2scCs:tj|j|�}|dkr6tdd|��n|S(s�Launch a defined domain. If the call succeeds the domain moves from the
        defined to the running domains pools.
        
        If the VIR_DOMAIN_START_PAUSED flag is set, or if the guest domain
        has a managed save image that requested paused state (see
        virDomainManagedSave()) the guest domain will be started, but its
        CPUs will remain paused. The CPUs can later be manually started
        using virDomainResume().  In all other cases, the guest domain will
        be running.
        
        If the VIR_DOMAIN_START_AUTODESTROY flag is set, the guest
        domain will be automatically destroyed when the virConnectPtr
        object is finally released. This will also happen if the
        client application crashes / loses its connection to the
        libvirtd daemon. Any domains marked for auto destroy will
        block attempts at migration, save-to-file, or snapshots.
        
        If the VIR_DOMAIN_START_BYPASS_CACHE flag is set, and there is a
        managed save file for this domain (created by virDomainManagedSave()),
        then libvirt will attempt to bypass the file system cache while restoring
        the file, or fail if it cannot do so for the given system; this can allow
        less pressure on file system cache, but also risks slowing loads from NFS.
        
        If the VIR_DOMAIN_START_FORCE_BOOT flag is set, then any managed save
        file for this domain is discarded, and the domain boots from scratch. i����s!virDomainCreateWithFlags() failedR
(RtvirDomainCreateWithFlagsRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytcreateWithFlags;scCs=tj|j||�}|dkr9tdd|��n|S(s&Dynamically delete an IOThread from the domain. The @iothread_id to be
        deleted must not have a resource associated with it and can be any of
        the currently valid IOThread ID's.
        
        Note that this call can fail if the underlying virtualization hypervisor
        does not support it or if reducing the number is arbitrarily limited.
        This function requires privileged access to the hypervisor.
        
        @flags may include VIR_DOMAIN_AFFECT_LIVE or VIR_DOMAIN_AFFECT_CONFIG.
        Both flags may be set.
        If VIR_DOMAIN_AFFECT_LIVE is set, the change affects a running domain
        and may fail if domain is not alive.
        If VIR_DOMAIN_AFFECT_CONFIG is set, the change affects persistent state,
        and will fail for transient domains. If neither flag is specified (that is,
        @flags is VIR_DOMAIN_AFFECT_CURRENT), then an inactive domain modifies
        persistent setup, while an active domain is hypervisor-dependent on whether
        just live or both live and persistent state is changed. i����svirDomainDelIOThread() failedR
(RtvirDomainDelIOThreadRXR(RRkR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytdelIOThreadYscCs7tj|j�}|dkr3tdd|��n|S(s�Destroy the domain object. The running instance is shutdown if not down
        already and all resources used by it are given back to the hypervisor. This
        does not free the associated virDomainPtr object.
        This function may require privileged access.
        
        virDomainDestroy first requests that a guest terminate
        (e.g. SIGTERM), then waits for it to comply. After a reasonable
        timeout, if the guest still exists, virDomainDestroy will
        forcefully terminate the guest (e.g. SIGKILL) if necessary (which
        may produce undesirable results, for example unflushed disk cache
        in the guest). To avoid this possibility, it's recommended to
        instead call virDomainDestroyFlags, sending the
        VIR_DOMAIN_DESTROY_GRACEFUL flag.
        
        If the domain is transient and has any snapshot metadata (see
        virDomainSnapshotNum()), then that metadata will automatically
        be deleted when the domain quits. i����svirDomainDestroy() failedR
(RtvirDomainDestroyRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytdestroyoscCs:tj|j|�}|dkr6tdd|��n|S(s�Destroy the domain object. The running instance is shutdown if not down
        already and all resources used by it are given back to the hypervisor.
        This does not free the associated virDomainPtr object.
        This function may require privileged access.
        
        Calling this function with no @flags set (equal to zero) is
        equivalent to calling virDomainDestroy, and after a reasonable
        timeout will forcefully terminate the guest (e.g. SIGKILL) if
        necessary (which may produce undesirable results, for example
        unflushed disk cache in the guest). Including
        VIR_DOMAIN_DESTROY_GRACEFUL in the flags will prevent the forceful
        termination of the guest, and virDomainDestroyFlags will instead
        return an error if the guest doesn't terminate by the end of the
        timeout; at that time, the management application can decide if
        calling again without VIR_DOMAIN_DESTROY_GRACEFUL is appropriate.
        
        Another alternative which may produce cleaner results for the
        guest's disks is to use virDomainShutdown() instead, but that
        depends on guest support (some hypervisor/guest combinations may
        ignore the shutdown request). i����svirDomainDestroyFlags() failedR
(RtvirDomainDestroyFlagsRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytdestroyFlags�scCs:tj|j|�}|dkr6tdd|��n|S(s�This is an equivalent of virDomainDetachDeviceFlags() when called with
        @flags parameter set to VIR_DOMAIN_AFFECT_LIVE.
        
        See virDomainDetachDeviceFlags() for more details. i����svirDomainDetachDevice() failedR
(RtvirDomainDetachDeviceRXR(RRnR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytdetachDevice�scCs=tj|j||�}|dkr9tdd|��n|S(s�Detach a virtual device from a domain, using the alias to
        specify the device. The value of @flags should be either
        VIR_DOMAIN_AFFECT_CURRENT, or a bitwise-or of values from
        VIR_DOMAIN_AFFECT_LIVE and VIR_DOMAIN_AFFECT_CURRENT, although
        hypervisors vary in which flags are supported.
        
        In contrast to virDomainDetachDeviceFlags() this API is
        asynchronous - it returns immediately after sending the detach
        request to the hypervisor. It's caller's responsibility to
        wait for VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED event to signal
        actual device removal or for
        VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED to signal rejected
        device removal. i����s#virDomainDetachDeviceAlias() failedR
(RtvirDomainDetachDeviceAliasRXR(RtaliasR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytdetachDeviceAlias�scCs=tj|j||�}|dkr9tdd|��n|S(sDetach a virtual device from a domain, using the flags parameter
        to control how the device is detached.  VIR_DOMAIN_AFFECT_CURRENT
        specifies that the device allocation is removed based on current domain
        state.  VIR_DOMAIN_AFFECT_LIVE specifies that the device shall be
        deallocated from the active domain instance only and is not from the
        persisted domain configuration.  VIR_DOMAIN_AFFECT_CONFIG
        specifies that the device shall be deallocated from the persisted domain
        configuration only.  Note that the target hypervisor must return an
        error if unable to satisfy flags.  E.g. the hypervisor driver will
        return failure if LIVE is specified but it only supports removing the
        persisted device allocation.
        
        Some hypervisors may prevent this operation if there is a current
        block copy operation on the device being detached; in that case,
        use virDomainBlockJobAbort() to stop the block copy first.
        
        Beware that depending on the hypervisor and device type, detaching a device
        from a running domain may be asynchronous. That is, calling
        virDomainDetachDeviceFlags may just request device removal while the device
        is actually removed later (in cooperation with a guest OS). Previously,
        this fact was ignored and the device could have been removed from domain
        configuration before it was actually removed by the hypervisor causing
        various failures on subsequent operations. To check whether the device was
        successfully removed, either recheck domain configuration using
        virDomainGetXMLDesc() or add a handler for the VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED
        event. In case the device is already gone when virDomainDetachDeviceFlags
        returns, the event is delivered before this API call ends. To help existing
        clients work better in most cases, this API will try to transform an
        asynchronous device removal that finishes shortly after the request into
        a synchronous removal. In other words, this API may wait a bit for the
        removal to complete in case it was not synchronous.
        
        Be aware that hotplug changes might not persist across a domain going
        into S4 state (also known as hibernation) unless you also modify the
        persistent domain definition.
        
        The supplied XML description of the device should be as specific
        as its definition in the domain XML. The set of attributes used
        to match the device are internal to the drivers. Using a partial definition,
        or attempting to detach a device that is not present in the domain XML,
        but shares some specific attributes with one that is present,
        may lead to unexpected results. i����s#virDomainDetachDeviceFlags() failedR
(RtvirDomainDetachDeviceFlagsRXR(RRnR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytdetachDeviceFlags�s+cCs:tj|j|�}|dkr6tdd|��n|S(s Extract errors on disk devices. svirDomainGetDiskErrors() failedR
N(RtvirDomainGetDiskErrorsRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
diskErrors�scCs:tj|j|�}|dkr6tdd|��n|S(sAQuery the CPU affinity setting of the emulator process of domain s$virDomainGetEmulatorPinInfo() failedR
N(RtvirDomainGetEmulatorPinInfoRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytemulatorPinInfo�scCs@tj|j|||�}|dkr<tdd|��n|S(sMCalls FITRIM within the guest (hence guest agent may be
        required depending on hypervisor used). Either call it on each
        mounted filesystem (@mountPoint is None) or just on specified
        @mountPoint. @minimum hints that free ranges smaller than this
        may be ignored (this is a hint and the guest may not respect
        it).  By increasing this value, the fstrim operation will
        complete more quickly for filesystems with badly fragmented
        free space, although not all blocks will be discarded.
        If @minimum is not zero, the command may fail. i����svirDomainFSTrim() failedR
(RtvirDomainFSTrimRXR(Rt
mountPointtminimumR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytfSTrim�s
cCs:tj|j|�}|dkr6tdd|��n|S(sjGet a list of mapping information for each mounted file systems within the specified guest and the disks. svirDomainGetFSInfo() failedR
N(RtvirDomainGetFSInfoRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytfsInfoscCs=tj|j||�}|dkr9tdd|��n|S(s�Extracts CPU statistics for a running domain. On success it will
           return a list of data of dictionary type. If boolean total is False or 0, the
           first element of the list refers to CPU0 on the host, second element is
           CPU1, and so on. The format of data struct is as follows:
           [{cpu_time:xxx}, {cpu_time:xxx}, ...]
           If it is True or 1, it returns total domain CPU statistics in the format of
           [{cpu_time:xxx, user_time:xxx, system_time:xxx}] svirDomainGetCPUStats() failedR
N(RtvirDomainGetCPUStatsRXRR(RttotalR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetCPUStatsscCs:tj|j|�}|dkr6tdd|��n|S(sBreturns a dictionary containing information regarding guest vcpus i����svirDomainGetGuestVcpus() failedR
(RtvirDomainGetGuestVcpusRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
guestVcpus scCs:tj|j|�}|dkr6tdd|��n|S(s0Determine if the domain has a current snapshot. i����s$virDomainHasCurrentSnapshot() failedR
(RtvirDomainHasCurrentSnapshotRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pythasCurrentSnapshot*scCs:tj|j|�}|dkr6tdd|��n|S(s�Check if a domain has a managed save image as created by
        virDomainManagedSave(). Note that any running domain should not have
        such an image, as it should have been removed on restart. i����s%virDomainHasManagedSaveImage() failedR
(RtvirDomainHasManagedSaveImageRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pythasManagedSaveImage4scCs:tj|j|�}|dkr6tdd|��n|S(s�Get the hostname for that domain.
        
        Dependent on hypervisor used, this may require a guest agent to be
        available. svirDomainGetHostname() failedR
N(RtvirDomainGetHostnameRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pythostname<scCs7tj|j�}|dkr3tdd|��n|S(s�Extract information about a domain. Note that if the connection used to get the domain is limited only a partial set of the information can be extracted. svirDomainGetInfo() failedR
N(RtvirDomainGetInfoRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytinfoIscCs:tj|j|�}|dkr6tdd|��n|S(sSend NMI to the guest i����svirDomainInjectNMI() failedR
(RtvirDomainInjectNMIRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	injectNMISscCs=tj|j||�}|dkr9tdd|��n|S(sPreturns a dictionary of domain interfaces along with their MAC and IP addresses s$virDomainInterfaceAddresses() failedR
N(RtvirDomainInterfaceAddressesRXRR(RtsourceR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytinterfaceAddresses]scCs=tj|j||�}|dkr9tdd|��n|S(s2Get the bandwidth tunables for a interface device s(virDomainGetInterfaceParameters() failedR
N(RtvirDomainGetInterfaceParametersRXRR(RtdeviceR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytinterfaceParameterscscCs:tj|j|�}|dkr6tdd|��n|S(s2Extracts interface device statistics for a domain s virDomainInterfaceStats() failedR
N(RtvirDomainInterfaceStatsRXRR(RR�R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytinterfaceStatsiscCs:tj|j|�}|dkr6tdd|��n|S(s>Query the CPU affinity setting of the IOThreads of the domain s!virDomainGetIOThreadInfo() failedR
N(RtvirDomainGetIOThreadInfoRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytioThreadInfooscCs7tj|j�}|dkr3tdd|��n|S(s-Determine if the domain is currently running i����svirDomainIsActive() failedR
(RtvirDomainIsActiveRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytisActiveyscCs7tj|j�}|dkr3tdd|��n|S(ssDetermine if the domain has a persistent configuration
        which means it will still exist after shutting down i����svirDomainIsPersistent() failedR
(RtvirDomainIsPersistentRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytisPersistentscCs7tj|j�}|dkr3tdd|��n|S(s*Determine if the domain has been updated. i����svirDomainIsUpdated() failedR
(RtvirDomainIsUpdatedRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	isUpdated�scCs7tj|j�}|dkr3tdd|��n|S(sFExtract information about an active job being processed for a domain. svirDomainGetJobInfo() failedR
N(RtvirDomainGetJobInfoRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytjobInfo�scCs:tj|j|�}|dkr6tdd|��n|S(sFExtract information about an active job being processed for a domain. svirDomainGetJobStats() failedR
N(RtvirDomainGetJobStatsRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytjobStats�scCs:tj|j|�}|dkr6tdd|��n|S(s&Get launch security info for a domain s'virDomainGetLaunchSecurityInfo() failedR
N(RtvirDomainGetLaunchSecurityInfoRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytlaunchSecurityInfo�scCs:tj|j|�}|dkr6tdd|��n|S(sThis method will suspend a domain and save its memory contents to
        a file on disk. After the call, if successful, the domain is not
        listed as running anymore.
        The difference from virDomainSave() is that libvirt is keeping track of
        the saved state itself, and will reuse it once the domain is being
        restarted (automatically or via an explicit libvirt call).
        As a result any running domain is sure to not have a managed saved image.
        This also implies that managed save only works on persistent domains,
        since the domain must still exist in order to use virDomainCreate() to
        restart it.
        
        If @flags includes VIR_DOMAIN_SAVE_BYPASS_CACHE, then libvirt will
        attempt to bypass the file system cache while creating the file, or
        fail if it cannot do so for the given system; this can allow less
        pressure on file system cache, but also risks slowing saves to NFS.
        
        Normally, the managed saved state will remember whether the domain
        was running or paused, and start will resume to the same state.
        Specifying VIR_DOMAIN_SAVE_RUNNING or VIR_DOMAIN_SAVE_PAUSED in
        @flags will override the default saved into the file.  These two
        flags are mutually exclusive. i����svirDomainManagedSave() failedR
(RtvirDomainManagedSaveRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytmanagedSave�scCs=tj|j||�}|dkr9tdd|��n|S(s�This updates the definition of a domain stored in a saved state
        file.
        
        @dxml can be used to alter host-specific portions of the domain XML
        that will be used on the next start of the domain. For example, it is
        possible to alter the backing filename that is associated with a
        disk device.
        
        Normally, the saved state file will remember whether the domain was
        running or paused, and restore defaults to the same state.
        Specifying VIR_DOMAIN_SAVE_RUNNING or VIR_DOMAIN_SAVE_PAUSED in
        @flags will override the default saved into the file; omitting both
        leaves the file's default unchanged.  These two flags are mutually
        exclusive. i����s&virDomainManagedSaveDefineXML() failedR
(RtvirDomainManagedSaveDefineXMLRXR(RtdxmlR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytmanagedSaveDefineXML�scCs:tj|j|�}|dkr6tdd|��n|S(szThis method will extract the XML description of the managed save
        state file of a domain.
        
        No security-sensitive data will be included unless @flags contains
        VIR_DOMAIN_XML_SECURE; this flag is rejected on read-only
        connections.  For this API, @flags should not contain either
        VIR_DOMAIN_XML_INACTIVE or VIR_DOMAIN_XML_UPDATE_CPU. s'virDomainManagedSaveGetXMLDesc() failedR
N(RtvirDomainManagedSaveGetXMLDescRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytmanagedSaveGetXMLDesc�scCs:tj|j|�}|dkr6tdd|��n|S(s/Remove any managed save image for this domain. i����s#virDomainManagedSaveRemove() failedR
(RtvirDomainManagedSaveRemoveRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytmanagedSaveRemove�scCs7tj|j�}|dkr3tdd|��n|S(s�Retrieve the maximum amount of physical memory allocated to a
        domain. If domain is None, then this get the amount of memory reserved
        to Domain0 i.e. the domain where the application runs. isvirDomainGetMaxMemory() failedR
(RtvirDomainGetMaxMemoryRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	maxMemory�scCs7tj|j�}|dkr3tdd|��n|S(sRProvides the maximum number of virtual CPUs supported for
        the guest VM. If the guest is inactive, this is basically
        the same as virConnectGetMaxVcpus(). If the guest is running
        this will reflect the maximum number of virtual CPUs the
        guest was booted with.  For more details, see virDomainGetVcpusFlags(). i����svirDomainGetMaxVcpus() failedR
(RtvirDomainGetMaxVcpusRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytmaxVcpus�scCs:tj|j|�}|dkr6tdd|��n|S(sGet the memory parameters s%virDomainGetMemoryParameters() failedR
N(RtvirDomainGetMemoryParametersRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytmemoryParameters�scCs@tj|j|||�}|dkr<tdd|��n|S(s%Read the contents of domain's memory svirDomainMemoryPeek() failedR
N(RtvirDomainMemoryPeekRXRR(RtstartR�R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
memoryPeekscCs7tj|j�}|dkr3tdd|��n|S(s(Extracts memory statistics for a domain svirDomainMemoryStats() failedR
N(RtvirDomainMemoryStatsRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytmemoryStatsscCs@tj|j|||�}|dkr<tdd|��n|S(ssRetrieves the appropriate domain element given by @type.
        If VIR_DOMAIN_METADATA_ELEMENT is requested parameter @uri
        must be set to the name of the namespace the requested elements
        belong to, otherwise must be None.
        
        If an element of the domain XML is not present, the resulting
        error will be VIR_ERR_NO_DOMAIN_METADATA.  This method forms
        a shortcut for seeing information from virDomainSetMetadata()
        without having to go through virDomainGetXMLDesc().
        
        @flags controls whether the live domain or persistent
        configuration will be queried. svirDomainGetMetadata() failedR
N(RtvirDomainGetMetadataRXRR(RRWR!R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytmetadatas
c	Csv|dkrd}n	|j}tj|j|||||�}|dkr`tdd|��nt|d|�}|S(s
Migrate the domain object from its current host to the destination
        host given by dconn (a connection to the destination host).
        
        This function is similar to virDomainMigrate3, but it only supports a fixed
        set of parameters: @dname corresponds to VIR_MIGRATE_PARAM_DEST_NAME, @uri
        is VIR_MIGRATE_PARAM_URI, and @bandwidth is VIR_MIGRATE_PARAM_BANDWIDTH.
        
        virDomainFree should be used to free the resources after the
        returned domain object is no longer needed. svirDomainMigrate() failedR
RN(RRXRtvirDomainMigrateRRS(	RtdconnR#tdnameR!Rztdconn__oR$t_virDomain__tmp((s-/usr/lib64/python2.7/site-packages/libvirt.pytmigrate"s
		!c
Csy|dkrd}n	|j}tj|j||||||�}|dkrctdd|��nt|d|�}	|	S(s7Migrate the domain object from its current host to the destination
        host given by dconn (a connection to the destination host).
        
        This function is similar to virDomainMigrate3, but it only supports a fixed
        set of parameters: @dxml corresponds to VIR_MIGRATE_PARAM_DEST_XML, @dname
        is VIR_MIGRATE_PARAM_DEST_NAME, @uri is VIR_MIGRATE_PARAM_URI, and
        @bandwidth is VIR_MIGRATE_PARAM_BANDWIDTH.
        
        virDomainFree should be used to free the resources after the
        returned domain object is no longer needed. svirDomainMigrate2() failedR
RN(RRXRtvirDomainMigrate2RRS(
RR�R�R#R�R!RzR�R$R�((s-/usr/lib64/python2.7/site-packages/libvirt.pytmigrate23s		$cCsp|dkrd}n	|j}tj|j|||�}|dkrZtdd|��nt|d|�}|S(s�Migrate the domain object from its current host to the destination host
                    given by dconn (a connection to the destination host). svirDomainMigrate3() failedR
RN(RRXRtvirDomainMigrate3RRS(RR�R~R#R�R$R�((s-/usr/lib64/python2.7/site-packages/libvirt.pytmigrate3Is		cCstj|j|�}|S(s�Get current size of the cache (in bytes) used for compressing
                    repeatedly transferred memory pages during live migration. (Rt#virDomainMigrateGetCompressionCacheRX(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytmigrateGetCompressionCacheSscCstj|j|�}|S(s{Get the current value of the maximum downtime (in milliseconds)
                    allowed during a migration of a guest. (RtvirDomainMigrateGetMaxDowntimeRX(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytmigrateGetMaxDowntimeYscCs:tj|j|�}|dkr6tdd|��n|S(s>Get currently configured maximum migration speed for a domain i����s$virDomainMigrateGetMaxSpeed() failedR
(RtvirDomainMigrateGetMaxSpeedRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytmigrateGetMaxSpeed_scCs=tj|j||�}|dkr9tdd|��n|S(sOSets size of the cache (in bytes) used for compressing repeatedly
        transferred memory pages during live migration. It's supposed to be called
        while the domain is being live-migrated as a reaction to migration progress
        and increasing number of compression cache misses obtained from
        virDomainGetJobStats. i����s,virDomainMigrateSetCompressionCache() failedR
(Rt#virDomainMigrateSetCompressionCacheRXR(Rt	cacheSizeR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytmigrateSetCompressionCacheiscCs=tj|j||�}|dkr9tdd|��n|S(s�Sets maximum tolerable time for which the domain is allowed to be paused
        at the end of live migration. It's supposed to be called while the domain is
        being live-migrated as a reaction to migration progress. i����s'virDomainMigrateSetMaxDowntime() failedR
(RtvirDomainMigrateSetMaxDowntimeRXR(RtdowntimeR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytmigrateSetMaxDowntimesscCs=tj|j||�}|dkr9tdd|��n|S(s�The maximum bandwidth (in MiB/s) that will be used to do migration
        can be specified with the bandwidth parameter. Not all hypervisors
        will support a bandwidth cap i����s$virDomainMigrateSetMaxSpeed() failedR
(RtvirDomainMigrateSetMaxSpeedRXR(RRzR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytmigrateSetMaxSpeed{scCs:tj|j|�}|dkr6tdd|��n|S(s�Starts post-copy migration. This function has to be called while
        migration (initiated with VIR_MIGRATE_POSTCOPY flag) is in progress.
        
        Traditional pre-copy migration iteratively walks through guest memory
        pages and migrates those that changed since the previous iteration. The
        iterative phase stops when the number of dirty pages is low enough so that
        the virtual CPUs can be paused, all dirty pages transferred to the
        destination, where the virtual CPUs are unpaused, and all this can happen
        within a predefined downtime period. It's clear that this process may never
        converge if downtime is too short and/or the guest keeps changing a lot of
        memory pages.
        
        When migration is switched to post-copy mode, the virtual CPUs are paused
        immediately, only a minimum set of pages is transferred, and the CPUs are
        unpaused on destination. The source keeps sending all remaining memory pages
        to the destination while the guest is already running there. Whenever the
        guest tries to read a memory page which has not been migrated yet, the
        hypervisor has to tell the source to transfer that page in a priority
        channel. To minimize such page faults, it is a good idea to run at least one
        iteration of pre-copy migration before switching to post-copy.
        
        Post-copy migration is guaranteed to converge since each page is transferred
        at most once no matter how fast it changes. On the other hand once the
        guest is running on the destination host, the migration can no longer be
        rolled back because none of the hosts has complete state. If this happens,
        libvirt will leave the domain paused on both hosts with
        VIR_DOMAIN_PAUSED_POSTCOPY_FAILED reason. It's up to the upper layer to
        decide what to do in such case. Because of this, libvirt will refuse to
        cancel post-copy migration via virDomainAbortJob.
        
        The following domain life cycle events are emitted during post-copy
        migration:
         VIR_DOMAIN_EVENT_SUSPENDED_POSTCOPY (on the source) -- migration entered
             post-copy mode.
         VIR_DOMAIN_EVENT_RESUMED_POSTCOPY (on the destination) -- the guest is
             running on the destination host while some of its memory pages still
             remain on the source host; neither the source nor the destination host
             contain a complete guest state from this point until migration
             finishes.
         VIR_DOMAIN_EVENT_RESUMED_MIGRATED (on the destination),
         VIR_DOMAIN_EVENT_STOPPED_MIGRATED (on the source) -- migration finished
             successfully and the destination host holds a complete guest state.
         VIR_DOMAIN_EVENT_SUSPENDED_POSTCOPY_FAILED (on the destination) -- emitted
             when migration fails in post-copy mode and it's unclear whether any
             of the hosts has a complete guest state.
        
        The progress of a post-copy migration can be monitored normally using
        virDomainGetJobStats on the source host. Fetching statistics of a completed
        post-copy migration can also be done on the source host (by calling
        virDomainGetJobStats or listening to VIR_DOMAIN_EVENT_ID_JOB_COMPLETED
        event, but (in contrast to pre-copy migration) the statistics are not
        available on the destination host. Thus, VIR_DOMAIN_EVENT_ID_JOB_COMPLETED
        event is the only way of getting statistics of a completed post-copy
        migration of a transient domain (because the domain is removed after
        migration and there's no domain to run virDomainGetJobStats on). i����s&virDomainMigrateStartPostCopy() failedR
(RtvirDomainMigrateStartPostCopyRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytmigrateStartPostCopy�s8cCsCtj|j||||�}|dkr?tdd|��n|S(s�Migrate the domain object from its current host to the destination
        host given by duri.
        
        This function is similar to virDomainMigrateToURI3, but it only supports a
        fixed set of parameters: @dname corresponds to VIR_MIGRATE_PARAM_DEST_NAME,
        and @bandwidth corresponds to VIR_MIGRATE_PARAM_BANDWIDTH.
        
        The operation of this API hinges on the VIR_MIGRATE_PEER2PEER flag.
        
        If the VIR_MIGRATE_PEER2PEER flag IS set, the @duri parameter must be a
        valid libvirt connection URI, by which the source libvirt driver can connect
        to the destination libvirt. In other words, @duri corresponds to @dconnuri
        of virDomainMigrateToURI3.
        
        If the VIR_MIGRATE_PEER2PEER flag is NOT set, the @duri parameter takes a
        hypervisor specific URI used to initiate the migration. In this case @duri
        corresponds to VIR_MIGRATE_PARAM_URI of virDomainMigrateToURI3. i����svirDomainMigrateToURI() failedR
(RtvirDomainMigrateToURIRXR(RtduriR#R�RzR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytmigrateToURI�scCsItj|j||||||�}|dkrEtdd|��n|S(sIMigrate the domain object from its current host to the destination
        host given by @dconnuri.
        
        This function is similar to virDomainMigrateToURI3, but it only supports a
        fixed set of parameters: @miguri corresponds to VIR_MIGRATE_PARAM_URI, @dxml
        is VIR_MIGRATE_PARAM_DEST_XML, @dname is VIR_MIGRATE_PARAM_DEST_NAME, and
        @bandwidth corresponds to VIR_MIGRATE_PARAM_BANDWIDTH.
        
        The operation of this API hinges on the VIR_MIGRATE_PEER2PEER flag.
        
        If the VIR_MIGRATE_PEER2PEER flag IS set, the @dconnuri parameter must be a
        valid libvirt connection URI, by which the source libvirt driver can connect
        to the destination libvirt. In other words, @dconnuri has the same semantics
        as in virDomainMigrateToURI3.
        
        If the VIR_MIGRATE_PEER2PEER flag is NOT set, the @dconnuri must be None
        and the @miguri parameter takes a hypervisor specific URI used to initiate
        the migration. In this case @miguri corresponds to VIR_MIGRATE_PARAM_URI of
        virDomainMigrateToURI3. i����svirDomainMigrateToURI2() failedR
(RtvirDomainMigrateToURI2RXR(RtdconnuritmiguriR�R#R�RzR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
migrateToURI2�s$cCs@tj|j|||�}|dkr<tdd|��n|S(sjMigrate the domain object from its current host to the destination host
                    given by URI. i����svirDomainMigrateToURI3() failedR
(RtvirDomainMigrateToURI3RXR(RRR~R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
migrateToURI3�scCstj|j�}|S(s$Get the public name for that domain (RtvirDomainGetNameRX(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR'�scCs:tj|j|�}|dkr6tdd|��n|S(sGet the NUMA parameters s#virDomainGetNumaParameters() failedR
N(RtvirDomainGetNumaParametersRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnumaParametersscCs^|dkrd}n	|j}tj|j|||�}|dkrZtdd|��n|S(s�This opens the host interface associated with a channel device on a
        guest, if the host interface is supported.  If @name is given, it
        can match either the device alias (e.g. "channel0"), or the virtio
        target name (e.g. "org.qemu.guest_agent.0").  If @name is omitted,
        then the first channel is opened. The channel is associated with
        the passed in @st stream, which should have been opened in
        non-blocking mode for bi-directional I/O.
        
        By default, when @flags is 0, the open will fail if libvirt detects
        that the channel is already in use by another client; passing
        VIR_DOMAIN_CHANNEL_FORCE will cause libvirt to forcefully remove the
        other client prior to opening this channel. i����svirDomainOpenChannel() failedR
N(RRXRtvirDomainOpenChannelR(RR'tstR#tst__oR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytopenChannels
		cCs^|dkrd}n	|j}tj|j|||�}|dkrZtdd|��n|S(s�This opens the backend associated with a console, serial or
        parallel port device on a guest, if the backend is supported.
        If the @dev_name is omitted, then the first console or serial
        device is opened. The console is associated with the passed
        in @st stream, which should have been opened in non-blocking
        mode for bi-directional I/O.
        
        By default, when @flags is 0, the open will fail if libvirt
        detects that the console is already in use by another client;
        passing VIR_DOMAIN_CONSOLE_FORCE will cause libvirt to forcefully
        remove the other client prior to opening this console.
        
        If flag VIR_DOMAIN_CONSOLE_SAFE the console is opened only in the
        case where the hypervisor driver supports safe (mutually exclusive)
        console handling.
        
        Older servers did not support either flag, and also did not forbid
        simultaneous clients on a console, with potentially confusing results.
        When passing @flags of 0 in order to support a wider range of server
        versions, it is up to the client to ensure mutual exclusion. i����svirDomainOpenConsole() failedR
N(RRXRtvirDomainOpenConsoleR(Rtdev_nameRR#RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytopenConsole"s		cCs@tj|j|||�}|dkr<tdd|��n|S(s�This will attempt to connect the file descriptor @fd, to
        the graphics backend of @dom. If @dom has multiple graphics
        backends configured, then @idx will determine which one is
        opened, starting from @idx 0.
        
        To disable any authentication, pass the VIR_DOMAIN_OPEN_GRAPHICS_SKIPAUTH
        constant for @flags.
        
        The caller should use an anonymous socketpair to open
        @fd before invocation.
        
        This method can only be used when connected to a local
        libvirt hypervisor, over a UNIX domain socket. Attempts
        to use this method over a TCP connection will always fail i����svirDomainOpenGraphics() failedR
(RtvirDomainOpenGraphicsRXR(RtidxR+R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytopenGraphics=scCs=tj|j||�}|dkr9tdd|��n|S(s�This will create a socket pair connected to the graphics backend of @dom.
        One end of the socket will be returned on success, and the other end is
        handed to the hypervisor.
        If @dom has multiple graphics backends configured, then @idx will determine
        which one is opened, starting from @idx 0.
        
        To disable any authentication, pass the VIR_DOMAIN_OPEN_GRAPHICS_SKIPAUTH
        constant for @flags.
        
        This method can only be used when connected to a local
        libvirt hypervisor, over a UNIX domain socket. Attempts
        to use this method over a TCP connection will always fail. i����s virDomainOpenGraphicsFD() failedR
(RtvirDomainOpenGraphicsFDRXR(RR%R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytopenGraphicsFDPs
cCs@tj|j|||�}|dkr<tdd|��n|S(s]Attempt to have the guest enter the given @target power management
        suspension level.  If @duration is non-zero, also schedule the guest to
        resume normal operation after that many seconds, if nothing else has
        resumed it earlier.  Some hypervisors require that @duration be 0, for
        an indefinite suspension.
        
        Dependent on hypervisor used, this may require a
        guest agent to be available, e.g. QEMU.
        
        Beware that at least for QEMU, the domain's process will be terminated
        when VIR_NODE_SUSPEND_TARGET_DISK is used and a new process will be
        launched when libvirt is asked to wake up the domain. As a result of
        this, any runtime changes, such as device hotplug or memory settings,
        are lost unless such changes were made with VIR_DOMAIN_AFFECT_CONFIG
        flag. i����s&virDomainPMSuspendForDuration() failedR
(RtvirDomainPMSuspendForDurationRXR(RttargettdurationR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytpMSuspendForDurationascCs:tj|j|�}|dkr6tdd|��n|S(s�Inject a wakeup into the guest that previously used
        virDomainPMSuspendForDuration, rather than waiting for the
        previously requested duration (if any) to elapse. i����svirDomainPMWakeup() failedR
(RtvirDomainPMWakeupRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytpMWakeupuscCs:tj|j|�}|dkr6tdd|��n|S(sGet all perf events setting. svirDomainGetPerfEvents() failedR
N(RtvirDomainGetPerfEventsRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
perfEvents�scCs=tj|j||�}|dkr9tdd|��n|S(s�Dynamically change the real CPUs which can be allocated to the emulator process of a domain.
                    This function requires privileged access to the hypervisor. i����svirDomainPinEmulator() failedR
(RtvirDomainPinEmulatorRXR(RtcpumapR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytpinEmulator�scCs@tj|j|||�}|dkr<tdd|��n|S(s�Dynamically change the real CPUs which can be allocated to an IOThread. This function requires privileged access to the hypervisor. i����svirDomainPinIOThread() failedR
(RtvirDomainPinIOThreadRXR(Rtiothread_valR2R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytpinIOThread�scCs=tj|j||�}|dkr9tdd|��n|S(s�Dynamically change the real CPUs which can be allocated to a virtual CPU. This function requires privileged access to the hypervisor. i����svirDomainPinVcpu() failedR
(RtvirDomainPinVcpuRXR(RtvcpuR2R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytpinVcpu�scCs@tj|j|||�}|dkr<tdd|��n|S(s�Dynamically change the real CPUs which can be allocated to a virtual CPU. This function requires privileged access to the hypervisor. i����svirDomainPinVcpuFlags() failedR
(RtvirDomainPinVcpuFlagsRXR(RR8R2R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytpinVcpuFlags�scCs:tj|j|�}|dkr6tdd|��n|S(sTReboot a domain, the domain object is still usable thereafter, but
        the domain OS is being stopped for a restart.
        Note that the guest OS may ignore the request.
        Additionally, the hypervisor may check and support the domain
        'on_reboot' XML setting resulting in a domain that shuts down instead
        of rebooting.
        
        If @flags is set to zero, then the hypervisor will choose the
        method of shutdown it considers best. To have greater control
        pass one or more of the virDomainRebootFlagValues. The order
        in which the hypervisor tries each shutdown method is undefined,
        and a hypervisor is not required to support all methods.
        
        To use guest agent (VIR_DOMAIN_REBOOT_GUEST_AGENT) the domain XML
        must have <channel> configured.
        
        Due to implementation limitations in some drivers (the qemu driver,
        for instance) it is not advised to migrate or save a guest that is
        rebooting as a result of this API. Migrating such a guest can lead
        to a plain shutdown on the destination. i����svirDomainReboot() failedR
(RtvirDomainRebootRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytreboot�scCs=tj|j||�}|dkr9tdd|��n|S(s�Rename a domain. New domain name is specified in the second
        argument. Depending on each driver implementation it may be
        required that domain is in a specific state.
        
        There might be some attributes and/or elements in domain XML that if no
        value provided at XML defining time, libvirt will derive their value from
        the domain name. These are not updated by this API. Users are strongly
        advised to change these after the rename was successful. i����svirDomainRename() failedR
(RtvirDomainRenameRXR(Rtnew_nameR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytrename�s	cCs:tj|j|�}|dkr6tdd|��n|S(s8Reset a domain immediately without any guest OS shutdown.
        Reset emulates the power reset button on a machine, where all
        hardware sees the RST line set and reinitializes internal state.
        
        Note that there is a risk of data loss caused by reset without any
        guest OS shutdown. i����svirDomainReset() failedR
(RtvirDomainResetRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytreset�scCs7tj|j�}|dkr3tdd|��n|S(s(Resume a suspended domain, the process is restarted from the state where
        it was frozen by calling virDomainSuspend().
        This function may require privileged access
        Moreover, resume may not be supported if domain is in some
        special state like VIR_DOMAIN_PMSUSPENDED. i����svirDomainResume() failedR
(RtvirDomainResumeRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytresume�scCs[|dkrd}n	|j}tj|j||�}|dkrWtdd|��n|S(s(revert the domain to the given snapshot i����s"virDomainRevertToSnapshot() failedR
N(RRXRtvirDomainRevertToSnapshotR(RtsnapR#tsnap__oR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytrevertToSnapshot�s		cCs:tj|j|�}|dkr6tdd|��n|S(s�This method will suspend a domain and save its memory contents to
        a file on disk. After the call, if successful, the domain is not
        listed as running anymore (this ends the life of a transient domain).
        Use virDomainRestore() to restore a domain after saving.
        
        See virDomainSaveFlags() for more control.  Also, a save file can
        be inspected or modified slightly with virDomainSaveImageGetXMLDesc()
        and virDomainSaveImageDefineXML(). i����svirDomainSave() failedR
(Rt
virDomainSaveRXR(RR�R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsave�s	cCs@tj|j|||�}|dkr<tdd|��n|S(s�This method will suspend a domain and save its memory contents to
        a file on disk. After the call, if successful, the domain is not
        listed as running anymore (this ends the life of a transient domain).
        Use virDomainRestore() to restore a domain after saving.
        
        If the hypervisor supports it, @dxml can be used to alter
        host-specific portions of the domain XML that will be used when
        restoring an image.  For example, it is possible to alter the
        backing filename that is associated with a disk device, in order to
        prepare for file renaming done as part of backing up the disk
        device while the domain is stopped.
        
        If @flags includes VIR_DOMAIN_SAVE_BYPASS_CACHE, then libvirt will
        attempt to bypass the file system cache while creating the file, or
        fail if it cannot do so for the given system; this can allow less
        pressure on file system cache, but also risks slowing saves to NFS.
        
        Normally, the saved state file will remember whether the domain was
        running or paused, and restore defaults to the same state.
        Specifying VIR_DOMAIN_SAVE_RUNNING or VIR_DOMAIN_SAVE_PAUSED in
        @flags will override what state gets saved into the file.  These
        two flags are mutually exclusive.
        
        A save file can be inspected or modified slightly with
        virDomainSaveImageGetXMLDesc() and virDomainSaveImageDefineXML().
        
        Some hypervisors may prevent this operation if there is a current
        block copy operation; in that case, use virDomainBlockJobAbort()
        to stop the block copy first. i����svirDomainSaveFlags() failedR
(RtvirDomainSaveFlagsRXR(RR�R�R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	saveFlags�scCs7tj|j�}|dkr3tdd|��n|S(sPGet the scheduler parameters, the @params array will be filled with the values. s(virDomainGetSchedulerParameters() failedR
N(RtvirDomainGetSchedulerParametersRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytschedulerParameters"scCs:tj|j|�}|dkr6tdd|��n|S(sGet the scheduler parameters s-virDomainGetSchedulerParametersFlags() failedR
N(Rt$virDomainGetSchedulerParametersFlagsRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytschedulerParametersFlags(scCs7tj|j�}|dkr3tdd|��n|S(sGet the scheduler type. s"virDomainGetSchedulerType() failedR
N(RtvirDomainGetSchedulerTypeRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
schedulerType.scCs^|dkrd}n	|j}tj|j|||�}|dkrZtdd|��n|S(s�Take a screenshot of current domain console as a stream. The image format
        is hypervisor specific. Moreover, some hypervisors supports multiple
        displays per domain. These can be distinguished by @screen argument.
        
        This call sets up a stream; subsequent use of stream API is necessary
        to transfer actual data, determine how much data is successfully
        transferred, and detect any errors.
        
        The screen ID is the sequential number of screen. In case of multiple
        graphics cards, heads are enumerated before devices, e.g. having
        two graphics cards, both with four heads, screen ID 5 addresses
        the second head on the second card. svirDomainScreenshot() failedR
N(RRXRtvirDomainScreenshotR(RtstreamtscreenR#t	stream__oR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
screenshot8s
		cCs7tj|j�}|dkr3tdd|��n|S(s\Extract information about the domain security label. Only the first label will be returned. s"virDomainGetSecurityLabel() failedR
N(RtvirDomainGetSecurityLabelRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
securityLabelOscCs7tj|j�}|dkr3tdd|��n|S(s\Extract information about the domain security label. A list of all labels will be returned. s&virDomainGetSecurityLabelList() failedR
N(RtvirDomainGetSecurityLabelListRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsecurityLabelListUscCsFtj|j|||||�}|dkrBtdd|��n|S(sSend key(s) to the guest. i����svirDomainSendKey() failedR
(RtvirDomainSendKeyRXR(Rtcodesettholdtimetkeycodest	nkeycodesR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsendKey_s!cCs@tj|j|||�}|dkr<tdd|��n|S(s�Send a signal to the designated process in the guest
        
        The signal numbers must be taken from the virDomainProcessSignal
        enum. These will be translated to the corresponding signal
        number for the guest OS, by the guest agent delivering the
        signal. If there is no mapping from virDomainProcessSignal to
        the native OS signals, this API will report an error.
        
        If @pid_value is an integer greater than zero, it is
        treated as a process ID. If @pid_value is an integer
        less than zero, it is treated as a process group ID.
        All the @pid_value numbers are from the container/guest
        namespace. The value zero is not valid.
        
        Not all hypervisors will support sending signals to
        arbitrary processes or process groups. If this API is
        implemented the minimum requirement is to be able to
        use @pid_value == 1 (i.e. kill init). No other value is
        required to be supported.
        
        If the @signum is VIR_DOMAIN_PROCESS_SIGNAL_NOP then this
        API will simply report whether the process is running in
        the container/guest. i����s#virDomainSendProcessSignal() failedR
(RtvirDomainSendProcessSignalRXR(Rt	pid_valuetsignumR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsendProcessSignalescCs:tj|j|�}|dkr6tdd|��n|S(sVConfigure the domain to be automatically started
        when the host machine boots. i����svirDomainSetAutostart() failedR
(RtvirDomainSetAutostartRXR(RRsR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetAutostart�scCs=tj|j||�}|dkr9tdd|��n|S(sChange the blkio tunables i����s$virDomainSetBlkioParameters() failedR
(RtvirDomainSetBlkioParametersRXR(RR~R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetBlkioParameters�scCs@tj|j|||�}|dkr<tdd|��n|S(s+Change the I/O tunables for a block device i����s virDomainSetBlockIoTune() failedR
(RtvirDomainSetBlockIoTuneRXR(RRwR~R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetBlockIoTune�scCs@tj|j|||�}|dkr<tdd|��n|S(sDSet the threshold level for delivering the
        VIR_DOMAIN_EVENT_ID_BLOCK_THRESHOLD if the device or backing chain element
        described by @dev is written beyond the set threshold level. The threshold
        level is unset once the event fires. The event might not be delivered at all
        if libvirtd was not running at the moment when the threshold was reached.
        
        Hypervisors report the last written sector of an image in the bulk stats API
        (virConnectGetAllDomainStats/virDomainListGetStats) as
        "block.<num>.allocation" in the VIR_DOMAIN_STATS_BLOCK group. The current
        threshold value is reported as "block.<num>.threshold".
        
        This event allows to use thin-provisioned storage which needs management
        tools to grow it without the need for polling of the data. i����s#virDomainSetBlockThreshold() failedR
(RtvirDomainSetBlockThresholdRXR(Rtdevt	thresholdR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetBlockThreshold�scCs@tj|j|||�}|dkr<tdd|��n|S(s�Sets state of individual vcpus described by @cpumap via guest agent. Other
        vcpus are not modified.
        
        This API requires the VM to run. Various hypervisors or guest agent
        implementation may limit to operate on just 1 vCPU per call.
        
        @cpumap is a list of vCPU numbers. Its syntax is a comma separated list and
        a special markup using '-' and '^' (ex. '0-4', '0-3,^2'). The '-' denotes
        the range and the '^' denotes exclusive. The expression is sequentially
        evaluated, so "0-15,^8" is identical to "9-14,0-7,15" but not identical to
        "^8,0-15".
        
        Note that OSes (notably Linux) may require vCPU 0 to stay online to support
        low-level features a S3 sleep. i����svirDomainSetGuestVcpus() failedR
(RtvirDomainSetGuestVcpusRXR(RR2tstateR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
setGuestVcpus�scCs@tj|j|||�}|dkr<tdd|��n|S(s5Change the bandwidth tunables for a interface device i����s(virDomainSetInterfaceParameters() failedR
(RtvirDomainSetInterfaceParametersRXR(RR�R~R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetInterfaceParameters�scCs@tj|j|||�}|dkr<tdd|��n|S(s?Changes the actions of lifecycle events for domain represented as
        <on_$type>$action</on_$type> in the domain XML.
        
        QEMU driver has a limitation that if all lifecycle events are set
        to destroy when the domain is started, it's not possible to change
        any action for running domain. i����s$virDomainSetLifecycleAction() failedR
(RtvirDomainSetLifecycleActionRXR(RRWtactionR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetLifecycleAction�scCs:tj|j|�}|dkr6tdd|��n|S(s�Dynamically change the maximum amount of physical memory allocated to a
        domain. If domain is None, then this change the amount of memory reserved
        to Domain0 i.e. the domain where the application runs.
        This function may require privileged access to the hypervisor.
        
        This command is hypervisor-specific for whether active, persistent,
        or both configurations are changed; for more control, use
        virDomainSetMemoryFlags(). i����svirDomainSetMaxMemory() failedR
(RtvirDomainSetMaxMemoryRXR(RtmemoryR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetMaxMemory�s	cCs:tj|j|�}|dkr6tdd|��n|S(s�Dynamically change the target amount of physical memory allocated to a
        domain. If domain is None, then this change the amount of memory reserved
        to Domain0 i.e. the domain where the application runs.
        This function may require privileged access to the hypervisor.
        
        This command is hypervisor-specific for whether active, persistent,
        or both configurations are changed; for more control, use
        virDomainSetMemoryFlags(). i����svirDomainSetMemory() failedR
(RtvirDomainSetMemoryRXR(RRyR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	setMemory�s	cCs=tj|j||�}|dkr9tdd|��n|S(sUDynamically change the target amount of physical memory allocated to a
        domain. If domain is None, then this change the amount of memory reserved
        to Domain0 i.e. the domain where the application runs.
        This function may require privileged access to the hypervisor.
        
        @flags may include VIR_DOMAIN_AFFECT_LIVE or VIR_DOMAIN_AFFECT_CONFIG.
        Both flags may be set. If VIR_DOMAIN_AFFECT_LIVE is set, the change affects
        a running domain and will fail if domain is not active.
        If VIR_DOMAIN_AFFECT_CONFIG is set, the change affects persistent state,
        and will fail for transient domains. If neither flag is specified
        (that is, @flags is VIR_DOMAIN_AFFECT_CURRENT), then an inactive domain
        modifies persistent setup, while an active domain is hypervisor-dependent
        on whether just live or both live and persistent state is changed.
        If VIR_DOMAIN_MEM_MAXIMUM is set, the change affects domain's maximum memory
        size rather than current memory size.
        Not all hypervisors can support all flag combinations. i����s virDomainSetMemoryFlags() failedR
(RtvirDomainSetMemoryFlagsRXR(RRyR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetMemoryFlags�scCs=tj|j||�}|dkr9tdd|��n|S(sChange the memory tunables i����s%virDomainSetMemoryParameters() failedR
(RtvirDomainSetMemoryParametersRXR(RR~R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetMemoryParameters
	scCs=tj|j||�}|dkr9tdd|��n|S(sGDynamically change the domain memory balloon driver statistics collection
        period. Use 0 to disable and a positive value to enable.
        
        @flags may include VIR_DOMAIN_AFFECT_LIVE or VIR_DOMAIN_AFFECT_CONFIG.
        Both flags may be set. If VIR_DOMAIN_AFFECT_LIVE is set, the change affects
        a running domain and will fail if domain is not active.
        If VIR_DOMAIN_AFFECT_CONFIG is set, the change affects persistent state,
        and will fail for transient domains. If neither flag is specified
        (that is, @flags is VIR_DOMAIN_AFFECT_CURRENT), then an inactive domain
        modifies persistent setup, while an active domain is hypervisor-dependent
        on whether just live or both live and persistent state is changed.
        
        Not all hypervisors can support all flag combinations. i����s&virDomainSetMemoryStatsPeriod() failedR
(RtvirDomainSetMemoryStatsPeriodRXR(RtperiodR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetMemoryStatsPeriod	scCsFtj|j|||||�}|dkrBtdd|��n|S(s�Sets the appropriate domain element given by @type to the
        value of @metadata.  A @type of VIR_DOMAIN_METADATA_DESCRIPTION
        is free-form text; VIR_DOMAIN_METADATA_TITLE is free-form, but no
        newlines are permitted, and should be short (although the length is
        not enforced). For these two options @key and @uri are irrelevant and
        must be set to None.
        
        For type VIR_DOMAIN_METADATA_ELEMENT @metadata  must be well-formed
        XML belonging to namespace defined by @uri with local name @key.
        
        Passing None for @metadata says to remove that element from the
        domain XML (passing the empty string leaves the element present).
        
        The resulting metadata will be present in virDomainGetXMLDesc(),
        as well as quick access through virDomainGetMetadata().
        
        @flags controls whether the live domain, persistent configuration,
        or both will be modified. i����svirDomainSetMetadata() failedR
(RtvirDomainSetMetadataRXR(RRWR�tkeyR!R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetMetadata)	s!cCs=tj|j||�}|dkr9tdd|��n|S(sChange the NUMA tunables i����s#virDomainSetNumaParameters() failedR
(RtvirDomainSetNumaParametersRXR(RR~R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetNumaParametersD	scCs=tj|j||�}|dkr9tdd|��n|S(s5Enable or disable the particular list of perf events i����svirDomainSetPerfEvents() failedR
(RtvirDomainSetPerfEventsRXR(RR~R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
setPerfEventsJ	scCs:tj|j|�}|dkr6tdd|��n|S(s Change the scheduler parameters i����s(virDomainSetSchedulerParameters() failedR
(RtvirDomainSetSchedulerParametersRXR(RR~R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetSchedulerParametersP	scCs=tj|j||�}|dkr9tdd|��n|S(s Change the scheduler parameters i����s-virDomainSetSchedulerParametersFlags() failedR
(Rt$virDomainSetSchedulerParametersFlagsRXR(RR~R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetSchedulerParametersFlagsV	scCs@tj|j|||�}|dkr<tdd|��n|S(scSets the @user password to the value specified by @password.
        If @flags contain VIR_DOMAIN_PASSWORD_ENCRYPTED, the password
        is assumed to be encrypted by the method required by the guest OS.
        
        Please note that some hypervisors may require guest agent to
        be configured and running in order to be able to run this API. i����s!virDomainSetUserPassword() failedR
(RtvirDomainSetUserPasswordRXR(RtusertpasswordR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetUserPassword`	scCs@tj|j|||�}|dkr<tdd|��n|S(sFEnables/disables individual vcpus described by @vcpumap in the hypervisor.
        
        Various hypervisor implementations may limit to operate on just 1
        hotpluggable entity (which may contain multiple vCPUs on certain platforms).
        
        Note that OSes and hypervisors may require vCPU 0 to stay online. i����svirDomainSetVcpu() failedR
(RtvirDomainSetVcpuRXR(RtvcpumapRqR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetVcpuk	scCs:tj|j|�}|dkr6tdd|��n|S(s�Dynamically change the number of virtual CPUs used by the domain.
        Note that this call may fail if the underlying virtualization hypervisor
        does not support it or if growing the number is arbitrarily limited.
        This function may require privileged access to the hypervisor.
        
        Note that if this call is executed before the guest has finished booting,
        the guest may fail to process the change.
        
        This command only changes the runtime configuration of the domain,
        so can only be called on an active domain.  It is hypervisor-dependent
        whether it also affects persistent configuration; for more control,
        use virDomainSetVcpusFlags(). i����svirDomainSetVcpus() failedR
(RtvirDomainSetVcpusRXR(RtnvcpusR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetVcpusv	s
cCs=tj|j||�}|dkr9tdd|��n|S(sPDynamically change the number of virtual CPUs used by the domain.
        Note that this call may fail if the underlying virtualization hypervisor
        does not support it or if growing the number is arbitrarily limited.
        This function may require privileged access to the hypervisor.
        
        @flags may include VIR_DOMAIN_AFFECT_LIVE to affect a running
        domain (which may fail if domain is not active), or
        VIR_DOMAIN_AFFECT_CONFIG to affect the next boot via the XML
        description of the domain.  Both flags may be set.
        If neither flag is specified (that is, @flags is VIR_DOMAIN_AFFECT_CURRENT),
        then an inactive domain modifies persistent setup, while an active domain
        is hypervisor-dependent on whether just live or both live and persistent
        state is changed.
        
        Note that if this call is executed before the guest has finished booting,
        the guest may fail to process the change.
        
        If @flags includes VIR_DOMAIN_VCPU_MAXIMUM, then
        VIR_DOMAIN_AFFECT_LIVE must be clear, and only the maximum virtual
        CPU limit is altered; generally, this value must be less than or
        equal to virConnectGetMaxVcpus().  Otherwise, this call affects the
        current virtual CPU limit, which must be less than or equal to the
        maximum limit. Note that hypervisors may not allow changing the maximum
        vcpu count if processor topology is specified.
        
        If @flags includes VIR_DOMAIN_VCPU_GUEST, then the state of processors is
        modified inside the guest instead of the hypervisor. This flag can only
        be used with live guests and is incompatible with VIR_DOMAIN_VCPU_MAXIMUM.
        The usage of this flag may require a guest agent configured.
        
        Not all hypervisors can support all flag combinations. i����svirDomainSetVcpusFlags() failedR
(RtvirDomainSetVcpusFlagsRXR(RR�R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
setVcpusFlags�	s cCs7tj|j�}|dkr3tdd|��n|S(skShutdown a domain, the domain object is still usable thereafter, but
        the domain OS is being stopped. Note that the guest OS may ignore the
        request. Additionally, the hypervisor may check and support the domain
        'on_poweroff' XML setting resulting in a domain that reboots instead of
        shutting down. For guests that react to a shutdown request, the differences
        from virDomainDestroy() are that the guests disk storage will be in a
        stable state rather than having the (virtual) power cord pulled, and
        this command returns as soon as the shutdown request is issued rather
        than blocking until the guest is no longer running.
        
        If the domain is transient and has any snapshot metadata (see
        virDomainSnapshotNum()), then that metadata will automatically
        be deleted when the domain quits. i����svirDomainShutdown() failedR
(RtvirDomainShutdownRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytshutdown�	scCs:tj|j|�}|dkr6tdd|��n|S(sNShutdown a domain, the domain object is still usable thereafter but
        the domain OS is being stopped. Note that the guest OS may ignore the
        request. Additionally, the hypervisor may check and support the domain
        'on_poweroff' XML setting resulting in a domain that reboots instead of
        shutting down. For guests that react to a shutdown request, the differences
        from virDomainDestroy() are that the guest's disk storage will be in a
        stable state rather than having the (virtual) power cord pulled, and
        this command returns as soon as the shutdown request is issued rather
        than blocking until the guest is no longer running.
        
        If the domain is transient and has any snapshot metadata (see
        virDomainSnapshotNum()), then that metadata will automatically
        be deleted when the domain quits.
        
        If @flags is set to zero, then the hypervisor will choose the
        method of shutdown it considers best. To have greater control
        pass one or more of the virDomainShutdownFlagValues. The order
        in which the hypervisor tries each shutdown method is undefined,
        and a hypervisor is not required to support all methods.
        
        To use guest agent (VIR_DOMAIN_SHUTDOWN_GUEST_AGENT) the domain XML
        must have <channel> configured. i����svirDomainShutdownFlags() failedR
(RtvirDomainShutdownFlagsRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
shutdownFlags�	scCsOtj|j||�}|dkr9tdd|��nt|d|�}|S(sXCreates a new snapshot of a domain based on the snapshot xml
        contained in xmlDesc.
        
        If @flags is 0, the domain can be active, in which case the
        snapshot will be a system checkpoint (both disk state and runtime
        VM state such as RAM contents), where reverting to the snapshot is
        the same as resuming from hibernation (TCP connections may have
        timed out, but everything else picks up where it left off); or
        the domain can be inactive, in which case the snapshot includes
        just the disk state prior to booting.  The newly created snapshot
        becomes current (see virDomainSnapshotCurrent()), and is a child
        of any previous current snapshot.
        
        If @flags includes VIR_DOMAIN_SNAPSHOT_CREATE_REDEFINE, then this
        is a request to reinstate snapshot metadata that was previously
        discarded, rather than creating a new snapshot.  This can be used
        to recreate a snapshot hierarchy on a destination, then remove it
        on the source, in order to allow migration (since migration
        normally fails if snapshot metadata still remains on the source
        machine).  When redefining snapshot metadata, the current snapshot
        will not be altered unless the VIR_DOMAIN_SNAPSHOT_CREATE_CURRENT
        flag is also present.  It is an error to request the
        VIR_DOMAIN_SNAPSHOT_CREATE_CURRENT flag without
        VIR_DOMAIN_SNAPSHOT_CREATE_REDEFINE.  On some hypervisors,
        redefining an existing snapshot can be used to alter host-specific
        portions of the domain XML to be used during revert (such as
        backing filenames associated with disk devices), but must not alter
        guest-visible layout.  When redefining a snapshot name that does
        not exist, the hypervisor may validate that reverting to the
        snapshot appears to be possible (for example, disk images have
        snapshot contents by the requested name).  Not all hypervisors
        support these flags.
        
        If @flags includes VIR_DOMAIN_SNAPSHOT_CREATE_NO_METADATA, then the
        domain's disk images are modified according to @xmlDesc, but then
        the just-created snapshot has its metadata deleted.  This flag is
        incompatible with VIR_DOMAIN_SNAPSHOT_CREATE_REDEFINE.
        
        If @flags includes VIR_DOMAIN_SNAPSHOT_CREATE_HALT, then the domain
        will be inactive after the snapshot completes, regardless of whether
        it was active before; otherwise, a running domain will still be
        running after the snapshot.  This flag is invalid on transient domains,
        and is incompatible with VIR_DOMAIN_SNAPSHOT_CREATE_REDEFINE.
        
        If @flags includes VIR_DOMAIN_SNAPSHOT_CREATE_LIVE, then the domain
        is not paused while creating the snapshot. This increases the size
        of the memory dump file, but reduces downtime of the guest while
        taking the snapshot. Some hypervisors only support this flag during
        external checkpoints.
        
        If @flags includes VIR_DOMAIN_SNAPSHOT_CREATE_DISK_ONLY, then the
        snapshot will be limited to the disks described in @xmlDesc, and no
        VM state will be saved.  For an active guest, the disk image may be
        inconsistent (as if power had been pulled), and specifying this
        with the VIR_DOMAIN_SNAPSHOT_CREATE_HALT flag risks data loss.
        
        If @flags includes VIR_DOMAIN_SNAPSHOT_CREATE_QUIESCE, then the
        libvirt will attempt to use guest agent to freeze and thaw all
        file systems in use within domain OS. However, if the guest agent
        is not present, an error is thrown. Moreover, this flag requires
        VIR_DOMAIN_SNAPSHOT_CREATE_DISK_ONLY to be passed as well.
        
        By default, if the snapshot involves external files, and any of the
        destination files already exist as a non-empty regular file, the
        snapshot is rejected to avoid losing contents of those files.
        However, if @flags includes VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT,
        then the destination files must be pre-created manually with
        the correct image format and metadata including backing store path
        (this allows a management app to pre-create files with relative backing
        file names, rather than the default of creating with absolute backing
        file names). Note that only the file specified in the snapshot XML is
        inserted as a snapshot thus setting incorrect metadata in the pre-created
        image may lead to the VM being unable to start or other block jobs may fail.
        
        Be aware that although libvirt prefers to report errors up front with
        no other effect, some hypervisors have certain types of failures where
        the overall command can easily fail even though the guest configuration
        was partially altered (for example, if a disk snapshot request for two
        disks fails on the second disk, but the first disk alteration cannot be
        rolled back).  If this API call fails, it is therefore normally
        necessary to follow up with virDomainGetXMLDesc() and check each disk
        to determine if any partial changes occurred.  However, if @flags
        contains VIR_DOMAIN_SNAPSHOT_CREATE_ATOMIC, then libvirt guarantees
        that this command will not alter any disks unless the entire set of
        changes can be done atomically, making failure recovery simpler (note
        that it is still possible to fail after disks have changed, but only
        in the much rarer cases of running out of memory or disk space).
        
        Some hypervisors may prevent this operation if there is a current
        block copy operation; in that case, use virDomainBlockJobAbort()
        to stop the block copy first.
        
        virDomainSnapshotFree should be used to free the resources after the
        snapshot object is no longer needed. s#virDomainSnapshotCreateXML() failedR
RN(RtvirDomainSnapshotCreateXMLRXRRtvirDomainSnapshot(RtxmlDescR#R$R�((s-/usr/lib64/python2.7/site-packages/libvirt.pytsnapshotCreateXML�	s
_cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Get the current snapshot for a domain, if any.
        
        virDomainSnapshotFree should be used to free the resources after the
        snapshot object is no longer needed. s!virDomainSnapshotCurrent() failedR
RN(RtvirDomainSnapshotCurrentRXRRR�(RR#R$R�((s-/usr/lib64/python2.7/site-packages/libvirt.pytsnapshotCurrent@
s
cCs:tj|j|�}|dkr6tdd|��n|S(s8collect the list of snapshot names for the given domain s#virDomainSnapshotListNames() failedR
N(RtvirDomainSnapshotListNamesRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsnapshotListNamesN
scCsOtj|j||�}|dkr9tdd|��nt|d|�}|S(s3Try to lookup a domain snapshot based on its name. s&virDomainSnapshotLookupByName() failedR
RN(RtvirDomainSnapshotLookupByNameRXRRR�(RR'R#R$R�((s-/usr/lib64/python2.7/site-packages/libvirt.pytsnapshotLookupByNameX
s
cCs:tj|j|�}|dkr6tdd|��n|S(s�Provides the number of domain snapshots for this domain.
        
        By default, this command covers all snapshots; it is also possible to
        limit things to just snapshots with no parents, when @flags includes
        VIR_DOMAIN_SNAPSHOT_LIST_ROOTS.  Additional filters are provided in
        groups, where each group contains bits that describe mutually exclusive
        attributes of a snapshot, and where all bits within a group describe
        all possible snapshots.  Some hypervisors might reject explicit bits
        from a group where the hypervisor cannot make a distinction.  For a
        group supported by a given hypervisor, the behavior when no bits of a
        group are set is identical to the behavior when all bits in that group
        are set.  When setting bits from more than one group, it is possible to
        select an impossible combination, in that case a hypervisor may return
        either 0 or an error.
        
        The first group of @flags is VIR_DOMAIN_SNAPSHOT_LIST_LEAVES and
        VIR_DOMAIN_SNAPSHOT_LIST_NO_LEAVES, to filter based on snapshots that
        have no further children (a leaf snapshot).
        
        The next group of @flags is VIR_DOMAIN_SNAPSHOT_LIST_METADATA and
        VIR_DOMAIN_SNAPSHOT_LIST_NO_METADATA, for filtering snapshots based on
        whether they have metadata that would prevent the removal of the last
        reference to a domain.
        
        The next group of @flags is VIR_DOMAIN_SNAPSHOT_LIST_INACTIVE,
        VIR_DOMAIN_SNAPSHOT_LIST_ACTIVE, and VIR_DOMAIN_SNAPSHOT_LIST_DISK_ONLY,
        for filtering snapshots based on what domain state is tracked by the
        snapshot.
        
        The next group of @flags is VIR_DOMAIN_SNAPSHOT_LIST_INTERNAL and
        VIR_DOMAIN_SNAPSHOT_LIST_EXTERNAL, for filtering snapshots based on
        whether the snapshot is stored inside the disk images or as
        additional files. i����svirDomainSnapshotNum() failedR
(RtvirDomainSnapshotNumRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsnapshotNum_
s"cCs:tj|j|�}|dkr6tdd|��n|S(sExtract domain state. svirDomainGetState() failedR
N(RtvirDomainGetStateRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRq�
scCs7tj|j�}|dkr3tdd|��n|S(s�Suspends an active domain, the process is frozen without further access
        to CPU resources and I/O but the memory used by the domain at the
        hypervisor level will stay allocated. Use virDomainResume() to reactivate
        the domain.
        This function may require privileged access.
        Moreover, suspend may not be supported if domain is in some
        special state like VIR_DOMAIN_PMSUSPENDED. i����svirDomainSuspend() failedR
(RtvirDomainSuspendRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsuspend�
scCs7tj|j�}|dkr3tdd|��n|S(s�Undefine a domain. If the domain is running, it's converted to
        transient domain, without stopping it. If the domain is inactive,
        the domain configuration is removed.
        
        If the domain has a managed save image (see
        virDomainHasManagedSaveImage()), or if it is inactive and has any
        snapshot metadata (see virDomainSnapshotNum()), then the undefine will
        fail. See virDomainUndefineFlags() for more control. i����svirDomainUndefine() failedR
(RtvirDomainUndefineRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytundefine�
s	cCs:tj|j|�}|dkr6tdd|��n|S(s�Undefine a domain. If the domain is running, it's converted to
        transient domain, without stopping it. If the domain is inactive,
        the domain configuration is removed.
        
        If the domain has a managed save image (see virDomainHasManagedSaveImage()),
        then including VIR_DOMAIN_UNDEFINE_MANAGED_SAVE in @flags will also remove
        that file, and omitting the flag will cause the undefine process to fail.
        
        If the domain is inactive and has any snapshot metadata (see
        virDomainSnapshotNum()), then including
        VIR_DOMAIN_UNDEFINE_SNAPSHOTS_METADATA in @flags will also remove
        that metadata.  Omitting the flag will cause the undefine of an
        inactive domain to fail.  Active snapshots will retain snapshot
        metadata until the (now-transient) domain halts, regardless of
        whether this flag is present.  On hypervisors where snapshots do
        not use libvirt metadata, this flag has no effect.
        
        If the domain has any nvram specified, the undefine process will fail
        unless VIR_DOMAIN_UNDEFINE_KEEP_NVRAM is specified, or if
        VIR_DOMAIN_UNDEFINE_NVRAM is specified to remove the nvram file. i����svirDomainUndefineFlags() failedR
(RtvirDomainUndefineFlagsRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
undefineFlags�
scCs=tj|j||�}|dkr9tdd|��n|S(s�Change a virtual device on a domain, using the flags parameter
        to control how the device is changed.  VIR_DOMAIN_AFFECT_CURRENT
        specifies that the device change is made based on current domain
        state.  VIR_DOMAIN_AFFECT_LIVE specifies that the device shall be
        changed on the active domain instance only and is not added to the
        persisted domain configuration. VIR_DOMAIN_AFFECT_CONFIG
        specifies that the device shall be changed on the persisted domain
        configuration only.  Note that the target hypervisor must return an
        error if unable to satisfy flags.  E.g. the hypervisor driver will
        return failure if LIVE is specified but it only supports modifying the
        persisted device allocation.
        
        This method is used for actions such changing CDROM/Floppy device
        media, altering the graphics configuration such as password,
        reconfiguring the NIC device backend connectivity, etc. i����s#virDomainUpdateDeviceFlags() failedR
(RtvirDomainUpdateDeviceFlagsRXR(RRnR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytupdateDeviceFlags�
scCs:tj|j|�}|dkr6tdd|��n|S(s=Query the CPU affinity setting of all virtual CPUs of domain s virDomainGetVcpuPinInfo() failedR
N(RtvirDomainGetVcpuPinInfoRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytvcpuPinInfo�
scCs7tj|j�}|dkr3tdd|��n|S(s^Extract information about virtual CPUs of domain, store it in info array and also in cpumaps. svirDomainGetVcpus() failedR
N(RtvirDomainGetVcpusRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytvcpus�
scCs:tj|j|�}|dkr6tdd|��n|S(snQuery the number of virtual CPUs used by the domain.  Note that
        this call may fail if the underlying virtualization hypervisor does
        not support it.  This function may require privileged access to the
        hypervisor.
        
        If @flags includes VIR_DOMAIN_AFFECT_LIVE, this will query a
        running domain (which will fail if domain is not active); if
        it includes VIR_DOMAIN_AFFECT_CONFIG, this will query the XML
        description of the domain.  It is an error to set both flags.
        If neither flag is set (that is, VIR_DOMAIN_AFFECT_CURRENT),
        then the configuration queried depends on whether the domain
        is currently running.
        
        If @flags includes VIR_DOMAIN_VCPU_MAXIMUM, then the maximum
        virtual CPU limit is queried.  Otherwise, this call queries the
        current virtual CPU count.
        
        If @flags includes VIR_DOMAIN_VCPU_GUEST, then the state of the processors
        is queried in the guest instead of the hypervisor. This flag is only usable
        on live domains. Guest agent may be needed for this flag to be available. i����svirDomainGetVcpusFlags() failedR
(RtvirDomainGetVcpusFlagsRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
vcpusFlags�
scCsmtj|j|�}|dkr6tdd|��nt�}x'|D]}|jt|d|��qFW|S(s9List all snapshots and returns a list of snapshot objectss"virDomainListAllSnapshots() failedR	RN(RtvirDomainListAllSnapshotsRXRRtlisttappendR�(RR#R$tretlisttsnapptr((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistAllSnapshots	s	
cCs=tj|j||�}|dkr9tdd|��n|S(sLaunch a defined domain. If the call succeeds the domain moves from the
        defined to the running domains pools.

        @files provides an array of file descriptors which will be
        made available to the 'init' process of the guest. The file
        handles exposed to the guest will be renumbered to start
        from 3 (ie immediately following stderr). This is only
        supported for guests which use container based virtualization
        technology.

        If the VIR_DOMAIN_START_PAUSED flag is set, or if the guest domain
        has a managed save image that requested paused state (see
        virDomainManagedSave()) the guest domain will be started, but its
        CPUs will remain paused. The CPUs can later be manually started
        using virDomainResume().  In all other cases, the guest domain will
        be running.

        If the VIR_DOMAIN_START_AUTODESTROY flag is set, the guest
        domain will be automatically destroyed when the virConnectPtr
        object is finally released. This will also happen if the
        client application crashes / loses its connection to the
        libvirtd daemon. Any domains marked for auto destroy will
        block attempts at migration, save-to-file, or snapshots.

        If the VIR_DOMAIN_START_BYPASS_CACHE flag is set, and there is a
        managed save file for this domain (created by virDomainManagedSave()),
        then libvirt will attempt to bypass the file system cache while restoring
        the file, or fail if it cannot do so for the given system; this can allow
        less pressure on file system cache, but also risks slowing loads from NFS.

        If the VIR_DOMAIN_START_FORCE_BOOT flag is set, then any managed save
        file for this domain is discarded, and the domain boots from scratch. i����s!virDomainCreateWithFiles() failedR
(RtvirDomainCreateWithFilesRXR(RtfilesR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytcreateWithFiless!cCs=tj|j||�}|dkr9tdd|��n|S(s.Freeze specified filesystems within the guest i����svirDomainFSFreeze() failedR
(RtvirDomainFSFreezeRXR(RtmountpointsR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytfsFreeze;scCs=tj|j||�}|dkr9tdd|��n|S(s,Thaw specified filesystems within the guest i����svirDomainFSThaw() failedR
(RtvirDomainFSThawRXR(RR�R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytfsThawAscCs:tj|j|�}|dkr6tdd|��n|S(s%Extract information about guest time svirDomainGetTime() failedR
N(RtvirDomainGetTimeRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetTimeGscCs=tj|j||�}|dkr9tdd|��n|S(s�Set guest time to the given value. @time is a dict containing
        'seconds' field for seconds and 'nseconds' field for nanoseconds i����svirDomainSetTime() failedR
(RtvirDomainSetTimeRXR(RttimeR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetTimeMsN(�RRRRRZR[R]R_RaRcReRgRiRlRoRqRsRuR{RR�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�RRRRR	RRRRRRR'RR R#R&R(R,R.R0R3R6R9R;R=R@RBRDRHRJRLRNRPRRRWRYR[RaReRgRiRkRoRrRtRwRzR|R~R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�RqR�R�R�R�R�R�R�R�R�R�R�R�R�(((s-/usr/lib64/python2.7/site-packages/libvirt.pyRS�s2					
		
				
b
+

$h	
					3



	

	
			
	
			



<		
	

		
&		
		
	

	
	

	
	$	d
*
		
	

%t
virNetworkcBs�eZdd�Zd�Zd�Zd�Zddd�Zd�Zd�Z	dd�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zd�Zd�Zdd�ZRS(cCsD||_t|�jdkr7tdt|���n||_dS(NRTRUs&Expected a wrapped C Object but got %s(s	PyCapsules	PyCObject(RVRWRRRX(RR	R((s-/usr/lib64/python2.7/site-packages/libvirt.pyRUs	cCs/|jdk	r"tj|j�nd|_dS(N(RXRRtvirNetworkFree(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyRZ[scCs|jS(N(RV(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR[`scCstj|j�S(s"Get C pointer to underlying object(RtvirNetwork_pointerRX(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR]csicCs=tj|j||�}|dkr9tdd|��n|S(sTReturns a list of dhcp leases for interfaces connected to the given virtual network s virNetworkGetDHCPLeases() failedRN(RtvirNetworkGetDHCPLeasesRXRR(RtmacR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
DHCPLeaseskscCs7tj|j�}|dkr3tdd|��n|S(s1Extract the UUID unique Identifier of a network. svirNetworkGetUUID() failedRN(RtvirNetworkGetUUIDRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRcqscCs7tj|j�}|dkr3tdd|��n|S(s5Fetch globally unique ID of the network as a string. s virNetworkGetUUIDString() failedRN(RtvirNetworkGetUUIDStringRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRewscCs:tj|j|�}|dkr6tdd|��n|S(s�Provide an XML description of the network. The description may be reused
        later to relaunch the network with virNetworkCreateXML().
        
        Normally, if a network included a physical function, the output includes
        all virtual functions tied to that physical interface.  If @flags includes
        VIR_NETWORK_XML_INACTIVE, then the expansion of virtual interfaces is
        not performed. svirNetworkGetXMLDesc() failedRN(RtvirNetworkGetXMLDescRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRg�scCs7tj|j�}|dkr3tdd|��n|S(s*Extract the autostart flag for a network. i����svirNetworkGetAutostart() failedR(RtvirNetworkGetAutostartRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRs�scCs7tj|j�}|dkr3tdd|��n|S(syProvides a bridge interface name to which a domain may connect
        a network interface in order to join the network. s virNetworkGetBridgeName() failedRN(RtvirNetworkGetBridgeNameRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
bridgeName�scCs7tj|j�}|dkr3tdd|��n|S(s�Create and start a defined network. If the call succeed the network
        moves from the defined to the running networks pools. i����svirNetworkCreate() failedR(RtvirNetworkCreateRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��scCs7tj|j�}|dkr3tdd|��n|S(sDestroy the network object. The running instance is shutdown if not down
        already and all resources used by it are given back to the hypervisor. This
        does not free the associated virNetworkPtr object.
        This function may require privileged access i����svirNetworkDestroy() failedR(RtvirNetworkDestroyRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��scCs7tj|j�}|dkr3tdd|��n|S(s.Determine if the network is currently running i����svirNetworkIsActive() failedR(RtvirNetworkIsActiveRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��scCs7tj|j�}|dkr3tdd|��n|S(stDetermine if the network has a persistent configuration
        which means it will still exist after shutting down i����svirNetworkIsPersistent() failedR(RtvirNetworkIsPersistentRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��scCstj|j�}|S(s%Get the public name for that network (RtvirNetworkGetNameRX(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR'�scCs:tj|j|�}|dkr6tdd|��n|S(sWConfigure the network to be automatically started
        when the host machine boots. i����svirNetworkSetAutostart() failedR(RtvirNetworkSetAutostartRXR(RRsR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRg�scCs7tj|j�}|dkr3tdd|��n|S(s9Undefine a network but does not stop it if it is running i����svirNetworkUndefine() failedR(RtvirNetworkUndefineRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��scCsFtj|j|||||�}|dkrBtdd|��n|S(s|Update the definition of an existing network, either its live
        running state, its persistent configuration, or both. i����svirNetworkUpdate() failedR(RtvirNetworkUpdateRXR(RtcommandtsectiontparentIndexRnR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytupdate�s!N(RRRRRZR[R]R�RcReRgRsR�R�R�R�R�R'RgR�R�(((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�Ts$					
	
									tvirInterfacecBsweZdd�Zd�Zd�Zd�Zd�Zdd�Zdd�Z	dd�Z
d	�Zd
�Zd�Z
RS(
cCsD||_t|�jdkr7tdt|���n||_dS(NRTRUs&Expected a wrapped C Object but got %s(s	PyCapsules	PyCObject(RVRWRRRX(RR	R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�s	cCs/|jdk	r"tj|j�nd|_dS(N(RXRRtvirInterfaceFree(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyRZ�scCs|jS(N(RV(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR[�scCstj|j�S(s"Get C pointer to underlying object(RtvirInterface_pointerRX(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR]�scCs7tj|j�}|dkr3tdd|��n|S(s\Get the MAC for an interface as string. For more information about
        MAC see RFC4122. s!virInterfaceGetMACString() failedRN(RtvirInterfaceGetMACStringRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	MACString�sicCs:tj|j|�}|dkr6tdd|��n|S(s@VIR_INTERFACE_XML_INACTIVE - return the static configuration,
                                          suitable for use redefining the
                                          interface via virInterfaceDefineXML()
        
        Provide an XML description of the interface. If
        VIR_INTERFACE_XML_INACTIVE is set, the description may be reused
        later to redefine the interface with virInterfaceDefineXML(). If it
        is not set, the ip address and netmask will be the current live
        setting of the interface, not the settings from the config files. svirInterfaceGetXMLDesc() failedRN(RtvirInterfaceGetXMLDescRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRg�s
cCs:tj|j|�}|dkr6tdd|��n|S(sKActivate an interface (i.e. call "ifup").
        
        If there was an open network config transaction at the time this
        interface was defined (that is, if virInterfaceChangeBegin() had
        been called), the interface will be brought back down (and then
        undefined) if virInterfaceChangeRollback() is called. i����svirInterfaceCreate() failedR(RtvirInterfaceCreateRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�scCs:tj|j|�}|dkr6tdd|��n|S(sdeactivate an interface (ie call "ifdown")
        This does not remove the interface from the config, and
        does not free the associated virInterfacePtr object.
        
        If there is an open network config transaction at the time this
        interface is destroyed (that is, if virInterfaceChangeBegin() had
        been called), and if the interface is later undefined and then
        virInterfaceChangeRollback() is called, the restoral of the
        interface definition will also bring the interface back up. i����svirInterfaceDestroy() failedR(RtvirInterfaceDestroyRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�s
cCs7tj|j�}|dkr3tdd|��n|S(s0Determine if the interface is currently running i����svirInterfaceIsActive() failedR(RtvirInterfaceIsActiveRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�scCstj|j�}|S(s'Get the public name for that interface (RtvirInterfaceGetNameRX(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR'#scCs7tj|j�}|dkr3tdd|��n|S(s�Undefine an interface, ie remove it from the config.
        This does not free the associated virInterfacePtr object.
        
        Normally this change in the interface configuration is
        permanent/persistent, but if virInterfaceChangeBegin() has been
        previously called (i.e. if an interface config transaction is
        open), the removal of the interface definition will only become
        permanent if virInterfaceChangeCommit() is called prior to the next
        reboot of the system running libvirtd. Prior to that time, the
        definition can be explicitly restored using
        virInterfaceChangeRollback(), or will be automatically restored
        during the next reboot of the system running libvirtd. i����svirInterfaceUndefine() failedR(RtvirInterfaceUndefineRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�(s
N(RRRRRZR[R]R�RgR�R�R�R'R�(((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��s						tvirStoragePoolcBseZdd�Zd�Zd�Zd�Zd�Zd�Zdd�Z	d�Z
dd	�Zdd
�Zdd�Z
dd�Zdd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zdd�Zd�Zd�Zd�Zdd�ZRS(cCsb||_t|t�s'|j|_nt|�jdkrUtdt|���n||_dS(NRTRUs&Expected a wrapped C Object but got %s(s	PyCapsules	PyCObject(RVt
isinstanceR RWRRRX(RR	R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR:s	cCs/|jdk	r"tj|j�nd|_dS(N(RXRRtvirStoragePoolFree(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyRZBscCs|jS(N(RV(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR[GscCstj|j�S(s"Get C pointer to underlying object(RtvirStoragePool_pointerRX(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR]JscCs7tj|j�}|dkr3tdd|��n|S(s6Extract the UUID unique Identifier of a storage pool. svirStoragePoolGetUUID() failedRN(RtvirStoragePoolGetUUIDRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRcRscCs7tj|j�}|dkr3tdd|��n|S(s:Fetch globally unique ID of the storage pool as a string. s$virStoragePoolGetUUIDString() failedRN(RtvirStoragePoolGetUUIDStringRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyReXsicCs:tj|j|�}|dkr6tdd|��n|S(s�Fetch an XML document describing all aspects of the
        storage pool. This is suitable for later feeding back
        into the virStoragePoolCreateXML method. s!virStoragePoolGetXMLDesc() failedRN(RtvirStoragePoolGetXMLDescRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRgbscCs7tj|j�}|dkr3tdd|��n|S(s.Extract the autostart flag for a storage pool i����s#virStoragePoolGetAutostart() failedR(RtvirStoragePoolGetAutostartRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRsnscCs:tj|j|�}|dkr6tdd|��n|S(s�Currently only filesystem pool accepts flags VIR_STORAGE_POOL_BUILD_OVERWRITE
        and VIR_STORAGE_POOL_BUILD_NO_OVERWRITE.
        
        Build the underlying storage pool i����svirStoragePoolBuild() failedR(RtvirStoragePoolBuildRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytbuildxscCs:tj|j|�}|dkr6tdd|��n|S(s Starts an inactive storage pool i����svirStoragePoolCreate() failedR(RtvirStoragePoolCreateRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��scCsOtj|j||�}|dkr9tdd|��nt|d|�}|S(s�Create a storage volume within a pool based
        on an XML description. Not all pools support
        creation of volumes.
        
        Since 1.0.1 VIR_STORAGE_VOL_CREATE_PREALLOC_METADATA
        in flags can be used to get higher performance with
        qcow2 image files which don't support full preallocation,
        by creating a sparse image file with metadata.
        
        virStorageVolFree should be used to free the resources after the
        storage volume object is no longer needed. svirStorageVolCreateXML() failedRRN(RtvirStorageVolCreateXMLRXRRt
virStorageVol(RR�R#R$t_virStoragePool__tmp((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	createXML�s
cCsp|dkrd}n	|j}tj|j|||�}|dkrZtdd|��nt|d|�}|S(sICreate a storage volume in the parent pool, using the
        'clonevol' volume as input. Information for the new
        volume (name, perms)  are passed via a typical volume
        XML description.
        
        Since 1.0.1 VIR_STORAGE_VOL_CREATE_PREALLOC_METADATA
        in flags can be used to get higher performance with
        qcow2 image files which don't support full preallocation,
        by creating a sparse image file with metadata.
        
        virStorageVolFree should be used to free the resources after the
        storage volume object is no longer needed. s#virStorageVolCreateXMLFrom() failedRRN(RRXRtvirStorageVolCreateXMLFromRR�(RR�tclonevolR#tclonevol__oR$R�((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
createXMLFrom�s
		cCs:tj|j|�}|dkr6tdd|��n|S(s�Delete the underlying pool resources. This is
        a non-recoverable operation. The virStoragePoolPtr object
        itself is not free'd. i����svirStoragePoolDelete() failedR(RtvirStoragePoolDeleteRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytdelete�scCs7tj|j�}|dkr3tdd|��n|S(s/Destroy an active storage pool. This will deactivate the
        pool on the host, but keep any persistent config associated
        with it. If it has a persistent config it can later be
        restarted with virStoragePoolCreate(). This does not free
        the associated virStoragePoolPtr object. i����svirStoragePoolDestroy() failedR(RtvirStoragePoolDestroyRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��scCs7tj|j�}|dkr3tdd|��n|S(s�Extract information about a storage pool. Note that if the connection used to get the domain is limited only a partial set of the information can be extracted. svirStoragePoolGetInfo() failedRN(RtvirStoragePoolGetInfoRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��scCs7tj|j�}|dkr3tdd|��n|S(s3Determine if the storage pool is currently running i����svirStoragePoolIsActive() failedR(RtvirStoragePoolIsActiveRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��scCs7tj|j�}|dkr3tdd|��n|S(syDetermine if the storage pool has a persistent configuration
        which means it will still exist after shutting down i����s#virStoragePoolIsPersistent() failedR(RtvirStoragePoolIsPersistentRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��scCs7tj|j�}|dkr3tdd|��n|S(sElist the storage volumes, stores the pointers to the names in @names s"virStoragePoolListVolumes() failedRN(RtvirStoragePoolListVolumesRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistVolumes�scCstj|j�}|S(s2Fetch the locally unique name of the storage pool (RtvirStoragePoolGetNameRX(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR'�scCs7tj|j�}|dkr3tdd|��n|S(s2Fetch the number of storage volumes within a pool i����s#virStoragePoolNumOfVolumes() failedR(RtvirStoragePoolNumOfVolumesRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnumOfVolumes�scCs:tj|j|�}|dkr6tdd|��n|S(s�Request that the pool refresh its list of volumes. This may
        involve communicating with a remote server, and/or initializing
        new devices at the OS layer i����svirStoragePoolRefresh() failedR(RtvirStoragePoolRefreshRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytrefresh�scCs:tj|j|�}|dkr6tdd|��n|S(sSets the autostart flag i����s#virStoragePoolSetAutostart() failedR(RtvirStoragePoolSetAutostartRXR(RRsR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRg�scCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Fetch a pointer to a storage volume based on its name
        within a pool
        
        virStorageVolFree should be used to free the resources after the
        storage volume object is no longer needed. s"virStorageVolLookupByName() failedRRN(RtvirStorageVolLookupByNameRXRRR�(RR'R$R�((s-/usr/lib64/python2.7/site-packages/libvirt.pytstorageVolLookupByName
s
cCs7tj|j�}|dkr3tdd|��n|S(s"Undefine an inactive storage pool i����svirStoragePoolUndefine() failedR(RtvirStoragePoolUndefineRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�
scCsmtj|j|�}|dkr6tdd|��nt�}x'|D]}|jt|d|��qFW|S(sEList all storage volumes and returns a list of storage volume objectss%virStoragePoolListAllVolumes() failedR	RN(RtvirStoragePoolListAllVolumesRXRRR�R�R�(RR#R$R�tvolptr((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistAllVolumes
s	
N(RRRRRZR[R]RcReRgRsR�R�R�RRR�R�R�R�R
R'R
RRgRR�R(((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�9s2					
	
			
			
						R�cBs�eZdd�Zd�Zd�Zd�Zdd�Zdd�Zdd�Z	d�Z
dd	�Zd
�Zd�Z
d�Zdd
�Zd�Zdd�Zdd�Zdd�ZRS(cCsb||_t|t�s'|j|_nt|�jdkrUtdt|���n||_dS(NRTRUs&Expected a wrapped C Object but got %s(s	PyCapsules	PyCObject(RVR�R RWRRRX(RR	R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR!
s	cCs/|jdk	r"tj|j�nd|_dS(N(RXRRtvirStorageVolFree(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyRZ)
scCs|jS(N(RV(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR[.
scCstj|j�S(s"Get C pointer to underlying object(RtvirStorageVol_pointerRX(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR]1
sicCs:tj|j|�}|dkr6tdd|��n|S(sKFetch an XML document describing all aspects of
        the storage volume s virStorageVolGetXMLDesc() failedR
N(RtvirStorageVolGetXMLDescRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRg9
scCs:tj|j|�}|dkr6tdd|��n|S(s(Delete the storage volume from the pool i����svirStorageVolDelete() failedR
(RtvirStorageVolDeleteRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR@
scCsa|dkrd}n	|j}tj|j||||�}|dkr]tdd|��n|S(sEDownload the content of the volume as a stream. If @length
        is zero, then the remaining contents of the volume after
        @offset will be downloaded.
        
        If VIR_STORAGE_VOL_DOWNLOAD_SPARSE_STREAM is set in @flags
        effective transmission of holes is enabled. This assumes using
        the @stream with combination of virStreamSparseRecvAll() or
        virStreamRecvFlags(stream, ..., flags =
        VIR_STREAM_RECV_STOP_AT_HOLE) for honouring holes sent by
        server.
        
        This call sets up an asynchronous stream; subsequent use of
        stream APIs is necessary to transfer the actual data,
        determine how much data is successfully transferred, and
        detect any errors. The results will be unpredictable if
        another active stream is writing to the storage volume. i����svirStorageVolDownload() failedR
N(RRXRtvirStorageVolDownloadR(RRTR�tlengthR#RVR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytdownloadF
s		cCs7tj|j�}|dkr3tdd|��n|S(s�Extract information about a storage volume. Note that if the connection used to get the domain is limited only a partial set of the information can be extracted. svirStorageVolGetInfo() failedR
N(RtvirStorageVolGetInfoRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�a
scCs:tj|j|�}|dkr6tdd|��n|S(s�Extract information about a storage volume. Note that if the connection used to get the domain is limited only a partial set of the information can be extracted. s"virStorageVolGetInfoFlags() failedR
N(RtvirStorageVolGetInfoFlagsRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	infoFlagsg
scCs7tj|j�}|dkr3tdd|��n|S(s�Fetch the storage volume key. This is globally
        unique, so the same volume will have the same
        key no matter what host it is accessed from svirStorageVolGetKey() failedR
N(RtvirStorageVolGetKeyRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�q
scCstj|j�}|S(sQFetch the storage volume name. This is unique
        within the scope of a pool (RtvirStorageVolGetNameRX(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR'y
scCs7tj|j�}|dkr3tdd|��n|S(sFetch the storage volume path. Depending on the pool
        configuration this is either persistent across hosts,
        or dynamically assigned at pool startup. Consult
        pool documentation for information on getting the
        persistent naming svirStorageVolGetPath() failedR
N(RtvirStorageVolGetPathRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�
scCs=tj|j||�}|dkr9tdd|��n|S(sXChanges the capacity of the storage volume @vol to @capacity. The
        operation will fail if the new capacity requires allocation that would
        exceed the remaining free space in the parent pool.  The contents of
        the new capacity will appear as all zero bytes. The capacity value will
        be rounded to the granularity supported by the hypervisor.
        
        Normally, the operation will attempt to affect capacity with a minimum
        impact on allocation (that is, the default operation favors a sparse
        resize).  If @flags contains VIR_STORAGE_VOL_RESIZE_ALLOCATE, then the
        operation will ensure that allocation is sufficient for the new
        capacity; this may make the operation take noticeably longer.
        
        Normally, the operation treats @capacity as the new size in bytes;
        but if @flags contains VIR_STORAGE_VOL_RESIZE_DELTA, then @capacity
        represents the size difference to add to the current size.  It is
        up to the storage pool implementation whether unaligned requests are
        rounded up to the next valid boundary, or rejected.
        
        Normally, this operation should only be used to enlarge capacity;
        but if @flags contains VIR_STORAGE_VOL_RESIZE_SHRINK, it is possible to
        attempt a reduction in capacity even though it might cause data loss.
        If VIR_STORAGE_VOL_RESIZE_DELTA is also present, then @capacity is
        subtracted from the current size; without it, @capacity represents
        the absolute new size regardless of whether it is larger or smaller
        than the current size. i����svirStorageVolResize() failedR
(RtvirStorageVolResizeRXR(RtcapacityR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytresize�
scCsItj|j�}|dkr3tdd|��nt|d|�}|S(s�Fetch a storage pool which contains a particular volume
        
        virStoragePoolFree should be used to free the resources after the
        storage pool object is no longer needed. s%virStoragePoolLookupByVolume() failedR
RN(RtvirStoragePoolLookupByVolumeRXRRR�(RR$t_virStorageVol__tmp((s-/usr/lib64/python2.7/site-packages/libvirt.pytstoragePoolLookupByVolume�
s
cCsa|dkrd}n	|j}tj|j||||�}|dkr]tdd|��n|S(s�Upload new content to the volume from a stream. This call
        will fail if @offset + @length exceeds the size of the
        volume. Otherwise, if @length is non-zero, an error
        will be raised if an attempt is made to upload greater
        than @length bytes of data.
        
        If VIR_STORAGE_VOL_UPLOAD_SPARSE_STREAM is set in @flags
        effective transmission of holes is enabled. This assumes using
        the @stream with combination of virStreamSparseSendAll() or
        virStreamSendHole() to preserve source file sparseness.
        
        This call sets up an asynchronous stream; subsequent use of
        stream APIs is necessary to transfer the actual data,
        determine how much data is successfully transferred, and
        detect any errors. The results will be unpredictable if
        another active stream is writing to the storage volume.
        
        When the data stream is closed whether the upload is successful
        or not an attempt will be made to refresh the target storage pool
        if an asynchronous build is not running in order to reflect pool
        and volume changes as a result of the upload. Depending on
        the target volume storage backend and the source stream type
        for a successful upload, the target volume may take on the
        characteristics from the source stream such as format type,
        capacity, and allocation. i����svirStorageVolUpload() failedR
N(RRXRtvirStorageVolUploadR(RRTR�RR#RVR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytupload�
s		cCs:tj|j|�}|dkr6tdd|��n|S(s�Ensure data previously on a volume is not accessible to future reads.
        
        The data to be wiped may include the format and possibly size information,
        so non-raw images might become raw with a different size. It is storage
        backend dependent whether the format and size information is regenerated
        once the initial volume wipe is completed.
        
        Depending on the actual volume representation, this call may not
        overwrite the physical location of the volume. For instance, files
        stored journaled, log structured, copy-on-write, versioned, and
        network file systems are known to be problematic. i����svirStorageVolWipe() failedR
(RtvirStorageVolWipeRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytwipe�
scCs=tj|j||�}|dkr9tdd|��n|S(s�Similar to virStorageVolWipe, but one can choose between
        different wiping algorithms. Also note, that depending on the
        actual volume representation, this call may not really
        overwrite the physical location of the volume. For instance,
        files stored journaled, log structured, copy-on-write,
        versioned, and network file systems are known to be
        problematic. i����s!virStorageVolWipePattern() failedR
(RtvirStorageVolWipePatternRXR(Rt	algorithmR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytwipePattern�
sN(RRRRRZR[R]RgRRR�R R�R'R�R&R)R+R-R0(((s-/usr/lib64/python2.7/site-packages/libvirt.pyR� 
s"				
			
	
 R cBs�eZd�d�Zd�Zdddd�Zdd�Zdd�Zdd�Zdd�Z	dd�Z
d	�Zdd
�Zdd�Z
dd�Zdd
�Zd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zd�Zd�Zdd�Zd�Zdd�Zd�Zd�Zd�Zd�Z dd�Z!dd �Z"dd!�Z#d"�Z$dd#�Z%d$�Z&d%�Z'd&�Z(dd'�Z)d(�Z*d)�Z+d*�Z,d+�Z-d,�Z.d-�Z/d.�Z0d/�Z1d0�Z2dd1�Z3d2�Z4d3�Z5d4�Z6d5�Z7d6�Z8d7�Z9d8�Z:d9�Z;d:�Z<d;�Z=d<�Z>d=�Z?d>�Z@d?�ZAd@�ZBddA�ZCddB�ZDdC�ZEddD�ZFdE�ZGdF�ZHdG�ZIdH�ZJddI�ZKdJ�ZLdK�ZMdL�ZNdM�ZOdN�ZPdO�ZQddP�ZRdQ�ZSdR�ZTdS�ZUdT�ZVdU�ZWdV�ZXd�ddW�ZYddX�ZZddY�Z[ddZ�Z\d[�Z]d\�Z^d]�Z_d^�Z`dd_�Zadd`�Zbdda�Zcdb�Zddc�Zedd�Zfde�Zgdf�Zhdg�Ziddh�Zjdi�Zkdj�Zldk�Zmdl�Zndm�Zodn�Zpdo�Zqdp�Zrdq�Zsdr�Ztds�Zudt�Zvdu�Zwdv�Zxdw�Zydx�Zzdy�Z{dz�Z|d{�Z}d|�Z~d}�Zd~�Z�d�Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�dd��Z�dd��Z�dd��Z�dd��Z�dd��Z�dd��Z�dd��Z�dd��Z�d��Z�d��Z�d��Z�dd��Z�ddd��Z�ddd��Z�RS(�cCs;t|�jdkr.tdt|���n||_dS(NRTRUs&Expected a wrapped C Object but got %s(s	PyCapsules	PyCObject(RWRRRX(RR((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�
scCstj|j�S(s"Get C pointer to underlying object(RtvirConnect_pointerRX(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR]�
sicCsCtj|j||||�}|dkr?tdd|��n|S(s3Allocate or free some pages in the huge pages pool i����svirNodeAllocPages() failedR	(RtvirNodeAllocPagesRXR(Rtpagest	startCellt	cellCountR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
allocPages�
scCs=tj|j||�}|dkr9tdd|��n|S(sQComputes the most feature-rich CPU which is compatible with all given host CPUs. svirConnectBaselineCPU() failedR	N(RtvirConnectBaselineCPURXRR(RtxmlCPUsR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytbaselineCPUscCsItj|j||||||�}|dkrEtdd|��n|S(s|Computes the most feature-rich CPU which is compatible with all given CPUs and can be provided by the specified hypervisor. s(virConnectBaselineHypervisorCPU() failedR	N(RtvirConnectBaselineHypervisorCPURXRR(RtemulatortarchtmachinetvirttypeR8R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytbaselineHypervisorCPUs$cCs:tj|j|�}|dkr6tdd|��n|S(sThis function creates a restore point to which one can return
        later by calling virInterfaceChangeRollback(). This function should
        be called before any transaction with interface configuration.
        Once it is known that a new configuration works, it can be committed via
        virInterfaceChangeCommit(), which frees the restore point.
        
        If virInterfaceChangeBegin() is called when a transaction is
        already opened, this function will fail, and a
        VIR_ERR_INVALID_OPERATION will be logged. i����s virInterfaceChangeBegin() failedR	(RtvirInterfaceChangeBeginRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytchangeBegins
cCs:tj|j|�}|dkr6tdd|��n|S(s*This commits the changes made to interfaces and frees the restore point
        created by virInterfaceChangeBegin().
        
        If virInterfaceChangeCommit() is called when a transaction is not
        opened, this function will fail, and a VIR_ERR_INVALID_OPERATION
        will be logged. i����s!virInterfaceChangeCommit() failedR	(RtvirInterfaceChangeCommitRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytchangeCommitscCs:tj|j|�}|dkr6tdd|��n|S(s1This cancels changes made to interfaces settings by restoring previous
        state created by virInterfaceChangeBegin().
        
        If virInterfaceChangeRollback() is called when a transaction is not
        opened, this function will fail, and a VIR_ERR_INVALID_OPERATION
        will be logged. i����s#virInterfaceChangeRollback() failedR	(RtvirInterfaceChangeRollbackRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytchangeRollback*scCs@tj|j�}d|_|dkr<tdd|��n|S(s�This function closes the connection to the Hypervisor. This should
        not be called if further interaction with the Hypervisor are needed
        especially if there is running domain which need further monitoring by
        the application.
        
        Connections are reference counted; the count is explicitly
        increased by the initial open (virConnectOpen, virConnectOpenAuth,
        and the like) as well as virConnectRef; it is also temporarily
        increased by other API that depend on the connection remaining
        alive.  The open and every virConnectRef call should have a
        matching virConnectClose, and all other references will be released
        after the corresponding operation completes. i����svirConnectClose() failedR	N(RtvirConnectCloseRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytclose9s

	cCs=tj|j||�}|dkr9tdd|��n|S(s�Compares the given CPU description with the host CPU.
        
        See virConnectCompareHypervisorCPU() if you want to consider hypervisor
        abilities and compare the CPU to the CPU which a hypervisor is able to
        provide on the host. i����svirConnectCompareCPU() failedR	(RtvirConnectCompareCPURXR(RR�R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
compareCPUKscCsItj|j||||||�}|dkrEtdd|��n|S(s�Compares the given CPU description with the CPU the specified hypervisor is
        able to provide on the host. Any of @emulator, @arch, @machine, and
        @virttype parameters may be None; libvirt will choose sensible defaults
        tailored to the host and its current configuration.
        
        This is different from virConnectCompareCPU() which compares the CPU
        definition with the host CPU without considering any specific hypervisor and
        its abilities. i����s'virConnectCompareHypervisorCPU() failedR	(RtvirConnectCompareHypervisorCPURXR(RR;R<R=R>txmlCPUR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytcompareHypervisorCPUUs	$cCsOtj|j||�}|dkr9tdd|��nt|d|�}|S(s�Deprecated after 0.4.6.
        Renamed to virDomainCreateXML() providing identical functionality.
        This existing name will be left indefinitely for API compatibility. svirDomainCreateLinux() failedR	RN(RtvirDomainCreateLinuxRXRRRS(RR�R#R$t_virConnect__tmp((s-/usr/lib64/python2.7/site-packages/libvirt.pytcreateLinuxfs
cCsOtj|j||�}|dkr9tdd|��nt|d|�}|S(s[Launch a new guest domain, based on an XML description similar
        to the one returned by virDomainGetXMLDesc()
        This function may require privileged access to the hypervisor.
        The domain is not persistent, so its definition will disappear when it
        is destroyed, or if the host is restarted (see virDomainDefineXML() to
        define persistent domains).
        
        If the VIR_DOMAIN_START_PAUSED flag is set, the guest domain
        will be started, but its CPUs will remain paused. The CPUs
        can later be manually started using virDomainResume.
        
        If the VIR_DOMAIN_START_AUTODESTROY flag is set, the guest
        domain will be automatically destroyed when the virConnectPtr
        object is finally released. This will also happen if the
        client application crashes / loses its connection to the
        libvirtd daemon. Any domains marked for auto destroy will
        block attempts at migration, save-to-file, or snapshots.
        
        virDomainFree should be used to free the resources after the
        domain object is no longer needed. svirDomainCreateXML() failedR	RN(RtvirDomainCreateXMLRXRRRS(RR�R#R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�os
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(sjDefine a domain, but does not start it.
        This definition is persistent, until explicitly undefined with
        virDomainUndefine(). A previous definition for this domain would be
        overridden if it already exists.
        
        Some hypervisors may prevent this operation if there is a current
        block copy operation on a transient domain with the same id as the
        domain being defined; in that case, use virDomainBlockJobAbort() to
        stop the block copy first.
        
        virDomainFree should be used to free the resources after the
        domain object is no longer needed. svirDomainDefineXML() failedR	RN(RtvirDomainDefineXMLRXRRRS(RRnR$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	defineXML�s

cCsOtj|j||�}|dkr9tdd|��nt|d|�}|S(skDefines a domain, but does not start it.
        This definition is persistent, until explicitly undefined with
        virDomainUndefine(). A previous definition for this domain would be
        overridden if it already exists.
        
        Some hypervisors may prevent this operation if there is a current
        block copy operation on a transient domain with the same id as the
        domain being defined; in that case, use virDomainBlockJobAbort() to
        stop the block copy first.
        
        virDomainFree should be used to free the resources after the
        domain object is no longer needed. s virDomainDefineXMLFlags() failedR	RN(RtvirDomainDefineXMLFlagsRXRRRS(RRnR#R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytdefineXMLFlags�s

cCs@tj|j|||�}|dkr<tdd|��n|S(s�Reads native configuration data  describing a domain, and
        generates libvirt domain XML. The format of the native
        data is hypervisor dependent. s&virConnectDomainXMLFromNative() failedR	N(RtvirConnectDomainXMLFromNativeRXRR(RtnativeFormattnativeConfigR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytdomainXMLFromNative�scCs@tj|j|||�}|dkr<tdd|��n|S(s�Reads a domain XML configuration document, and generates
        a native configuration file describing the domain.
        The format of the native data is hypervisor dependent. s$virConnectDomainXMLToNative() failedR	N(RtvirConnectDomainXMLToNativeRXRR(RRVt	domainXmlR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytdomainXMLToNative�scCs@tj|j|||�}|dkr<tdd|��n|S(sTalks to a storage backend and attempts to auto-discover the set of
        available storage pool sources. e.g. For iSCSI this would be a set of
        iSCSI targets. For NFS this would be a list of exported paths.  The
        srcSpec (optional for some storage pool types, e.g. local ones) is
        an instance of the storage pool's source element specifying where
        to look for the pools.
        
        srcSpec is not required for some types (e.g., those querying
        local storage resources only) s)virConnectFindStoragePoolSources() failedR	N(Rt virConnectFindStoragePoolSourcesRXRR(RRWtsrcSpecR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytfindStoragePoolSources�s
cCs:tj|j|�}|dkr6tdd|��n|S(sGet node CPU information svirNodeGetCPUMap() failedR	N(RtvirNodeGetCPUMapRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	getCPUMap�scCs=tj|j||�}|dkr9tdd|��n|S(s&Get the list of supported CPU models. s#virConnectGetCPUModelNames() failedR	N(RtvirConnectGetCPUModelNamesRXRR(RR<R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetCPUModelNames�scCs=tj|j||�}|dkr9tdd|��n|S(sExtract node's CPU statistics. svirNodeGetCPUStats() failedR	N(RtvirNodeGetCPUStatsRXRR(RtcpuNumR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��scCs7tj|j�}|dkr3tdd|��n|S(s2Provides capabilities of the hypervisor / driver. s"virConnectGetCapabilities() failedR	N(RtvirConnectGetCapabilitiesRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetCapabilities�scCs=tj|j||�}|dkr9tdd|��n|S(s1Returns the available memory for a list of cells s"virNodeGetCellsFreeMemory() failedR	N(RtvirNodeGetCellsFreeMemoryRXRR(RR4tmaxCellsR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetCellsFreeMemory�scCsFtj|j|||||�}|dkrBtdd|��n|S(sPrior creating a domain (for instance via virDomainCreateXML
        or virDomainDefineXML) it may be suitable to know what the
        underlying emulator and/or libvirt is capable of. For
        instance, if host, libvirt and qemu is capable of VFIO
        passthrough and so on. s(virConnectGetDomainCapabilities() failedR	N(RtvirConnectGetDomainCapabilitiesRXRR(RtemulatorbinR<R=R>R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetDomainCapabilities�s!cCstj|j�}|S(s�provides the free memory available on the Node
        Note: most libvirt APIs provide memory sizes in kibibytes, but in this
        function the returned value is in bytes. Divide by 1024 as necessary. (RtvirNodeGetFreeMemoryRX(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
getFreeMemoryscCsCtj|j||||�}|dkr?tdd|��n|S(sIReturns the number of available pages for a list of cells and page sizes svirNodeGetFreePages() failedR	N(RtvirNodeGetFreePagesRXRR(RR3R4RhR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetFreePagesscCs7tj|j�}|dkr3tdd|��n|S(s=This returns a system hostname on which the hypervisor is
        running (based on the result of the gethostname system call, but
        possibly expanded to a fully-qualified domain name via getaddrinfo).
        If we are connected to a remote system, then this returns the
        hostname of the remote system. svirConnectGetHostname() failedR	N(RtvirConnectGetHostnameRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetHostname scCs7tj|j�}|dkr3tdd|��n|S(sjExtract hardware information about the Node. Note that the memory size is reported in MiB instead of KiB. svirNodeGetInfo() failedR	N(RtvirNodeGetInfoRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetInfo.scCs7tj|j�}|dkr3tdd|��n|S(s3Returns the libvirt version of the connection host i����s virConnectGetLibVersion() failedR	(RtvirConnectGetLibVersionRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
getLibVersion4scCs:tj|j|�}|dkr6tdd|��n|S(s�Provides the maximum number of virtual CPUs supported for a guest VM of a
        specific type. The 'type' parameter here corresponds to the 'type'
        attribute in the <domain> element of the XML. This API doesn't take emulator
        limits into consideration, hence the returned value is not guaranteed to be
        usable. It is recommended to use virConnectGetDomainCapabilities() and look
        for "<vcpu max='...'>" in its output instead. i����svirConnectGetMaxVcpus() failedR	(RtvirConnectGetMaxVcpusRXR(RRWR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetMaxVcpus>scCs:tj|j|�}|dkr6tdd|��n|S(sGet the node memory parameters s#virNodeGetMemoryParameters() failedR	N(RtvirNodeGetMemoryParametersRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetMemoryParametersMscCs=tj|j||�}|dkr9tdd|��n|S(s"Extract node's memory statistics. svirNodeGetMemoryStats() failedR	N(RtvirNodeGetMemoryStatsRXRR(RtcellNumR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetMemoryStatsSscCs:tj|j|�}|dkr6tdd|��n|S(s8Get platform specific information from the SEV firmware svirNodeGetSEVInfo() failedR	N(RtvirNodeGetSEVInfoRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
getSEVInfoYscCs7tj|j�}|dkr3tdd|��n|S(s8Extract information about the hypervisor security model s virNodeGetSecurityModel() failedR	N(RtvirNodeGetSecurityModelRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetSecurityModel_scCs:tj|j|�}|dkr6tdd|��n|S(sThis returns the XML description of the sysinfo details for the
        host on which the hypervisor is running, in the same format as the
        <sysinfo> element of a domain XML.  This information is generally
        available only for hypervisors running with root privileges. svirConnectGetSysinfo() failedR	N(RtvirConnectGetSysinfoRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
getSysinfoiscCs7tj|j�}|dkr3tdd|��n|S(sXGet the name of the Hypervisor driver used. This is merely the driver
        name; for example, both KVM and QEMU guests are serviced by the
        driver for the qemu:// URI, so a return of "QEMU" does not indicate
        whether KVM acceleration is present.  For more details about the
        hypervisor, use virConnectGetCapabilities(). svirConnectGetType() failedR	N(RtvirConnectGetTypeRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetTyperscCs7tj|j�}|dkr3tdd|��n|S(s�This returns the URI (name) of the hypervisor connection.
        Normally this is the same as or similar to the string passed
        to the virConnectOpen/virConnectOpenReadOnly call, but
        the driver may make the URI canonical.  If name == None
        was passed to virConnectOpen, then the driver will return
        a non-None URI which can be used to connect to the same
        hypervisor later. svirConnectGetURI() failedR	N(RtvirConnectGetURIRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetURI|scCs7tj|j�}|dkr3tdd|��n|S(s>Returns the running hypervisor version of the connection host i����svirConnectGetVersion() failedR	(RtvirConnectGetVersionRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR(�scCsOtj|j||�}|dkr9tdd|��nt|d|�}|S(s[Define an inactive persistent physical host interface or modify an existing
        persistent one from the XML description.
        
        Normally this change in the interface configuration is immediately
        permanent/persistent, but if virInterfaceChangeBegin() has been
        previously called (i.e. if an interface config transaction is
        open), the new interface definition will only become permanent if
        virInterfaceChangeCommit() is called prior to the next reboot of
        the system running libvirtd. Prior to that time, it can be
        explicitly removed using virInterfaceChangeRollback(), or will be
        automatically removed during the next reboot of the system running
        libvirtd.
        
        virInterfaceFree should be used to free the resources after the
        interface object is no longer needed. svirInterfaceDefineXML() failedR	RN(RtvirInterfaceDefineXMLRXRRR�(RRnR#R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytinterfaceDefineXML�s
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Try to lookup an interface on the given hypervisor based on its MAC.
        
        virInterfaceFree should be used to free the resources after the
        interface object is no longer needed. s&virInterfaceLookupByMACString() failedR	RN(RtvirInterfaceLookupByMACStringRXRRR�(RtmacstrR$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytinterfaceLookupByMACString�s
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Try to lookup an interface on the given hypervisor based on its name.
        
        virInterfaceFree should be used to free the resources after the
        interface object is no longer needed. s!virInterfaceLookupByName() failedR	RN(RtvirInterfaceLookupByNameRXRRR�(RR'R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytinterfaceLookupByName�s
cCs7tj|j�}|dkr3tdd|��n|S(s�Determine if the connection to the hypervisor is still alive
        
        A connection will be classed as alive if it is either local, or running
        over a channel (TCP or UNIX socket) which is not closed. i����svirConnectIsAlive() failedR	(RtvirConnectIsAliveRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytisAlive�scCs7tj|j�}|dkr3tdd|��n|S(s;Determine if the connection to the hypervisor is encrypted i����svirConnectIsEncrypted() failedR	(RtvirConnectIsEncryptedRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytisEncrypted�scCs7tj|j�}|dkr3tdd|��n|S(s�Determine if the connection to the hypervisor is secure
        
        A connection will be classed as secure if it is either
        encrypted, or running over a channel which is not exposed
        to eavesdropping (eg a UNIX domain socket, or pipe) i����svirConnectIsSecure() failedR	(RtvirConnectIsSecureRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytisSecure�scCs7tj|j�}|dkr3tdd|��n|S(sElist the defined domains, stores the pointers to the names in @names s%virConnectListDefinedDomains() failedR	N(RtvirConnectListDefinedDomainsRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistDefinedDomains�scCs7tj|j�}|dkr3tdd|��n|S(sHlist the defined interfaces, stores the pointers to the names in @names s(virConnectListDefinedInterfaces() failedR	N(RtvirConnectListDefinedInterfacesRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistDefinedInterfaces�scCs7tj|j�}|dkr3tdd|��n|S(sFlist the defined networks, stores the pointers to the names in @names s&virConnectListDefinedNetworks() failedR	N(RtvirConnectListDefinedNetworksRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistDefinedNetworks�scCs7tj|j�}|dkr3tdd|��n|S(sJlist the defined storage pool, stores the pointers to the names in @names s*virConnectListDefinedStoragePools() failedR	N(Rt!virConnectListDefinedStoragePoolsRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistDefinedStoragePools�scCs=tj|j||�}|dkr9tdd|��n|S(slist the node devices svirNodeListDevices() failedR	N(RtvirNodeListDevicesRXRR(RtcapR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistDevices�scCs7tj|j�}|dkr3tdd|��n|S(s<Returns the list of the ID of the domains on the hypervisor s virConnectListDomainsID() failedR	N(RtvirConnectListDomainsIDRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
listDomainsID�scCs7tj|j�}|dkr3tdd|��n|S(sHlist the running interfaces, stores the pointers to the names in @names s!virConnectListInterfaces() failedR	N(RtvirConnectListInterfacesRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistInterfacesscCs7tj|j�}|dkr3tdd|��n|S(s!List the defined network filters s virConnectListNWFilters() failedR	N(RtvirConnectListNWFiltersRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
listNWFiltersscCs7tj|j�}|dkr3tdd|��n|S(s>list the networks, stores the pointers to the names in @names svirConnectListNetworks() failedR	N(RtvirConnectListNetworksRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistNetworksscCs7tj|j�}|dkr3tdd|��n|S(sList the defined secret IDs svirConnectListSecrets() failedR	N(RtvirConnectListSecretsRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistSecrets"scCs7tj|j�}|dkr3tdd|��n|S(sClist the storage pools, stores the pointers to the names in @names s#virConnectListStoragePools() failedR	N(RtvirConnectListStoragePoolsRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistStoragePools,scCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(sPTry to find a domain based on the hypervisor ID number
        Note that this won't work for inactive domains which have an ID of -1,
        in that case a lookup based on the Name or UUId need to be done instead.
        
        virDomainFree should be used to free the resources after the
        domain object is no longer needed. svirDomainLookupByID() failedR	RN(RtvirDomainLookupByIDRXRRRS(RtidR$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
lookupByID6s
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Try to lookup a domain on the given hypervisor based on its name.
        
        virDomainFree should be used to free the resources after the
        domain object is no longer needed. svirDomainLookupByName() failedR	RN(RtvirDomainLookupByNameRXRRRS(RR'R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytlookupByNameBs
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(sBTry to lookup a domain on the given hypervisor based on its UUID. svirDomainLookupByUUID() failedR	RN(RtvirDomainLookupByUUIDRXRRRS(RtuuidR$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytlookupByUUIDPs
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Try to lookup a domain on the given hypervisor based on its UUID.
        
        virDomainFree should be used to free the resources after the
        domain object is no longer needed. s$virDomainLookupByUUIDString() failedR	RN(RtvirDomainLookupByUUIDStringRXRRRS(RtuuidstrR$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytlookupByUUIDString[s
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Create and start a new virtual network, based on an XML description
        similar to the one returned by virNetworkGetXMLDesc()
        
        virNetworkFree should be used to free the resources after the
        network object is no longer needed. svirNetworkCreateXML() failedR	RN(RtvirNetworkCreateXMLRXRRR�(RR�R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytnetworkCreateXMLis
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Define an inactive persistent virtual network or modify an existing
        persistent one from the XML description.
        
        virNetworkFree should be used to free the resources after the
        network object is no longer needed. svirNetworkDefineXML() failedR	RN(RtvirNetworkDefineXMLRXRRR�(RRnR$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytnetworkDefineXMLts
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Try to lookup a network on the given hypervisor based on its name.
        
        virNetworkFree should be used to free the resources after the
        network object is no longer needed. svirNetworkLookupByName() failedR	RN(RtvirNetworkLookupByNameRXRRR�(RR'R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytnetworkLookupByNames
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(sCTry to lookup a network on the given hypervisor based on its UUID. svirNetworkLookupByUUID() failedR	RN(RtvirNetworkLookupByUUIDRXRRR�(RR�R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytnetworkLookupByUUID�s
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(sCTry to lookup a network on the given hypervisor based on its UUID. s%virNetworkLookupByUUIDString() failedR	RN(RtvirNetworkLookupByUUIDStringRXRRR�(RR�R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytnetworkLookupByUUIDString�s
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s	Creates a new stream object which can be used to perform
        streamed I/O with other public API function.
        
        When no longer needed, a stream object must be released
        with virStreamFree. If a data stream has been used,
        then the application must call virStreamFinish or
        virStreamAbort before free'ing to, in order to notify
        the driver of termination.
        
        If a non-blocking data stream is required passed
        VIR_STREAM_NONBLOCK for flags, otherwise pass 0. svirStreamNew() failedR	RN(RtvirStreamNewRXRRt	virStream(RR#R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	newStream�s
cCsOtj|j||�}|dkr9tdd|��nt|d|�}|S(s�Create a new device on the VM host machine, for example, virtual
        HBAs created using vport_create.
        
        virNodeDeviceFree should be used to free the resources after the
        node device object is no longer needed. svirNodeDeviceCreateXML() failedR	RN(RtvirNodeDeviceCreateXMLRXRRt
virNodeDevice(RR�R#R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytnodeDeviceCreateXML�s
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Lookup a node device by its name.
        
        virNodeDeviceFree should be used to free the resources after the
        node device object is no longer needed. s"virNodeDeviceLookupByName() failedR	RN(RtvirNodeDeviceLookupByNameRXRRR�(RR'R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytnodeDeviceLookupByName�s
cCsRtj|j|||�}|dkr<tdd|��nt|d|�}|S(s�Lookup SCSI Host which is capable with 'fc_host' by its WWNN and WWPN.
        
        virNodeDeviceFree should be used to free the resources after the
        node device object is no longer needed. s)virNodeDeviceLookupSCSIHostByWWN() failedR	RN(Rt virNodeDeviceLookupSCSIHostByWWNRXRRR�(RtwwnntwwpnR#R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytnodeDeviceLookupSCSIHostByWWN�s
cCs7tj|j�}|dkr3tdd|��n|S(s5Provides the number of defined but inactive domains. i����s&virConnectNumOfDefinedDomains() failedR	(RtvirConnectNumOfDefinedDomainsRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnumOfDefinedDomains�scCs7tj|j�}|dkr3tdd|��n|S(sKProvides the number of defined (inactive) interfaces on the physical host. i����s)virConnectNumOfDefinedInterfaces() failedR	(Rt virConnectNumOfDefinedInterfacesRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnumOfDefinedInterfaces�scCs7tj|j�}|dkr3tdd|��n|S(s*Provides the number of inactive networks. i����s'virConnectNumOfDefinedNetworks() failedR	(RtvirConnectNumOfDefinedNetworksRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnumOfDefinedNetworks�scCs7tj|j�}|dkr3tdd|��n|S(s.Provides the number of inactive storage pools i����s+virConnectNumOfDefinedStoragePools() failedR	(Rt"virConnectNumOfDefinedStoragePoolsRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnumOfDefinedStoragePools�scCs=tj|j||�}|dkr9tdd|��n|S(s�Provides the number of node devices.
        
        If the optional 'cap'  argument is non-None, then the count
        will be restricted to devices with the specified capability i����svirNodeNumOfDevices() failedR	(RtvirNodeNumOfDevicesRXR(RR�R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnumOfDevicesscCs7tj|j�}|dkr3tdd|��n|S(s'Provides the number of active domains. i����svirConnectNumOfDomains() failedR	(RtvirConnectNumOfDomainsRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnumOfDomainsscCs7tj|j�}|dkr3tdd|��n|S(s?Provides the number of active interfaces on the physical host. i����s"virConnectNumOfInterfaces() failedR	(RtvirConnectNumOfInterfacesRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnumOfInterfacesscCs7tj|j�}|dkr3tdd|��n|S(s"Provides the number of nwfilters. i����s!virConnectNumOfNWFilters() failedR	(RtvirConnectNumOfNWFiltersRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnumOfNWFilters$scCs7tj|j�}|dkr3tdd|��n|S(s(Provides the number of active networks. i����s virConnectNumOfNetworks() failedR	(RtvirConnectNumOfNetworksRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
numOfNetworks.scCs7tj|j�}|dkr3tdd|��n|S(s+Fetch number of currently defined secrets. i����svirConnectNumOfSecrets() failedR	(RtvirConnectNumOfSecretsRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnumOfSecrets8scCs7tj|j�}|dkr3tdd|��n|S(s,Provides the number of active storage pools i����s$virConnectNumOfStoragePools() failedR	(RtvirConnectNumOfStoragePoolsRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnumOfStoragePoolsBscCsOtj|j||�}|dkr9tdd|��nt|d|�}|S(s�Define a new network filter, based on an XML description
        similar to the one returned by virNWFilterGetXMLDesc()
        
        virNWFilterFree should be used to free the resources after the
        binding object is no longer needed. s$virNWFilterBindingCreateXML() failedR	RN(RtvirNWFilterBindingCreateXMLRXRRtvirNWFilterBinding(RRnR#R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytnwfilterBindingCreateXMLLs
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Try to lookup a network filter binding on the given hypervisor based
        on network port device name.
        
        virNWFilterBindingFree should be used to free the resources after the
        binding object is no longer needed. s*virNWFilterBindingLookupByPortDev() failedR	RN(Rt!virNWFilterBindingLookupByPortDevRXRRR�(RtportdevR$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytnwfilterBindingLookupByPortDevWs
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Define a new network filter, based on an XML description
        similar to the one returned by virNWFilterGetXMLDesc()
        
        virNWFilterFree should be used to free the resources after the
        nwfilter object is no longer needed. svirNWFilterDefineXML() failedR	RN(RtvirNWFilterDefineXMLRXRRtvirNWFilter(RR�R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytnwfilterDefineXMLbs
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Try to lookup a network filter on the given hypervisor based on its name.
        
        virNWFilterFree should be used to free the resources after the
        nwfilter object is no longer needed. s virNWFilterLookupByName() failedR	RN(RtvirNWFilterLookupByNameRXRRR�(RR'R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytnwfilterLookupByNamems
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(sJTry to lookup a network filter on the given hypervisor based on its UUID. s virNWFilterLookupByUUID() failedR	RN(RtvirNWFilterLookupByUUIDRXRRR�(RR�R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytnwfilterLookupByUUID{s
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Try to lookup an nwfilter on the given hypervisor based on its UUID.
        
        virNWFilterFree should be used to free the resources after the
        nwfilter object is no longer needed. s&virNWFilterLookupByUUIDString() failedR	RN(RtvirNWFilterLookupByUUIDStringRXRRR�(RR�R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytnwfilterLookupByUUIDString�s
cCs:tj|j|�}|dkr6tdd|��n|S(s�This method will restore a domain saved to disk by virDomainSave().
        
        See virDomainRestoreFlags() for more control. i����svirDomainRestore() failedR	(RtvirDomainRestoreRXR(RtfrmR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytrestore�scCs@tj|j|||�}|dkr<tdd|��n|S(seThis method will restore a domain saved to disk by virDomainSave().
        
        If the hypervisor supports it, @dxml can be used to alter
        host-specific portions of the domain XML that will be used when
        restoring an image.  For example, it is possible to alter the
        backing filename that is associated with a disk device, in order to
        prepare for file renaming done as part of backing up the disk
        device while the domain is stopped.
        
        If @flags includes VIR_DOMAIN_SAVE_BYPASS_CACHE, then libvirt will
        attempt to bypass the file system cache while restoring the file, or
        fail if it cannot do so for the given system; this can allow less
        pressure on file system cache, but also risks slowing restores from NFS.
        
        Normally, the saved state file will remember whether the domain was
        running or paused, and restore defaults to the same state.
        Specifying VIR_DOMAIN_SAVE_RUNNING or VIR_DOMAIN_SAVE_PAUSED in
        @flags will override the default read from the file.  These two
        flags are mutually exclusive. i����svirDomainRestoreFlags() failedR	(RtvirDomainRestoreFlagsRXR(RR�R�R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytrestoreFlags�scCs@tj|j|||�}|dkr<tdd|��n|S(s�This updates the definition of a domain stored in a saved state
        file.  @file must be a file created previously by virDomainSave()
        or virDomainSaveFlags().
        
        @dxml can be used to alter host-specific portions of the domain XML
        that will be used when restoring an image.  For example, it is
        possible to alter the backing filename that is associated with a
        disk device, to match renaming done as part of backing up the disk
        device while the domain is stopped.
        
        Normally, the saved state file will remember whether the domain was
        running or paused, and restore defaults to the same state.
        Specifying VIR_DOMAIN_SAVE_RUNNING or VIR_DOMAIN_SAVE_PAUSED in
        @flags will override the default saved into the file; omitting both
        leaves the file's default unchanged.  These two flags are mutually
        exclusive. i����s$virDomainSaveImageDefineXML() failedR	(RtvirDomainSaveImageDefineXMLRXR(RtfileR�R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsaveImageDefineXML�scCs=tj|j||�}|dkr9tdd|��n|S(s�This method will extract the XML describing the domain at the time
        a saved state file was created.  @file must be a file created
        previously by virDomainSave() or virDomainSaveFlags().
        
        No security-sensitive data will be included unless @flags contains
        VIR_DOMAIN_XML_SECURE; this flag is rejected on read-only
        connections.  For this API, @flags should not contain either
        VIR_DOMAIN_XML_INACTIVE or VIR_DOMAIN_XML_UPDATE_CPU. s%virDomainSaveImageGetXMLDesc() failedR	N(RtvirDomainSaveImageGetXMLDescRXRR(RR�R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsaveImageGetXMLDesc�s	cCsOtj|j||�}|dkr9tdd|��nt|d|�}|S(s�If XML specifies a UUID, locates the specified secret and replaces all
        attributes of the secret specified by UUID by attributes specified in xml
        (any attributes not specified in xml are discarded).
        
        Otherwise, creates a new secret with an automatically chosen UUID, and
        initializes its attributes from xml.
        
        virSecretFree should be used to free the resources after the
        secret object is no longer needed. svirSecretDefineXML() failedR	RN(RtvirSecretDefineXMLRXRRt	virSecret(RRnR#R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytsecretDefineXML�s

cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(sBTry to lookup a secret on the given hypervisor based on its UUID. svirSecretLookupByUUID() failedR	RN(RtvirSecretLookupByUUIDRXRRR�(RR�R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytsecretLookupByUUID�s
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Try to lookup a secret on the given hypervisor based on its UUID.
        Uses the printable string value to describe the UUID
        
        virSecretFree should be used to free the resources after the
        secret object is no longer needed. s$virSecretLookupByUUIDString() failedR	RN(RtvirSecretLookupByUUIDStringRXRRR�(RR�R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytsecretLookupByUUIDString�s
cCsOtj|j||�}|dkr9tdd|��nt|d|�}|S(sTry to lookup a secret on the given hypervisor based on its usage
        The usageID is unique within the set of secrets sharing the
        same usageType value.
        
        virSecretFree should be used to free the resources after the
        secret object is no longer needed. svirSecretLookupByUsage() failedR	RN(RtvirSecretLookupByUsageRXRRR�(Rt	usageTypetusageIDR$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytsecretLookupByUsages
cCs=tj|j||�}|dkr9tdd|��n|S(sStart sending keepalive messages after @interval seconds of inactivity and
        consider the connection to be broken when no response is received after
        @count keepalive messages sent in a row.  In other words, sending count + 1
        keepalive message results in closing the connection.  When @interval is
        <= 0, no keepalive messages will be sent.  When @count is 0, the connection
        will be automatically closed after @interval seconds of inactivity without
        sending any keepalive messages.
        
        Note: The client has to implement and run an event loop with
        virEventRegisterImpl() or virEventRegisterDefaultImpl() to be able to
        use keepalive messages.  Failure to do so may result in connections
        being closed unexpectedly.
        
        Note: This API function controls only keepalive messages sent by the client.
        If the server is configured to use keepalive you still need to run the event
        loop to respond to them, even if you disable keepalives by this function. i����svirConnectSetKeepAlive() failedR	(RtvirConnectSetKeepAliveRXR(RtintervaltcountR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetKeepAlivescCs=tj|j||�}|dkr9tdd|��n|S(s Change the node memory tunables i����s#virNodeSetMemoryParameters() failedR	(RtvirNodeSetMemoryParametersRXR(RR~R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�,scCsOtj|j||�}|dkr9tdd|��nt|d|�}|S(s6Create a new storage based on its XML description. The
        pool is not persistent, so its definition will disappear
        when it is destroyed, or if the host is restarted
        
        virStoragePoolFree should be used to free the resources after the
        storage pool object is no longer needed. s virStoragePoolCreateXML() failedR	RN(RtvirStoragePoolCreateXMLRXRRR�(RR�R#R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytstoragePoolCreateXML6s
cCsOtj|j||�}|dkr9tdd|��nt|d|�}|S(s�Define an inactive persistent storage pool or modify an existing persistent
        one from the XML description.
        
        virStoragePoolFree should be used to free the resources after the
        storage pool object is no longer needed. s virStoragePoolDefineXML() failedR	RN(RtvirStoragePoolDefineXMLRXRRR�(RRnR#R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytstoragePoolDefineXMLBs
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Fetch a storage pool based on its unique name
        
        virStoragePoolFree should be used to free the resources after the
        storage pool object is no longer needed. s#virStoragePoolLookupByName() failedR	RN(RtvirStoragePoolLookupByNameRXRRR�(RR'R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytstoragePoolLookupByNameMs
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s,Fetch a storage pool which maps to a particular target directory.
        If more than one pool maps to the path, it is undefined which
        will be returned first.
        
        virStoragePoolFree should be used to free the resources after the
        storage pool object is no longer needed. s)virStoragePoolLookupByTargetPath() failedR	RN(Rt virStoragePoolLookupByTargetPathRXRRR�(RR�R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytstoragePoolLookupByTargetPathWs
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Fetch a storage pool based on its globally unique id
        
        virStoragePoolFree should be used to free the resources after the
        storage pool object is no longer needed. s#virStoragePoolLookupByUUID() failedR	RN(RtvirStoragePoolLookupByUUIDRXRRR�(RR�R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytstoragePoolLookupByUUIDcs
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Fetch a storage pool based on its globally unique id
        
        virStoragePoolFree should be used to free the resources after the
        storage pool object is no longer needed. s)virStoragePoolLookupByUUIDString() failedR	RN(Rt virStoragePoolLookupByUUIDStringRXRRR�(RR�R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytstoragePoolLookupByUUIDStringms
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Fetch a pointer to a storage volume based on its
        globally unique key
        
        virStorageVolFree should be used to free the resources after the
        storage volume object is no longer needed. s!virStorageVolLookupByKey() failedR	RN(RtvirStorageVolLookupByKeyRXRRR�(RR�R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytstorageVolLookupByKeyws
cCsLtj|j|�}|dkr6tdd|��nt|d|�}|S(s�Fetch a pointer to a storage volume based on its
        locally (host) unique path
        
        virStorageVolFree should be used to free the resources after the
        storage volume object is no longer needed. s"virStorageVolLookupByPath() failedR	RN(RtvirStorageVolLookupByPathRXRRR�(RR�R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytstorageVolLookupByPath�s
cCs@tj|j|||�}|dkr<tdd|��n|S(sAttempt to suspend the node (host machine) for the given duration of
        time in the specified state (Suspend-to-RAM, Suspend-to-Disk or
        Hybrid-Suspend). Schedule the node's Real-Time-Clock interrupt to
        resume the node after the duration is complete. i����s"virNodeSuspendForDuration() failedR	(RtvirNodeSuspendForDurationRXR(RR*R+R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsuspendForDuration�scCstj|j�}|S(s�Provide a pointer to the last error caught on that connection
        
        This method is not protected against access from multiple
        threads. In a multi-threaded application, always use the
        global virGetLastError() API which is backed by thread
        local storage.
        
        If the connection object was discovered to be invalid by
        an API call, then the error will be reported against the
        global error object.
        
        Since 0.6.0, all errors reported in the per-connection object
        are also duplicated in the global error object. As such an
        application can always use virGetLastError(). This method
        remains for backwards compatibility. (RtvirConnGetLastErrorRX(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�scCstj|j�dS(s�The error object is kept in thread local storage, so separate
        threads can safely access this concurrently.
        
        Reset the last error caught on that connection N(RtvirConnResetLastErrorRX(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR �scCs�yGx'|jj�D]\}}|j|=qW|`tj|j|�Wntk
rZnX|jdk	r}tj|j�nd|_dS(N(tdomainEventCallbackstitemsRtvirConnectDomainEventDeregisterRXtAttributeErrorRRF(RR4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyRZ�s
cCs|S(N((R((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	__enter__�scCs|j�dS(N(RG(Rt	exc_type_t
exc_value_t
traceback_((s-/usr/lib64/python2.7/site-packages/libvirt.pyt__exit__�scCszyb|j|=t|j�dkra|`tj|j|�}|dkratdd|��qanWntk
runXdS(szRemoves a Domain Event Callback. De-registering for a
           domain callback will disable delivery of this event type ii����s(virConnectDomainEventDeregister() failedR	N(R!tlenRR#RXRR$(RR4R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytdomainEventDeregister�s

cCsoy||j|<WnWtk
rji||6|_tj|j|�}|dkrktdd|��qknXdS(snAdds a Domain Event Callback. Registering for a domain
           callback will enable delivery of the events i����s&virConnectDomainEventRegister() failedR	N(R!R$RtvirConnectDomainEventRegisterRXR(RR4R-R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytdomainEventRegister�s
cCsbyJx?|jj�D].\}}||t|d|�|||�qWdSWntk
r]nXdS(s@Dispatches events to python user domain event callbacks
        RiN(R!R"RSR$(RR
R,tdetailR4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt_dispatchDomainEventCallbacks�s&
cCs:|d}|d}||t|d|�|||�dS(sJDispatches events to python user domain lifecycle event callbacks
        R4R-Ri(RS(RR
R,R.R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt%_dispatchDomainEventLifecycleCallback�s

"cCs4|d}|d}||t|d|�|�dS(sHDispatches events to python user domain generic event callbacks
        R4R-Ri(RS(RR
R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt#_dispatchDomainEventGenericCallback�s

cCs7|d}|d}||t|d|�||�dS(sKDispatches events to python user domain RTC change event callbacks
        R4R-Ri(RS(RR
R�R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt%_dispatchDomainEventRTCChangeCallbacks

cCs7|d}|d}||t|d|�||�dS(sIDispatches events to python user domain watchdog event callbacks
        R4R-Ri(RS(RR
RvR6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt$_dispatchDomainEventWatchdogCallback	s

cCs=|d}|d}||t|d|�||||�dS(sIDispatches events to python user domain IO error event callbacks
        R4R-Ri(RS(RR
tsrcPathtdevAliasRvR6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt#_dispatchDomainEventIOErrorCallbacks

%c	Cs@|d}|d}||t|d|�|||||�dS(sIDispatches events to python user domain IO error event callbacks
        R4R-Ri(RS(	RR
R4R5RvtreasonR6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt)_dispatchDomainEventIOErrorReasonCallbacks



c
	CsC|d}|d}	||t|d|�||||||	�dS(sIDispatches events to python user domain graphics event callbacks
        R4R-Ri(RS(
RR
tphaset	localAddrt
remoteAddrt
authSchemetsubjectR6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt$_dispatchDomainEventGraphicsCallback(s



cCsYyA|d}|d}||t|d|�||||�dSWntk
rTnXdS(sSDispatches events to python user domain blockJob/blockJob2 event callbacks
        R4R-RiN(RSR$(RR
RwRWtstatusR6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt$_dispatchDomainEventBlockJobCallback4s

%
c	Cs@|d}|d}||t|d|�|||||�dS(sJDispatches event to python user domain diskChange event callbacks
        R4R-Ri(RS(	RR
t
oldSrcPatht
newSrcPathR5R7R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt&_dispatchDomainEventDiskChangeCallback@s

(cCs:|d}|d}||t|d|�|||�dS(sJDispatches event to python user domain trayChange event callbacks
        R4R-Ri(RS(RR
R5R7R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt&_dispatchDomainEventTrayChangeCallbackIs

"cCs7|d}|d}||t|d|�||�dS(sHDispatches event to python user domain pmwakeup event callbacks
        R4R-Ri(RS(RR
R7R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt$_dispatchDomainEventPMWakeupCallbackRs

cCs7|d}|d}||t|d|�||�dS(sIDispatches event to python user domain pmsuspend event callbacks
        R4R-Ri(RS(RR
R7R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt%_dispatchDomainEventPMSuspendCallback[s

cCs7|d}|d}||t|d|�||�dS(sODispatches events to python user domain balloon change event callbacks
        R4R-Ri(RS(RR
tactualR6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt)_dispatchDomainEventBalloonChangeCallbackds

cCs7|d}|d}||t|d|�||�dS(sNDispatches event to python user domain pmsuspend-disk event callbacks
        R4R-Ri(RS(RR
R7R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt)_dispatchDomainEventPMSuspendDiskCallbackms

cCs7|d}|d}||t|d|�||�dS(sNDispatches event to python user domain device removed event callbacks
        R4R-Ri(RS(RR
R5R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt)_dispatchDomainEventDeviceRemovedCallbackvs

cCs7|d}|d}||t|d|�||�dS(sGDispatches event to python user domain tunable event callbacks
        R4R-Ri(RS(RR
R~R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt#_dispatchDomainEventTunableCallbacks

cCs:|d}|d}||t|d|�|||�dS(sNDispatches event to python user domain agent lifecycle event callback
        R4R-Ri(RS(RR
RqR7R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt*_dispatchDomainEventAgentLifecycleCallback�s

"cCs7|d}|d}||t|d|�||�dS(sLDispatches event to python user domain device added event callbacks
        R4R-Ri(RS(RR
R5R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt'_dispatchDomainEventDeviceAddedCallback�s

cCs7|d}|d}||t|d|�||�dS(sSDispatches event to python user domain migration iteration event callbacks
        R4R-Ri(RS(RR
t	iterationR6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt._dispatchDomainEventMigrationIterationCallback�s

cCs7|d}|d}||t|d|�||�dS(sGDispatches event to python user domain job completed callbacks
        R4R-Ri(RS(RR
R~R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt(_dispatchDomainEventJobCompletedCallback�s

cCs7|d}|d}||t|d|�||�dS(sUDispatches event to python user domain device removal failed event callbacks
        R4R-Ri(RS(RR
R5R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt/_dispatchDomainEventDeviceRemovalFailedCallback�s

cCs:|d}|d}||t|d|�|||�dS(sODispatches event to python user domain metadata change event callbacks
        R4R-Ri(RS(RR
tmtypetnsuriR6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt*_dispatchDomainEventMetadataChangeCallback�s

"c	Cs@|d}|d}||t|d|�|||||�dS(sVDispatches event to python user domain block device threshold event callbacks
        R4R-Ri(RS(	RR
RmR�RntexcessR6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt*_dispatchDomainEventBlockThresholdCallback�s

(cCs\yDtj|j|�}|dkr9tdd|��n|j|=Wntk
rWnXdS(szRemoves a Domain Event Callback. De-registering for a
           domain callback will disable delivery of this event type i����s+virConnectDomainEventDeregisterAny() failedR	N(Rt"virConnectDomainEventDeregisterAnyRXRtdomainEventCallbackIDR$(Rt
callbackIDR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytdomainEventDeregisterAny�s
cCs:|d}|d}||t|d|�|||�dS(sKDispatches events to python user network lifecycle event callbacks
        R4R-Ri(R�(RRR,R.R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt&_dispatchNetworkEventLifecycleCallback�s

"cCs\yDtj|j|�}|dkr9tdd|��n|j|=Wntk
rWnXdS(s{Removes a Network Event Callback. De-registering for a
           network callback will disable delivery of this event typei����s,virConnectNetworkEventDeregisterAny() failedR	N(Rt#virConnectNetworkEventDeregisterAnyRXRtnetworkEventCallbackIDR$(RRYR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnetworkEventDeregisterAny�s
cCs�t|d�si|_ni|d6|d6|d6}|dkr`tj|jd||�}ntj|j|j||�}|dkr�tdd|��n||j|<|S(soAdds a Network Event Callback. Registering for a network
           callback will enable delivery of the eventsR]R4R	R-i����s*virConnectNetworkEventRegisterAny() failedN(thasattrR]RRt!virConnectNetworkEventRegisterAnyRXR(RRteventIDR4R-R6R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnetworkEventRegisterAny�s
cCs�t|d�si|_ni|d6|d6|d6}|dkr`tj|jd||�}ntj|j|j||�}|dkr�tdd|��n||j|<|S(snAdds a Domain Event Callback. Registering for a domain
           callback will enable delivery of the events RXR4R	R-i����s)virConnectDomainEventRegisterAny() failedN(R_RXRRt virConnectDomainEventRegisterAnyRXR(RR
RaR4R-R6R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytdomainEventRegisterAny�s
cCs:|d}|d}||t|d|�|||�dS(s[Dispatches events to python user storage pool
           lifecycle event callbacks
        R4R-Ri(R�(RRR,R.R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt*_dispatchStoragePoolEventLifecycleCallbacks

"cCs4|d}|d}||t|d|�|�dS(sYDispatches events to python user storage pool
           generic event callbacks
        R4R-Ri(R�(RRR6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt(_dispatchStoragePoolEventGenericCallback
s

cCs\yDtj|j|�}|dkr9tdd|��n|j|=Wntk
rWnXdS(s�Removes a Storage Pool Event Callback. De-registering for a
           storage pool callback will disable delivery of this event typei����s0virConnectStoragePoolEventDeregisterAny() failedR	N(Rt'virConnectStoragePoolEventDeregisterAnyRXRtstoragePoolEventCallbackIDR$(RRYR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytstoragePoolEventDeregisterAnys
cCs�t|d�si|_ni|d6|d6|d6}|dkr`tj|jd||�}ntj|j|j||�}|dkr�tdd|��n||j|<|S(syAdds a Storage Pool Event Callback. Registering for a storage pool
           callback will enable delivery of the eventsRhR4R	R-i����s.virConnectStoragePoolEventRegisterAny() failedN(R_RhRRt%virConnectStoragePoolEventRegisterAnyRXR(RRRaR4R-R6R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytstoragePoolEventRegisterAny!s
cCs:|d}|d}||t|d|�|||�dS(sZDispatches events to python user node device
           lifecycle event callbacks
        R4R-Ri(R�(RRmR,R.R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt)_dispatchNodeDeviceEventLifecycleCallback0s

"cCs4|d}|d}||t|d|�|�dS(sXDispatches events to python user node device
           generic event callbacks
        R4R-Ri(R�(RRmR6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt'_dispatchNodeDeviceEventGenericCallback:s

cCs\yDtj|j|�}|dkr9tdd|��n|j|=Wntk
rWnXdS(s�Removes a Node Device Event Callback. De-registering for a
           node device callback will disable delivery of this event typei����s/virConnectNodeDeviceEventDeregisterAny() failedR	N(Rt&virConnectNodeDeviceEventDeregisterAnyRXRtnodeDeviceEventCallbackIDR$(RRYR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnodeDeviceEventDeregisterAnyDs
cCs�t|d�si|_ni|d6|d6|d6}|dkr`tj|jd||�}ntj|j|j||�}|dkr�tdd|��n||j|<|S(swAdds a Node Device Event Callback. Registering for a node device
           callback will enable delivery of the eventsRoR4R	R-i����s-virConnectNodeDeviceEventRegisterAny() failedN(R_RoRRt$virConnectNodeDeviceEventRegisterAnyRXR(RRmRaR4R-R6R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnodeDeviceEventRegisterAnyNs
cCs:|d}|d}||t|d|�|||�dS(sJDispatches events to python user secret lifecycle event callbacks
        R4R-Ri(R�(RtsecretR,R.R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt%_dispatchSecretEventLifecycleCallback]s

"cCs4|d}|d}||t|d|�|�dS(sHDispatches events to python user secret generic event callbacks
        R4R-Ri(R�(RRsR6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt#_dispatchSecretEventGenericCallbackfs

cCs\yDtj|j|�}|dkr9tdd|��n|j|=Wntk
rWnXdS(syRemoves a Secret Event Callback. De-registering for a
           secret callback will disable delivery of this event typei����s+virConnectSecretEventDeregisterAny() failedR	N(Rt"virConnectSecretEventDeregisterAnyRXRtsecretEventCallbackIDR$(RRYR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsecretEventDeregisterAnyos
cCs�t|d�si|_ni|d6|d6|d6}|dkr`tj|jd||�}ntj|j|j||�}|dkr�tdd|��n||j|<|S(smAdds a Secret Event Callback. Registering for a secret
           callback will enable delivery of the eventsRwR4R	R-i����s)virConnectSecretEventRegisterAny() failedN(R_RwRRt virConnectSecretEventRegisterAnyRXR(RRsRaR4R-R6R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsecretEventRegisterAnyys
cCsmtj|j|�}|dkr6tdd|��nt�}x'|D]}|jt|d|��qFW|S(s5List all domains and returns a list of domain objectss!virConnectListAllDomains() failedR	RN(RtvirConnectListAllDomainsRXRRR�R�RS(RR#R$R�tdomptr((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistAllDomains�s	
cCsmtj|j|�}|dkr6tdd|��nt�}x'|D]}|jt|d|��qFW|S(s&Returns a list of storage pool objectss&virConnectListAllStoragePools() failedR	RN(RtvirConnectListAllStoragePoolsRXRRR�R�R�(RR#R$R�tpoolptr((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistAllStoragePools�s	
cCsmtj|j|�}|dkr6tdd|��nt�}x'|D]}|jt|d|��qFW|S(s!Returns a list of network objectss"virConnectListAllNetworks() failedR	RN(RtvirConnectListAllNetworksRXRRR�R�R�(RR#R$R�tnetptr((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistAllNetworks�s	
cCsmtj|j|�}|dkr6tdd|��nt�}x'|D]}|jt|d|��qFW|S(s#Returns a list of interface objectss$virConnectListAllInterfaces() failedR	RN(RtvirConnectListAllInterfacesRXRRR�R�R�(RR#R$R�tifaceptr((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistAllInterfaces�s	
cCsmtj|j|�}|dkr6tdd|��nt�}x'|D]}|jt|d|��qFW|S(s*Returns a list of host node device objectss%virConnectListAllNodeDevices() failedR	RN(RtvirConnectListAllNodeDevicesRXRRR�R�R�(RR#R$R�tdevptr((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistAllDevices�s	
cCsmtj|j|�}|dkr6tdd|��nt�}x'|D]}|jt|d|��qFW|S(s(Returns a list of network filter objectss#virConnectListAllNWFilters() failedR	RN(RtvirConnectListAllNWFiltersRXRRR�R�R�(RR#R$R�t
filter_ptr((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistAllNWFilters�s	
cCsmtj|j|�}|dkr6tdd|��nt�}x'|D]}|jt|d|��qFW|S(s0Returns a list of network filter binding objectss*virConnectListAllNWFilterBindings() failedR	RN(Rt!virConnectListAllNWFilterBindingsRXRRR�R�R�(RR#R$R�R�((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistAllNWFilterBindings�s	
cCsmtj|j|�}|dkr6tdd|��nt�}x'|D]}|jt|d|��qFW|S(s Returns a list of secret objectss!virConnectListAllSecrets() failedR	RN(RtvirConnectListAllSecretsRXRRR�R�R�(RR#R$R�t
secret_ptr((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistAllSecrets�s	
cCs(|d}|d}||||�dS(s/Dispatches events to python user close callbackR4R-i((RR7R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt_dispatchCloseCallback�s

cCs7tj|j�}|dkr3tdd|��ndS(sRemoves a close event callbacki����s*virConnectUnregisterCloseCallback() failedR	N(Rt!virConnectUnregisterCloseCallbackRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytunregisterCloseCallback�scCsUi|d6|d6|d6}tj|j|�}|dkrQtdd|��n|S(s_Adds a close event callback, providing a notification
         when a connection fails / closesR4R	R-i����s(virConnectRegisterCloseCallback() failed(RtvirConnectRegisterCloseCallbackRXR(RR4R-R6R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytregisterCloseCallback�s
cCsRtj|j|||�}|dkr<tdd|��nt|d|�}|S(s4Launch a new guest domain, based on an XML description similar
        to the one returned by virDomainGetXMLDesc()
        This function may require privileged access to the hypervisor.
        The domain is not persistent, so its definition will disappear when it
        is destroyed, or if the host is restarted (see virDomainDefineXML() to
        define persistent domains).

        @files provides an array of file descriptors which will be
        made available to the 'init' process of the guest. The file
        handles exposed to the guest will be renumbered to start
        from 3 (ie immediately following stderr). This is only
        supported for guests which use container based virtualization
        technology.

        If the VIR_DOMAIN_START_PAUSED flag is set, the guest domain
        will be started, but its CPUs will remain paused. The CPUs
        can later be manually started using virDomainResume.

        If the VIR_DOMAIN_START_AUTODESTROY flag is set, the guest
        domain will be automatically destroyed when the virConnectPtr
        object is finally released. This will also happen if the
        client application crashes / loses its connection to the
        libvirtd daemon. Any domains marked for auto destroy will
        block attempts at migration, save-to-file, or snapshots. s$virDomainCreateXMLWithFiles() failedR	RN(RtvirDomainCreateXMLWithFilesRXRRRS(RR�R�R#R$RN((s-/usr/lib64/python2.7/site-packages/libvirt.pytcreateXMLWithFiles�s
cCs�tj|j||�}|dkr9tdd|��nt�}x;|D]3}t|d|d�|df}|j|�qIW|S(s�Query statistics for all domains on a given connection.

        Report statistics of various parameters for a running VM according to @stats
        field. The statistics are returned as an array of structures for each queried
        domain. The structure contains an array of typed parameters containing the
        individual statistics. The typed parameter name for each statistic field
        consists of a dot-separated string containing name of the requested group
        followed by a group specific description of the statistic value.

        The statistic groups are enabled using the @stats parameter which is a
        binary-OR of enum virDomainStatsTypes. The following groups are available
        (although not necessarily implemented for each hypervisor):

        VIR_DOMAIN_STATS_STATE: Return domain state and reason for entering that
        state. The typed parameter keys are in this format:
        "state.state" - state of the VM, returned as int from virDomainState enum
        "state.reason" - reason for entering given state, returned as int from
                         virDomain*Reason enum corresponding to given state.

        Using 0 for @stats returns all stats groups supported by the given
        hypervisor.

        Specifying VIR_CONNECT_GET_ALL_DOMAINS_STATS_ENFORCE_STATS as @flags makes
        the function return error in case some of the stat types in @stats were
        not recognized by the daemon.

        Similarly to virConnectListAllDomains, @flags can contain various flags to
        filter the list of domains to provide stats for.

        VIR_CONNECT_GET_ALL_DOMAINS_STATS_ACTIVE selects online domains while
        VIR_CONNECT_GET_ALL_DOMAINS_STATS_INACTIVE selects offline ones.

        VIR_CONNECT_GET_ALL_DOMAINS_STATS_PERSISTENT and
        VIR_CONNECT_GET_ALL_DOMAINS_STATS_TRANSIENT allow to filter the list
        according to their persistence.

        To filter the list of VMs by domain state @flags can contain
        VIR_CONNECT_GET_ALL_DOMAINS_STATS_RUNNING,
        VIR_CONNECT_GET_ALL_DOMAINS_STATS_PAUSED,
        VIR_CONNECT_GET_ALL_DOMAINS_STATS_SHUTOFF and/or
        VIR_CONNECT_GET_ALL_DOMAINS_STATS_OTHER for all other states. s$virConnectGetAllDomainStats() failedR	RiiN(RtvirConnectGetAllDomainStatsRXRRR�RSR�(RtstatsR#R$R�telemtrecord((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetAllDomainStatss*	
 c
Cs�t�}xB|D]:}t|t�s:tdd|��n|j|j�qWtj|j|||�}|dkr�tdd|��nt�}x;|D]3}t|d|d�|df}	|j|	�q�W|S(s" Query statistics for given domains.

        Report statistics of various parameters for a running VM according to @stats
        field. The statistics are returned as an array of structures for each queried
        domain. The structure contains an array of typed parameters containing the
        individual statistics. The typed parameter name for each statistic field
        consists of a dot-separated string containing name of the requested group
        followed by a group specific description of the statistic value.

        The statistic groups are enabled using the @stats parameter which is a
        binary-OR of enum virDomainStatsTypes. The following groups are available
        (although not necessarily implemented for each hypervisor):

        VIR_DOMAIN_STATS_STATE: Return domain state and reason for entering that
        state. The typed parameter keys are in this format:
        "state.state" - state of the VM, returned as int from virDomainState enum
        "state.reason" - reason for entering given state, returned as int from
                         virDomain*Reason enum corresponding to given state.

        Using 0 for @stats returns all stats groups supported by the given
        hypervisor.

        Specifying VIR_CONNECT_GET_ALL_DOMAINS_STATS_ENFORCE_STATS as @flags makes
        the function return error in case some of the stat types in @stats were
        not recognized by the daemon.

        Get statistics about domains provided as a list in @doms. @stats is
        a bit field selecting requested statistics types.s(domain list contains non-domain elementsR	svirDomainListGetStats() failedRiiN(	R�R�RSRR�RXRtvirDomainListGetStatsR(
RtdomsR�R#tdomlistR
R$R�R�R�((s-/usr/lib64/python2.7/site-packages/libvirt.pytdomainListGetStatsRs	
	
 N(�RRRRR]R6R9R?RARCRERGRIRLROR�RRRTRXR[R^R`RbR�RfRiRlRnRpRrRtRvRxRzR}RR�R�R�R�R(R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�RRRRR�RRRRRRRRRRR RZR%R)R+R-R/R0R1R2R3R6R8R>R@RCRDRERFRHRIRJRKRLRMRORPRQRTRVRZR[R^RbRdReRfRiRkRlRmRpRrRtRuRxRzR}R�R�R�R�R�R�R�R�R�R�R�R�R�(((s-/usr/lib64/python2.7/site-packages/libvirt.pyR �
sL	
	
		
	
	
	
			
		
		
		
	
											
	
	
	
	
										
	
	
	
	

	
	
	
	
	
	
										
	
		
	
		
		
	
				
	
									
																				
													
			
			
	
	
		
	
	
						
						5R�cBs�eZdd�Zd�Zd�Zd�Zdd�Zd�Zdd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�ZRS(cCsD||_t|�jdkr7tdt|���n||_dS(NRTRUs&Expected a wrapped C Object but got %s(s	PyCapsules	PyCObject(RVRWRRRX(RR	R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�s	cCs/|jdk	r"tj|j�nd|_dS(N(RXRRtvirNodeDeviceFree(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyRZ�scCs|jS(N(RV(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR[�scCstj|j�S(s"Get C pointer to underlying object(RtvirNodeDevice_pointerRX(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR]�sicCs4tj|j|�}|dkr0td��n|S(sDFetch an XML document describing all aspects of
        the device. s virNodeDeviceGetXMLDesc() failedN(RtvirNodeDeviceGetXMLDescRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRg�scCs1tj|j�}|dkr-td��n|S(s�Destroy the device object. The virtual device (only works for vHBA
        currently) is removed from the host operating system.  This function
        may require privileged access. i����svirNodeDeviceDestroy() failed(RtvirNodeDeviceDestroyRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��scCs7tj|j||�}|dkr3td��n|S(sNDetach the node device from the node itself so that it may be
        assigned to a guest domain.
        
        Depending on the hypervisor, this may involve operations such as
        unbinding any device drivers from the device, binding the device to
        a dummy device driver and resetting the device. Different backend
        drivers expect the device to be bound to different dummy
        devices. For example, QEMU's "kvm" backend driver (the default)
        expects the device to be bound to "pci-stub", but its "vfio"
        backend driver expects the device to be bound to "vfio-pci".
        
        If the device is currently in use by the node, this method may
        fail.
        
        Once the device is not assigned to any guest, it may be re-attached
        to the node using the virNodeDeviceReAttach() method. i����s!virNodeDeviceDetachFlags() failed(RtvirNodeDeviceDetachFlagsRXR(Rt
driverNameR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytdetachFlags�scCs1tj|j�}|dkr-td��n|S(s1Dettach the node device from the node itself so that it may be
        assigned to a guest domain.
        
        Depending on the hypervisor, this may involve operations such
        as unbinding any device drivers from the device, binding the
        device to a dummy device driver and resetting the device.
        
        If the device is currently in use by the node, this method may
        fail.
        
        Once the device is not assigned to any guest, it may be re-attached
        to the node using the virNodeDeviceReattach() method.
        
        If the caller needs control over which backend driver will be used
        during PCI device assignment (to use something other than the
        default, for example VFIO), the newer virNodeDeviceDetachFlags()
        API should be used instead. i����svirNodeDeviceDettach() failed(RtvirNodeDeviceDettachRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytdettach�scCs1tj|j�}|dkr-td��n|S(s$list the node device's capabilities svirNodeDeviceListCaps() failedN(RtvirNodeDeviceListCapsRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistCaps�scCstj|j�}|S(sJust return the device name (RtvirNodeDeviceGetNameRX(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR'�scCs1tj|j�}|dkr-td��n|S(sAAccessor for the number of capabilities supported by the device. i����svirNodeDeviceNumOfCaps() failed(RtvirNodeDeviceNumOfCapsRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	numOfCaps�scCstj|j�}|S(s&Accessor for the parent of the device (RtvirNodeDeviceGetParentRX(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytparent�scCs1tj|j�}|dkr-td��n|S(s�Re-attach a previously detached node device to the node so that it
        may be used by the node again.
        
        Depending on the hypervisor, this may involve operations such
        as resetting the device, unbinding it from a dummy device driver
        and binding it to its appropriate driver.
        
        If the device is currently in use by a guest, this method may fail. i����svirNodeDeviceReAttach() failed(RtvirNodeDeviceReAttachRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytreAttach�s	cCs1tj|j�}|dkr-td��n|S(s�Reset a previously detached node device to the node before or
        after assigning it to a guest.
        
        The exact reset semantics depends on the hypervisor and device
        type but, for example, KVM will attempt to reset PCI devices with
        a Function Level Reset, Secondary Bus Reset or a Power Management
        D-State reset.
        
        If the reset will affect other devices which are currently in use,
        this function may fail. i����svirNodeDeviceReset() failed(RtvirNodeDeviceResetRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRB�sN(RRRRRZR[R]RgR�R�R�R�R'R�R�R�RB(((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��s						
				
R�cBs�eZd
d�Zd�Zd�Zd�Zd�Zd�Zdd�Z	dd�Z
d	�Zd
�Zd�Z
dd�ZRS(cCsD||_t|�jdkr7tdt|���n||_dS(NRTRUs&Expected a wrapped C Object but got %s(s	PyCapsules	PyCObject(RVRWRRRX(RR	R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR
s	cCs/|jdk	r"tj|j�nd|_dS(N(RXRRt
virSecretFree(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyRZscCs|jS(N(RV(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR[scCstj|j�S(s"Get C pointer to underlying object(RtvirSecret_pointerRX(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR]scCs1tj|j�}|dkr-td��n|S(s0Extract the UUID unique Identifier of a secret. svirSecretGetUUID() failedN(RtvirSecretGetUUIDRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRc#scCs1tj|j�}|dkr-td��n|S(s4Fetch globally unique ID of the secret as a string. svirSecretGetUUIDString() failedN(RtvirSecretGetUUIDStringRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRe)sicCs4tj|j|�}|dkr0td��n|S(s=Fetches an XML document describing attributes of the secret. svirSecretGetXMLDesc() failedN(RtvirSecretGetXMLDescRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRg3scCs7tj|j||�}|dkr3td��n|S(s"Associates a value with a secret. i����svirSecretSetValue() failed(RtvirSecretSetValueRXR(RtvalueR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsetValue=scCs1tj|j�}|dkr-td��n|S(s^Deletes the specified secret.  This does not free the associated
        virSecretPtr object. i����svirSecretUndefine() failed(RtvirSecretUndefineRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�GscCstj|j�}|S(s�Get the unique identifier of the object with which this
        secret is to be used. The format of the identifier is
        dependent on the usage type of the secret. For a secret
        with a usage type of VIR_SECRET_USAGE_TYPE_VOLUME the
        identifier will be a fully qualified path name. The
        identifiers are intended to be unique within the set of
        all secrets sharing the same usage type. ie, there shall
        only ever be one secret for each volume path. (RtvirSecretGetUsageIDRX(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRNs	cCstj|j�}|S(s4Get the type of object which uses this secret. The returned
        value is one of the constants defined in the virSecretUsageType
        enumeration. More values may be added to this enumeration in
        the future, so callers should expect to see usage types they
        do not explicitly know about. (RtvirSecretGetUsageTypeRX(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRZscCs4tj|j|�}|dkr0td��n|S(s,Fetches the value associated with a secret. svirSecretGetValue() failedN(RtvirSecretGetValueRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�gsN(RRRRRZR[R]RcReRgR�R�RRR�(((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�s					


			
R�cBs_eZd
d�Zd�Zd�Zd�Zd�Zd�Zdd�Z	d�Z
d	�ZRS(cCsD||_t|�jdkr7tdt|���n||_dS(NRTRUs&Expected a wrapped C Object but got %s(s	PyCapsules	PyCObject(RVRWRRRX(RR	R((s-/usr/lib64/python2.7/site-packages/libvirt.pyRns	cCs/|jdk	r"tj|j�nd|_dS(N(RXRRtvirNWFilterFree(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyRZtscCs|jS(N(RV(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR[yscCstj|j�S(s"Get C pointer to underlying object(RtvirNWFilter_pointerRX(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR]|scCs1tj|j�}|dkr-td��n|S(s8Extract the UUID unique Identifier of a network filter. svirNWFilterGetUUID() failedN(RtvirNWFilterGetUUIDRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRc�scCs1tj|j�}|dkr-td��n|S(s<Fetch globally unique ID of the network filter as a string. s!virNWFilterGetUUIDString() failedN(RtvirNWFilterGetUUIDStringRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRe�sicCs4tj|j|�}|dkr0td��n|S(s�Provide an XML description of the network filter. The description may be
        reused later to redefine the network filter with virNWFilterCreateXML(). svirNWFilterGetXMLDesc() failedN(RtvirNWFilterGetXMLDescRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRg�scCstj|j�}|S(s+Get the public name for the network filter (RtvirNWFilterGetNameRX(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR'�scCs1tj|j�}|dkr-td��n|S(s�Undefine the nwfilter object. This call will not succeed if
        a running VM is referencing the filter. This does not free the
        associated virNWFilterPtr object. i����svirNWFilterUndefine() failed(RtvirNWFilterUndefineRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��sN(RRRRRZR[R]RcReRgR'R�(((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�ms					
	R�cBsVeZd	d�Zd�Zd�Zd�Zdd�Zd�Zd�Z	d�Z
RS(
cCsD||_t|�jdkr7tdt|���n||_dS(NRTRUs&Expected a wrapped C Object but got %s(s	PyCapsules	PyCObject(RVRWRRRX(RR	R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�s	cCs/|jdk	r"tj|j�nd|_dS(N(RXRRtvirNWFilterBindingFree(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyRZ�scCs|jS(N(RV(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR[�scCstj|j�S(s"Get C pointer to underlying object(RtvirNWFilterBinding_pointerRX(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR]�sicCs4tj|j|�}|dkr0td��n|S(s�Provide an XML description of the network filter. The description may be
        reused later to redefine the network filter with virNWFilterCreateXML(). s%virNWFilterBindingGetXMLDesc() failedN(RtvirNWFilterBindingGetXMLDescRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRg�scCs1tj|j�}|dkr-td��n|S(scDelete the binding object. This does not free the
        associated virNWFilterBindingPtr object. i����s!virNWFilterBindingDelete() failed(RtvirNWFilterBindingDeleteRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�scCstj|j�}|S(s3Get the filter name for the network filter binding (RtvirNWFilterBindingGetFilterNameRX(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
filterName�scCstj|j�}|S(s5Get the port dev name for the network filter binding (RtvirNWFilterBindingGetPortDevRX(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytportDev�sN(RRRRRZR[R]RgRR�R�(((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��s					R�cBs�eZdd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zd	�Zd
�Z
d�Zd�Zd
�Zdd�Zdd�Zdd�Zd�Zd�ZRS(cCsD||_t|�jdkr7tdt|���n||_dS(NRTRUs&Expected a wrapped C Object but got %s(s	PyCapsules	PyCObject(RVRWRRRX(RR	R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�s	cCs|jS(N(RV(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR[�scCstj|j�S(s"Get C pointer to underlying object(RtvirStream_pointerRX(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR]�scCs1tj|j�}|dkr-td��n|S(s�Request that the in progress data transfer be cancelled
        abnormally before the end of the stream has been reached.
        For output streams this can be used to inform the driver
        that the stream is being terminated early. For input
        streams this can be used to inform the driver that it
        should stop sending data.
        
        If the stream is non-blocking, any callback must be removed
        beforehand. i����svirStreamAbort() failed(RtvirStreamAbortRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytabort�s
cCs1tj|j�}|dkr-td��n|S(s)Remove an event callback from the stream i����s%virStreamEventRemoveCallback() failed(RtvirStreamEventRemoveCallbackRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyteventRemoveCallback�scCs4tj|j|�}|dkr0td��n|S(sChanges the set of events to monitor for a stream. This allows
        for event notification to be changed without having to
        unregister & register the callback completely. This method
        is guaranteed to succeed if a callback is already registered i����s%virStreamEventUpdateCallback() failed(RtvirStreamEventUpdateCallbackRXR(RR5R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyteventUpdateCallback�scCs1tj|j�}|dkr-td��n|S(s,Indicate that there is no further data to be transmitted
        on the stream. For output streams this should be called once
        all data has been written. For input streams this should be
        called once virStreamRecv returns end-of-file.
        
        This method is a synchronization point for all asynchronous
        errors, so if this returns a success code the application can
        be sure that all data has been successfully processed.
        
        If the stream is non-blocking, any callback must be removed
        beforehand. i����svirStreamFinish() failed(RtvirStreamFinishRXR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytfinishscCscy |jrtj|j�nWntk
r3nX|jdk	rVtj|j�nd|_dS(N(R4RR�RXR$Rt
virStreamFree(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyRZs	
cCs(|d}|d}||||�dS(sK
        Dispatches events to python user's stream event callbacks
        R4R-i((RR5R6R4R-((s-/usr/lib64/python2.7/site-packages/libvirt.pyt_dispatchStreamEventCallback$s

cCs[||_i|d6|d6|d6}tj|j||�}|dkrWtd��ndS(NRTR4R-i����s"virStreamEventAddCallback() failed(R4RtvirStreamEventAddCallbackRXR(RR5R4R-R6R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyteventAddCallback.s
	cCs�x�tr�|jd	�}|dkr3td��nt|�dkrIPnyG||||�}t|�tkr�|dkr�td|��nWqtk
r�tj	�d}y|j
�WnnX|�qXqWdS(
s�Receive the entire data stream, sending the data to the
        requested data sink. This is simply a convenient alternative
        to virStreamRecv, for apps that do blocking-I/O.

        A hypothetical handler function looks like:

            def handler(stream, # virStream instance
                        buf,    # string containing received data
                        opaque): # extra data passed to recvAll as opaque
                fd = opaque
                return os.write(fd, buf)
        ii@i����s*cannot use recvAll with nonblocking streamisrecvAll handler returned %diNi(tTruetrecvRR*RWtinttRuntimeErrorRtsystexc_infoR�(RthandlerR-tgotR$te((s-/usr/lib64/python2.7/site-packages/libvirt.pytrecvAll4s"
	
cCs�x�tr�y||d|�}Wn5tj�d}y|j�WnnX|�nX|saPn|j|�}|dkrtd��qqWdS(s�
        Send the entire data stream, reading the data from the
        requested data source. This is simply a convenient alternative
        to virStreamSend, for apps that do blocking-I/O.

        A hypothetical handler function looks like:

            def handler(stream, # virStream instance
                        nbytes, # int amt of data to read
                        opaque): # extra data passed to recvAll as opaque
                fd = opaque
                return os.read(fd, nbytes)
        ii@ii����s*cannot use sendAll with nonblocking streamNi(R�R�R�R�tsendR(RR�R-R�R�R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsendAllUs	
cCs4tj|j|�}|dkr0td��n|S(s�Reads a series of bytes from the stream. This method may
        block the calling application for an arbitrary amount
        of time.

        Errors are not guaranteed to be reported synchronously
        with the call, but may instead be delayed until a
        subsequent call.

        On success, the received data is returned. On failure, an
        exception is raised. If the stream is a NONBLOCK stream and
        the request would block, integer -2 is returned.
        svirStreamRecv() failedN(Rt
virStreamRecvRXRR(RtnbytesR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�vs
cCs4tj|j|�}|dkr0td��n|S(sWrite a series of bytes to the stream. This method may
        block the calling application for an arbitrary amount
        of time. Once an application has finished sending data
        it should call virStreamFinish to wait for successful
        confirmation from the driver, or detect any error

        This method may not be used if a stream source has been
        registered

        Errors are not guaranteed to be reported synchronously
        with the call, but may instead be delayed until a
        subsequent call.
        i����svirStreamSend() failed(Rt
virStreamSendRXR(RtdataR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��sicCs4tj|j|�}|dkr0td��n|S(s�This method is used to determine the length in bytes
        of the empty space to be created in a stream's target
        file when uploading or downloading sparsely populated
        files. This is the counterpart to sendHole.
        svirStreamRecvHole() failedN(RtvirStreamRecvHoleRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytrecvHole�scCs7tj|j||�}|dkr3td��n|S(s"Rather than transmitting empty file space, this method
        directs the stream target to create length bytes of empty
        space.  This method would be used when uploading or
        downloading sparsely populated files to avoid the
        needless copy of empty file space.
        i����svirStreamSendHole() failed(RtvirStreamSendHoleRXR(RRR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytsendHole�scCs7tj|j||�}|dkr3td��n|S(s Reads a series of bytes from the stream. This method may
        block the calling application for an arbitrary amount
        of time. This is just like recv except it has flags
        argument.

        Errors are not guaranteed to be reported synchronously
        with the call, but may instead be delayed until a
        subsequent call.

        On success, the received data is returned. On failure, an
        exception is raised. If the stream is a NONBLOCK stream and
        the request would block, integer -2 is returned.
        svirStreamRecvFlags() failedN(RtvirStreamRecvFlagsRXRR(RR�R#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	recvFlags�scCs7x0tr2d}|j|t�}|dkr<td��n|dkr�|j�}|d
kry|j�td��n||||�}t|�t	kr|dkr|j�td|��qqnt
|�dkr�Pn||||�}t|�t	kr|dkr|j�td	|��qqWd
S(s1Receive the entire data stream, sending the data to
        the requested data sink handler and calling the skip
        holeHandler to generate holes for sparse stream targets.
        This is simply a convenient alternative to recvFlags, for
        apps that do blocking-I/O and want to preserve sparseness.

        Hypothetical callbacks can look like this:

            def handler(stream, # virStream instance
                        buf,    # string containing received data
                        opaque): # extra data passed to sparseRecvAll as opaque
                fd = opaque
                return os.write(fd, buf)

            def holeHandler(stream, # virStream instance
                            length, # number of bytes to skip
                            opaque): # extra data passed to sparseRecvAll as opaque
                fd = opaque
                cur = os.lseek(fd, length, os.SEEK_CUR)
                return os.ftruncate(fd, cur) # take this extra step to
                                             # actually allocate the hole
        i@ii����s0cannot use sparseRecvAll with nonblocking streami����srecvHole handler failedisholeHandler handler returned %ds!sparseRecvAll handler returned %dNi(R�R�tVIR_STREAM_RECV_STOP_AT_HOLERR�RR�R�RWR�R*(RR�tholeHandlerR-twantR�RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
sparseRecvAll�s*	


c
Csxtr|||�\}}|tkrv|dkrv|j|�dksc||||�dkr|j�qqnd}||kr�|}n||||�}t|�tkr�|dkr�|j�td|��n|s�Pn|j|�}	|	dkrtd��qqWdS(	sSend the entire data stream, reading the data from the
        requested data source. This is simply a convenient
        alternative to virStreamSend, for apps that do
        blocking-I/O and want to preserve sparseness.

        Hypothetical callbacks can look like this:

            def handler(stream, # virStream instance
                        nbytes, # int amt of data to read
                        opaque): # extra data passed to sparseSendAll as opaque
                fd = opaque
                return os.read(fd, nbytes)

            def holeHandler(stream, # virStream instance
                            opaque): # extra data passed to sparseSendAll as opaque
                fd = opaque
                cur = os.lseek(fd, 0, os.SEEK_CUR)
                # ... find out current section and its boundaries
                # and set inData = True/False and sectionLen correspondingly
                os.lseek(fd, cur, os.SEEK_SET)
                return [inData, sectionLen]

            def skipHandler(stream, # virStream instance
                            length, # number of bytes to skip
                            opaque): # extra data passed to sparseSendAll as opaque
                fd = opaque
                return os.lseek(fd, length, os.SEEK_CUR)

        ii@is!sparseSendAll handler returned %di����s0cannot use sparseSendAll with nonblocking streamNi(	R�tFalseR�R�RWR�R�R�R(
RR�R�tskipHandlerR-tinDatat
sectionLenR�R�R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
sparseSendAll�s&	
	
N(RRRRR[R]R�R�R�R�RZR�R�R�R�R�R�R�R�R�R�R�(((s-/usr/lib64/python2.7/site-packages/libvirt.pyR��s&									
		!	!		
	0R�cBs�eZdd�Zd�Zd�Zd�Zd�Zdd�Zd�Z	dd�Z
dd	�Zdd
�Zdd�Z
dd�Zdd
�Zd�Zd�Zdd�ZRS(cCsS||_|j�|_t|�jdkrFtdt|���n||_dS(NRTRUs&Expected a wrapped C Object but got %s(s	PyCapsules	PyCObject(t_domR[RVRWRRRX(RR
R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR(s
	cCs/|jdk	r"tj|j�nd|_dS(N(RXRRtvirDomainSnapshotFree(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyRZ/scCs|jS(N(RV(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR[4scCs|jS(N(R�(R((s-/usr/lib64/python2.7/site-packages/libvirt.pytdomain7scCstj|j�S(s"Get C pointer to underlying object(RtvirDomainSnapshot_pointerRX(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyR]:sicCs4tj|j|�}|dkr0td��n|S(s?Delete the snapshot.
        
        If @flags is 0, then just this snapshot is deleted, and changes
        from this snapshot are automatically merged into children
        snapshots.  If @flags includes VIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN,
        then this snapshot and any descendant snapshots are deleted.  If
        @flags includes VIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN_ONLY, then any
        descendant snapshots are deleted, but this snapshot remains.  These
        two flags are mutually exclusive.
        
        If @flags includes VIR_DOMAIN_SNAPSHOT_DELETE_METADATA_ONLY, then
        any snapshot metadata tracked by libvirt is removed while keeping
        the snapshot contents intact; if a hypervisor does not require any
        libvirt metadata to track snapshots, then this flag is silently
        ignored. i����s virDomainSnapshotDelete() failed(RtvirDomainSnapshotDeleteRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyRBscCs1tj|j�}|dkr-td��n|S(s&Get the public name for that snapshot s!virDomainSnapshotGetName() failedN(RtvirDomainSnapshotGetNameRXRR(RR$((s-/usr/lib64/python2.7/site-packages/libvirt.pytgetNameVscCsOtj|j|�}|dkr9tdd|j��nt|d|�}|S(s�Get the parent snapshot for @snapshot, if any.
        
        virDomainSnapshotFree should be used to free the resources after the
        snapshot object is no longer needed. s#virDomainSnapshotGetParent() failedR
RN(RtvirDomainSnapshotGetParentRXRRR�R�(RR#R$t_virDomainSnapshot__tmp((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	getParent\s
cCs4tj|j|�}|dkr0td��n|S(sLProvide an XML description of the domain snapshot.
        
        No security-sensitive data will be included unless @flags contains
        VIR_DOMAIN_XML_SECURE; this flag is rejected on read-only
        connections.  For this API, @flags should not contain either
        VIR_DOMAIN_XML_INACTIVE or VIR_DOMAIN_XML_UPDATE_CPU. s$virDomainSnapshotGetXMLDesc() failedN(RtvirDomainSnapshotGetXMLDescRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
getXMLDescfscCs4tj|j|�}|dkr0td��n|S(s{Determine if the given snapshot is associated with libvirt metadata
        that would prevent the deletion of the domain. i����s%virDomainSnapshotHasMetadata() failed(RtvirDomainSnapshotHasMetadataRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pythasMetadataqscCs4tj|j|�}|dkr0td��n|S(ssDetermine if the given snapshot is the domain's current snapshot.  See
        also virDomainHasCurrentSnapshot(). i����s#virDomainSnapshotIsCurrent() failed(RtvirDomainSnapshotIsCurrentRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	isCurrentxscCs4tj|j|�}|dkr0td��n|S(s@collect the list of child snapshot names for the given snapshot s+virDomainSnapshotListChildrenNames() failedN(Rt"virDomainSnapshotListChildrenNamesRXRR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistChildrenNames�scCs4tj|j|�}|dkr0td��n|S(s�Provides the number of child snapshots for this domain snapshot.
        
        By default, this command covers only direct children; it is also possible
        to expand things to cover all descendants, when @flags includes
        VIR_DOMAIN_SNAPSHOT_LIST_DESCENDANTS.  Also, some filters are provided in
        groups, where each group contains bits that describe mutually exclusive
        attributes of a snapshot, and where all bits within a group describe
        all possible snapshots.  Some hypervisors might reject explicit bits
        from a group where the hypervisor cannot make a distinction.  For a
        group supported by a given hypervisor, the behavior when no bits of a
        group are set is identical to the behavior when all bits in that group
        are set.  When setting bits from more than one group, it is possible to
        select an impossible combination, in that case a hypervisor may return
        either 0 or an error.
        
        The first group of @flags is VIR_DOMAIN_SNAPSHOT_LIST_LEAVES and
        VIR_DOMAIN_SNAPSHOT_LIST_NO_LEAVES, to filter based on snapshots that
        have no further children (a leaf snapshot).
        
        The next group of @flags is VIR_DOMAIN_SNAPSHOT_LIST_METADATA and
        VIR_DOMAIN_SNAPSHOT_LIST_NO_METADATA, for filtering snapshots based on
        whether they have metadata that would prevent the removal of the last
        reference to a domain.
        
        The next group of @flags is VIR_DOMAIN_SNAPSHOT_LIST_INACTIVE,
        VIR_DOMAIN_SNAPSHOT_LIST_ACTIVE, and VIR_DOMAIN_SNAPSHOT_LIST_DISK_ONLY,
        for filtering snapshots based on what domain state is tracked by the
        snapshot.
        
        The next group of @flags is VIR_DOMAIN_SNAPSHOT_LIST_INTERNAL and
        VIR_DOMAIN_SNAPSHOT_LIST_EXTERNAL, for filtering snapshots based on
        whether the snapshot is stored inside the disk images or as
        additional files. i����s%virDomainSnapshotNumChildren() failed(RtvirDomainSnapshotNumChildrenRXR(RR#R$((s-/usr/lib64/python2.7/site-packages/libvirt.pytnumChildren�s"cCs
|j�S(sGGet the connection that owns the domain that a snapshot was created for(R[(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyt
getConnect�scCs
|j�S(s.Get the domain that a snapshot was created for(R�(R((s-/usr/lib64/python2.7/site-packages/libvirt.pyt	getDomain�scCsmtj|j|�}|dkr6tdd|��nt�}x'|D]}|jt|d|��qFW|S(s?List all child snapshots and returns a list of snapshot objectss)virDomainSnapshotListAllChildren() failedR	RN(Rt virDomainSnapshotListAllChildrenRXRRR�R�R�(RR#R$R�R�((s-/usr/lib64/python2.7/site-packages/libvirt.pytlistAllChildren�s	
N(RRRRRZR[R�R]RRRRR	RR
RRRR(((s-/usr/lib64/python2.7/site-packages/libvirt.pyR�'s 					

)		iiiiiiii	ii i@i�i i@I�iiiiii i@i�iiii
iii
iiiiiiiiiiiiiiiiii!i"i#i$i%i&i'i(i)i*i+i,i-i.i/i0i1i2i3i4i5i6i7i8i9i:i;i<i=i>i?iAiBiCiDiEiFiGiHiIiJiKiLiMiNiOiPiQiRiSiTiUiViWiXiYiZi[i\i]i^i_i`iaibicidiesinbound.averages
inbound.bursts
inbound.floorsinbound.peaksoutbound.averagesoutbound.bursts
outbound.peaktdevice_read_bytes_sectdevice_read_iops_sect
device_weighttdevice_write_bytes_sectdevice_write_iops_sectweightRzsbuf-sizetgranularityt
group_nametread_bytes_sectread_bytes_sec_maxtread_bytes_sec_max_lengtht
read_iops_sectread_iops_sec_maxtread_iops_sec_max_lengtht
size_iops_secttotal_bytes_secttotal_bytes_sec_maxttotal_bytes_sec_max_lengthttotal_iops_secttotal_iops_sec_maxttotal_iops_sec_max_lengthtwrite_bytes_sectwrite_bytes_sec_maxtwrite_bytes_sec_max_lengthtwrite_iops_sectwrite_iops_sec_maxtwrite_iops_sec_max_lengthterrstflush_operationstflush_total_timestrd_bytest
rd_operationstrd_total_timestwr_bytest
wr_operationstwr_total_timestcpu_timetsystem_timet	user_timet	vcpu_timetauto_converge_throttletcompression_bytestcompression_cachetcompression_cache_missestcompression_overflowtcompression_pagestdata_processedtdata_remainingt
data_totaltdisk_bpstdisk_processedtdisk_remainingt
disk_totalRtdowntime_nett
memory_bpstmemory_constanttmemory_dirty_ratetmemory_iterationt
memory_normaltmemory_normal_bytestmemory_page_sizetmemory_processedtmemory_remainingtmemory_totalt	operationt
setup_timettime_elapsedttime_elapsed_netttime_remainingssev-measurementt
hard_limitt
min_guaranteet
soft_limittswap_hard_limitt	numa_modetnuma_nodesetR�t
cpu_sharestemulator_periodtemulator_quotat
global_periodtglobal_quotatiothread_periodtiothread_quotatlimittreservationtsharestvcpu_periodt
vcpu_quotasblkdeviotune.disksblkdeviotune.group_namesblkdeviotune.read_bytes_secsblkdeviotune.read_bytes_sec_maxs&blkdeviotune.read_bytes_sec_max_lengthsblkdeviotune.read_iops_secsblkdeviotune.read_iops_sec_maxs%blkdeviotune.read_iops_sec_max_lengthsblkdeviotune.size_iops_secsblkdeviotune.total_bytes_secs blkdeviotune.total_bytes_sec_maxs'blkdeviotune.total_bytes_sec_max_lengthsblkdeviotune.total_iops_secsblkdeviotune.total_iops_sec_maxs&blkdeviotune.total_iops_sec_max_lengthsblkdeviotune.write_bytes_secs blkdeviotune.write_bytes_sec_maxs'blkdeviotune.write_bytes_sec_max_lengthsblkdeviotune.write_iops_secsblkdeviotune.write_iops_sec_maxs&blkdeviotune.write_iops_sec_max_lengthscputune.cpu_sharesscputune.emulatorpinscputune.emulator_periodscputune.emulator_quotascputune.global_periodscputune.global_quotascputune.iothreadpin%uscputune.iothread_periodscputune.iothread_quotascputune.vcpupin%uscputune.vcpu_periodscputune.vcpu_quotasauto_converge.incrementsauto_converge.initialtcompressionscompression.mt.dthreadsscompression.mt.levelscompression.mt.threadsscompression.xbzrle.cachetdestination_nametdestination_xmlt
disks_porttgraphics_uritlisten_addresst
migrate_diskstpersistent_xmltmigrate_uritidletintrtiowaittkernelR�tutilizationtshm_full_scanstshm_merge_across_nodestshm_pages_sharedtshm_pages_sharingtshm_pages_to_scantshm_pages_unsharedtshm_pages_volatiletshm_sleep_millisecstbufferstcachedtfreeR�tcbitposs
cert-chaintpdhsreduced-phys-bitstalignment_faultstbranch_instructionst
branch_missest
bus_cyclestcache_missestcache_referencestcmttcontext_switchest	cpu_clockt
cpu_cyclestcpu_migrationstemulation_faultstinstructionstmbmltmbmttpage_faultstpage_faults_majtpage_faults_mintref_cpu_cycleststalled_cycles_backendtstalled_cycles_frontendt
task_clock(3R�RtImportErrorR�tlib_et
cygvirtmodtcyg_etstrR
RRRR%RR(R0R3R7R8R9R:R<R>R@RARBRIRJRKRLRMRRNRORPRQRRtobjectRSR�R�R�R�R R�R�R�R�R�R�tVIR_DOMAIN_BLKIO_PARAM_INTtVIR_DOMAIN_BLKIO_PARAM_UINTtVIR_DOMAIN_BLKIO_PARAM_LLONGtVIR_DOMAIN_BLKIO_PARAM_ULLONGtVIR_DOMAIN_BLKIO_PARAM_DOUBLEtVIR_DOMAIN_BLKIO_PARAM_BOOLEANtVIR_CPU_COMPARE_ERRORtVIR_CPU_COMPARE_INCOMPATIBLEtVIR_CPU_COMPARE_IDENTICALtVIR_CPU_COMPARE_SUPERSETt(VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURESt#VIR_CONNECT_BASELINE_CPU_MIGRATABLEtVIR_CONNECT_CLOSE_REASON_ERRORtVIR_CONNECT_CLOSE_REASON_EOFt"VIR_CONNECT_CLOSE_REASON_KEEPALIVEtVIR_CONNECT_CLOSE_REASON_CLIENTt)VIR_CONNECT_COMPARE_CPU_FAIL_INCOMPATIBLEtVIR_CRED_USERNAMEtVIR_CRED_AUTHNAMEtVIR_CRED_LANGUAGEtVIR_CRED_CNONCEtVIR_CRED_PASSPHRASEtVIR_CRED_ECHOPROMPTtVIR_CRED_NOECHOPROMPTtVIR_CRED_REALMtVIR_CRED_EXTERNALt7VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_REASON_UNKNOWNt>VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_REASON_DOMAIN_STARTEDt7VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_REASON_CHANNELt8VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_STATE_CONNECTEDt;VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_STATE_DISCONNECTEDtVIR_DOMAIN_BLOCK_JOB_COMPLETEDtVIR_DOMAIN_BLOCK_JOB_FAILEDtVIR_DOMAIN_BLOCK_JOB_CANCELEDtVIR_DOMAIN_BLOCK_JOB_READYt-VIR_DOMAIN_EVENT_DISK_CHANGE_MISSING_ON_STARTt+VIR_DOMAIN_EVENT_DISK_DROP_MISSING_ON_STARTtVIR_CONNECT_ROtVIR_CONNECT_NO_ALIASESt(VIR_CONNECT_GET_ALL_DOMAINS_STATS_ACTIVEt*VIR_CONNECT_GET_ALL_DOMAINS_STATS_INACTIVEt,VIR_CONNECT_GET_ALL_DOMAINS_STATS_PERSISTENTt+VIR_CONNECT_GET_ALL_DOMAINS_STATS_TRANSIENTt)VIR_CONNECT_GET_ALL_DOMAINS_STATS_RUNNINGt(VIR_CONNECT_GET_ALL_DOMAINS_STATS_PAUSEDt)VIR_CONNECT_GET_ALL_DOMAINS_STATS_SHUTOFFt'VIR_CONNECT_GET_ALL_DOMAINS_STATS_OTHERt(VIR_CONNECT_GET_ALL_DOMAINS_STATS_NOWAITt)VIR_CONNECT_GET_ALL_DOMAINS_STATS_BACKINGt/VIR_CONNECT_GET_ALL_DOMAINS_STATS_ENFORCE_STATStVIR_CONNECT_LIST_DOMAINS_ACTIVEt!VIR_CONNECT_LIST_DOMAINS_INACTIVEt#VIR_CONNECT_LIST_DOMAINS_PERSISTENTt"VIR_CONNECT_LIST_DOMAINS_TRANSIENTt VIR_CONNECT_LIST_DOMAINS_RUNNINGtVIR_CONNECT_LIST_DOMAINS_PAUSEDt VIR_CONNECT_LIST_DOMAINS_SHUTOFFtVIR_CONNECT_LIST_DOMAINS_OTHERt$VIR_CONNECT_LIST_DOMAINS_MANAGEDSAVEt'VIR_CONNECT_LIST_DOMAINS_NO_MANAGEDSAVEt"VIR_CONNECT_LIST_DOMAINS_AUTOSTARTt%VIR_CONNECT_LIST_DOMAINS_NO_AUTOSTARTt%VIR_CONNECT_LIST_DOMAINS_HAS_SNAPSHOTt$VIR_CONNECT_LIST_DOMAINS_NO_SNAPSHOTt$VIR_CONNECT_LIST_INTERFACES_INACTIVEt"VIR_CONNECT_LIST_INTERFACES_ACTIVEt"VIR_CONNECT_LIST_NETWORKS_INACTIVEt VIR_CONNECT_LIST_NETWORKS_ACTIVEt$VIR_CONNECT_LIST_NETWORKS_PERSISTENTt#VIR_CONNECT_LIST_NETWORKS_TRANSIENTt#VIR_CONNECT_LIST_NETWORKS_AUTOSTARTt&VIR_CONNECT_LIST_NETWORKS_NO_AUTOSTARTt(VIR_CONNECT_LIST_NODE_DEVICES_CAP_SYSTEMt)VIR_CONNECT_LIST_NODE_DEVICES_CAP_PCI_DEVt)VIR_CONNECT_LIST_NODE_DEVICES_CAP_USB_DEVt/VIR_CONNECT_LIST_NODE_DEVICES_CAP_USB_INTERFACEt%VIR_CONNECT_LIST_NODE_DEVICES_CAP_NETt+VIR_CONNECT_LIST_NODE_DEVICES_CAP_SCSI_HOSTt-VIR_CONNECT_LIST_NODE_DEVICES_CAP_SCSI_TARGETt&VIR_CONNECT_LIST_NODE_DEVICES_CAP_SCSIt)VIR_CONNECT_LIST_NODE_DEVICES_CAP_STORAGEt)VIR_CONNECT_LIST_NODE_DEVICES_CAP_FC_HOSTt(VIR_CONNECT_LIST_NODE_DEVICES_CAP_VPORTSt.VIR_CONNECT_LIST_NODE_DEVICES_CAP_SCSI_GENERICt%VIR_CONNECT_LIST_NODE_DEVICES_CAP_DRMt,VIR_CONNECT_LIST_NODE_DEVICES_CAP_MDEV_TYPESt&VIR_CONNECT_LIST_NODE_DEVICES_CAP_MDEVt)VIR_CONNECT_LIST_NODE_DEVICES_CAP_CCW_DEVt"VIR_CONNECT_LIST_SECRETS_EPHEMERALt%VIR_CONNECT_LIST_SECRETS_NO_EPHEMERALt VIR_CONNECT_LIST_SECRETS_PRIVATEt#VIR_CONNECT_LIST_SECRETS_NO_PRIVATEt'VIR_CONNECT_LIST_STORAGE_POOLS_INACTIVEt%VIR_CONNECT_LIST_STORAGE_POOLS_ACTIVEt)VIR_CONNECT_LIST_STORAGE_POOLS_PERSISTENTt(VIR_CONNECT_LIST_STORAGE_POOLS_TRANSIENTt(VIR_CONNECT_LIST_STORAGE_POOLS_AUTOSTARTt+VIR_CONNECT_LIST_STORAGE_POOLS_NO_AUTOSTARTt"VIR_CONNECT_LIST_STORAGE_POOLS_DIRt!VIR_CONNECT_LIST_STORAGE_POOLS_FSt$VIR_CONNECT_LIST_STORAGE_POOLS_NETFSt&VIR_CONNECT_LIST_STORAGE_POOLS_LOGICALt#VIR_CONNECT_LIST_STORAGE_POOLS_DISKt$VIR_CONNECT_LIST_STORAGE_POOLS_ISCSIt#VIR_CONNECT_LIST_STORAGE_POOLS_SCSIt$VIR_CONNECT_LIST_STORAGE_POOLS_MPATHt"VIR_CONNECT_LIST_STORAGE_POOLS_RBDt'VIR_CONNECT_LIST_STORAGE_POOLS_SHEEPDOGt&VIR_CONNECT_LIST_STORAGE_POOLS_GLUSTERt"VIR_CONNECT_LIST_STORAGE_POOLS_ZFSt'VIR_CONNECT_LIST_STORAGE_POOLS_VSTORAGEtVIR_DOMAIN_BLOCK_COMMIT_SHALLOWtVIR_DOMAIN_BLOCK_COMMIT_DELETEtVIR_DOMAIN_BLOCK_COMMIT_ACTIVEt VIR_DOMAIN_BLOCK_COMMIT_RELATIVEt'VIR_DOMAIN_BLOCK_COMMIT_BANDWIDTH_BYTEStVIR_DOMAIN_BLOCK_COPY_SHALLOWtVIR_DOMAIN_BLOCK_COPY_REUSE_EXTt#VIR_DOMAIN_BLOCK_COPY_TRANSIENT_JOBt VIR_DOMAIN_BLOCK_JOB_ABORT_ASYNCt VIR_DOMAIN_BLOCK_JOB_ABORT_PIVOTt)VIR_DOMAIN_BLOCK_JOB_INFO_BANDWIDTH_BYTESt*VIR_DOMAIN_BLOCK_JOB_SPEED_BANDWIDTH_BYTESt!VIR_DOMAIN_BLOCK_JOB_TYPE_UNKNOWNtVIR_DOMAIN_BLOCK_JOB_TYPE_PULLtVIR_DOMAIN_BLOCK_JOB_TYPE_COPYt VIR_DOMAIN_BLOCK_JOB_TYPE_COMMITt'VIR_DOMAIN_BLOCK_JOB_TYPE_ACTIVE_COMMITt%VIR_DOMAIN_BLOCK_PULL_BANDWIDTH_BYTEStVIR_DOMAIN_BLOCK_REBASE_SHALLOWt!VIR_DOMAIN_BLOCK_REBASE_REUSE_EXTt VIR_DOMAIN_BLOCK_REBASE_COPY_RAWtVIR_DOMAIN_BLOCK_REBASE_COPYt VIR_DOMAIN_BLOCK_REBASE_RELATIVEt VIR_DOMAIN_BLOCK_REBASE_COPY_DEVt'VIR_DOMAIN_BLOCK_REBASE_BANDWIDTH_BYTEStVIR_DOMAIN_BLOCK_RESIZE_BYTEStVIR_DOMAIN_BLOCKED_UNKNOWNtVIR_DOMAIN_CHANNEL_FORCEtVIR_DOMAIN_CONSOLE_FORCEtVIR_DOMAIN_CONSOLE_SAFEt$VIR_DOMAIN_CONTROL_ERROR_REASON_NONEt'VIR_DOMAIN_CONTROL_ERROR_REASON_UNKNOWNt'VIR_DOMAIN_CONTROL_ERROR_REASON_MONITORt(VIR_DOMAIN_CONTROL_ERROR_REASON_INTERNALtVIR_DOMAIN_CONTROL_OKtVIR_DOMAIN_CONTROL_JOBtVIR_DOMAIN_CONTROL_OCCUPIEDtVIR_DOMAIN_CONTROL_ERRORtVIR_DUMP_CRASHt
VIR_DUMP_LIVEtVIR_DUMP_BYPASS_CACHEtVIR_DUMP_RESETtVIR_DUMP_MEMORY_ONLYtVIR_DOMAIN_CORE_DUMP_FORMAT_RAWt&VIR_DOMAIN_CORE_DUMP_FORMAT_KDUMP_ZLIBt%VIR_DOMAIN_CORE_DUMP_FORMAT_KDUMP_LZOt(VIR_DOMAIN_CORE_DUMP_FORMAT_KDUMP_SNAPPYtVIR_DOMAIN_CRASHED_UNKNOWNtVIR_DOMAIN_CRASHED_PANICKEDtVIR_DOMAIN_NONEtVIR_DOMAIN_START_PAUSEDtVIR_DOMAIN_START_AUTODESTROYtVIR_DOMAIN_START_BYPASS_CACHEtVIR_DOMAIN_START_FORCE_BOOTtVIR_DOMAIN_START_VALIDATEtVIR_DOMAIN_DEFINE_VALIDATEtVIR_DOMAIN_DESTROY_DEFAULTtVIR_DOMAIN_DESTROY_GRACEFULt VIR_DOMAIN_DEVICE_MODIFY_CURRENTtVIR_DOMAIN_DEVICE_MODIFY_LIVEtVIR_DOMAIN_DEVICE_MODIFY_CONFIGtVIR_DOMAIN_DEVICE_MODIFY_FORCEtVIR_DOMAIN_DISK_ERROR_NONEtVIR_DOMAIN_DISK_ERROR_UNSPECtVIR_DOMAIN_DISK_ERROR_NO_SPACEt!VIR_DOMAIN_EVENT_CRASHED_PANICKEDtVIR_DOMAIN_EVENT_DEFINED_ADDEDt VIR_DOMAIN_EVENT_DEFINED_UPDATEDt VIR_DOMAIN_EVENT_DEFINED_RENAMEDt&VIR_DOMAIN_EVENT_DEFINED_FROM_SNAPSHOTt&VIR_DOMAIN_EVENT_GRAPHICS_ADDRESS_IPV4t&VIR_DOMAIN_EVENT_GRAPHICS_ADDRESS_IPV6t&VIR_DOMAIN_EVENT_GRAPHICS_ADDRESS_UNIXt!VIR_DOMAIN_EVENT_GRAPHICS_CONNECTt$VIR_DOMAIN_EVENT_GRAPHICS_INITIALIZEt$VIR_DOMAIN_EVENT_GRAPHICS_DISCONNECTtVIR_DOMAIN_EVENT_ID_LIFECYCLEtVIR_DOMAIN_EVENT_ID_REBOOTtVIR_DOMAIN_EVENT_ID_RTC_CHANGEtVIR_DOMAIN_EVENT_ID_WATCHDOGtVIR_DOMAIN_EVENT_ID_IO_ERRORtVIR_DOMAIN_EVENT_ID_GRAPHICSt#VIR_DOMAIN_EVENT_ID_IO_ERROR_REASONt!VIR_DOMAIN_EVENT_ID_CONTROL_ERRORtVIR_DOMAIN_EVENT_ID_BLOCK_JOBtVIR_DOMAIN_EVENT_ID_DISK_CHANGEtVIR_DOMAIN_EVENT_ID_TRAY_CHANGEtVIR_DOMAIN_EVENT_ID_PMWAKEUPtVIR_DOMAIN_EVENT_ID_PMSUSPENDt"VIR_DOMAIN_EVENT_ID_BALLOON_CHANGEt"VIR_DOMAIN_EVENT_ID_PMSUSPEND_DISKt"VIR_DOMAIN_EVENT_ID_DEVICE_REMOVEDtVIR_DOMAIN_EVENT_ID_BLOCK_JOB_2tVIR_DOMAIN_EVENT_ID_TUNABLEt#VIR_DOMAIN_EVENT_ID_AGENT_LIFECYCLEt VIR_DOMAIN_EVENT_ID_DEVICE_ADDEDt'VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATIONt!VIR_DOMAIN_EVENT_ID_JOB_COMPLETEDt)VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILEDt#VIR_DOMAIN_EVENT_ID_METADATA_CHANGEt#VIR_DOMAIN_EVENT_ID_BLOCK_THRESHOLDtVIR_DOMAIN_EVENT_IO_ERROR_NONEtVIR_DOMAIN_EVENT_IO_ERROR_PAUSEt VIR_DOMAIN_EVENT_IO_ERROR_REPORTt#VIR_DOMAIN_EVENT_PMSUSPENDED_MEMORYt!VIR_DOMAIN_EVENT_PMSUSPENDED_DISKt!VIR_DOMAIN_EVENT_RESUMED_UNPAUSEDt!VIR_DOMAIN_EVENT_RESUMED_MIGRATEDt&VIR_DOMAIN_EVENT_RESUMED_FROM_SNAPSHOTt!VIR_DOMAIN_EVENT_RESUMED_POSTCOPYt"VIR_DOMAIN_EVENT_SHUTDOWN_FINISHEDtVIR_DOMAIN_EVENT_SHUTDOWN_GUESTtVIR_DOMAIN_EVENT_SHUTDOWN_HOSTtVIR_DOMAIN_EVENT_STARTED_BOOTEDt!VIR_DOMAIN_EVENT_STARTED_MIGRATEDt!VIR_DOMAIN_EVENT_STARTED_RESTOREDt&VIR_DOMAIN_EVENT_STARTED_FROM_SNAPSHOTtVIR_DOMAIN_EVENT_STARTED_WAKEUPt!VIR_DOMAIN_EVENT_STOPPED_SHUTDOWNt"VIR_DOMAIN_EVENT_STOPPED_DESTROYEDt VIR_DOMAIN_EVENT_STOPPED_CRASHEDt!VIR_DOMAIN_EVENT_STOPPED_MIGRATEDtVIR_DOMAIN_EVENT_STOPPED_SAVEDtVIR_DOMAIN_EVENT_STOPPED_FAILEDt&VIR_DOMAIN_EVENT_STOPPED_FROM_SNAPSHOTt!VIR_DOMAIN_EVENT_SUSPENDED_PAUSEDt#VIR_DOMAIN_EVENT_SUSPENDED_MIGRATEDt"VIR_DOMAIN_EVENT_SUSPENDED_IOERRORt#VIR_DOMAIN_EVENT_SUSPENDED_WATCHDOGt#VIR_DOMAIN_EVENT_SUSPENDED_RESTOREDt(VIR_DOMAIN_EVENT_SUSPENDED_FROM_SNAPSHOTt$VIR_DOMAIN_EVENT_SUSPENDED_API_ERRORt#VIR_DOMAIN_EVENT_SUSPENDED_POSTCOPYt*VIR_DOMAIN_EVENT_SUSPENDED_POSTCOPY_FAILEDt!VIR_DOMAIN_EVENT_TRAY_CHANGE_OPENt"VIR_DOMAIN_EVENT_TRAY_CHANGE_CLOSEtVIR_DOMAIN_EVENT_DEFINEDtVIR_DOMAIN_EVENT_UNDEFINEDtVIR_DOMAIN_EVENT_STARTEDtVIR_DOMAIN_EVENT_SUSPENDEDtVIR_DOMAIN_EVENT_RESUMEDtVIR_DOMAIN_EVENT_STOPPEDtVIR_DOMAIN_EVENT_SHUTDOWNtVIR_DOMAIN_EVENT_PMSUSPENDEDtVIR_DOMAIN_EVENT_CRASHEDt"VIR_DOMAIN_EVENT_UNDEFINED_REMOVEDt"VIR_DOMAIN_EVENT_UNDEFINED_RENAMEDtVIR_DOMAIN_EVENT_WATCHDOG_NONEtVIR_DOMAIN_EVENT_WATCHDOG_PAUSEtVIR_DOMAIN_EVENT_WATCHDOG_RESETt"VIR_DOMAIN_EVENT_WATCHDOG_POWEROFFt"VIR_DOMAIN_EVENT_WATCHDOG_SHUTDOWNtVIR_DOMAIN_EVENT_WATCHDOG_DEBUGt#VIR_DOMAIN_EVENT_WATCHDOG_INJECTNMItVIR_DOMAIN_JOB_STATS_COMPLETEDt(VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_LEASEt(VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_AGENTt&VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_ARPt VIR_DOMAIN_JOB_OPERATION_UNKNOWNtVIR_DOMAIN_JOB_OPERATION_STARTtVIR_DOMAIN_JOB_OPERATION_SAVEt VIR_DOMAIN_JOB_OPERATION_RESTOREt%VIR_DOMAIN_JOB_OPERATION_MIGRATION_INt&VIR_DOMAIN_JOB_OPERATION_MIGRATION_OUTt!VIR_DOMAIN_JOB_OPERATION_SNAPSHOTt(VIR_DOMAIN_JOB_OPERATION_SNAPSHOT_REVERTtVIR_DOMAIN_JOB_OPERATION_DUMPtVIR_DOMAIN_JOB_NONEtVIR_DOMAIN_JOB_BOUNDEDtVIR_DOMAIN_JOB_UNBOUNDEDtVIR_DOMAIN_JOB_COMPLETEDtVIR_DOMAIN_JOB_FAILEDtVIR_DOMAIN_JOB_CANCELLEDtVIR_DOMAIN_LIFECYCLE_POWEROFFtVIR_DOMAIN_LIFECYCLE_REBOOTtVIR_DOMAIN_LIFECYCLE_CRASHt#VIR_DOMAIN_LIFECYCLE_ACTION_DESTROYt#VIR_DOMAIN_LIFECYCLE_ACTION_RESTARTt*VIR_DOMAIN_LIFECYCLE_ACTION_RESTART_RENAMEt$VIR_DOMAIN_LIFECYCLE_ACTION_PRESERVEt,VIR_DOMAIN_LIFECYCLE_ACTION_COREDUMP_DESTROYt,VIR_DOMAIN_LIFECYCLE_ACTION_COREDUMP_RESTARTtVIR_MEMORY_VIRTUALtVIR_MEMORY_PHYSICALtVIR_DOMAIN_MEM_CURRENTtVIR_DOMAIN_MEM_LIVEtVIR_DOMAIN_MEM_CONFIGtVIR_DOMAIN_MEM_MAXIMUMtVIR_DOMAIN_MEMORY_STAT_SWAP_INtVIR_DOMAIN_MEMORY_STAT_SWAP_OUTt"VIR_DOMAIN_MEMORY_STAT_MAJOR_FAULTt"VIR_DOMAIN_MEMORY_STAT_MINOR_FAULTtVIR_DOMAIN_MEMORY_STAT_UNUSEDt VIR_DOMAIN_MEMORY_STAT_AVAILABLEt%VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOONtVIR_DOMAIN_MEMORY_STAT_RSStVIR_DOMAIN_MEMORY_STAT_USABLEt"VIR_DOMAIN_MEMORY_STAT_LAST_UPDATEtVIR_DOMAIN_MEMORY_STAT_LASTtVIR_DOMAIN_MEMORY_STAT_NRtVIR_DOMAIN_METADATA_DESCRIPTIONtVIR_DOMAIN_METADATA_TITLEtVIR_DOMAIN_METADATA_ELEMENTtVIR_MIGRATE_LIVEtVIR_MIGRATE_PEER2PEERtVIR_MIGRATE_TUNNELLEDtVIR_MIGRATE_PERSIST_DESTtVIR_MIGRATE_UNDEFINE_SOURCEtVIR_MIGRATE_PAUSEDtVIR_MIGRATE_NON_SHARED_DISKtVIR_MIGRATE_NON_SHARED_INCtVIR_MIGRATE_CHANGE_PROTECTIONtVIR_MIGRATE_UNSAFEtVIR_MIGRATE_OFFLINEtVIR_MIGRATE_COMPRESSEDtVIR_MIGRATE_ABORT_ON_ERRORtVIR_MIGRATE_AUTO_CONVERGEtVIR_MIGRATE_RDMA_PIN_ALLtVIR_MIGRATE_POSTCOPYtVIR_MIGRATE_TLStVIR_DOMAIN_AFFECT_CURRENTtVIR_DOMAIN_AFFECT_LIVEtVIR_DOMAIN_AFFECT_CONFIGtVIR_DOMAIN_NOSTATE_UNKNOWNtVIR_DOMAIN_NUMATUNE_MEM_STRICTt!VIR_DOMAIN_NUMATUNE_MEM_PREFERREDt"VIR_DOMAIN_NUMATUNE_MEM_INTERLEAVEt!VIR_DOMAIN_OPEN_GRAPHICS_SKIPAUTHt#VIR_DOMAIN_PMSUSPENDED_DISK_UNKNOWNtVIR_DOMAIN_PMSUSPENDED_UNKNOWNtVIR_DOMAIN_PAUSED_UNKNOWNtVIR_DOMAIN_PAUSED_USERtVIR_DOMAIN_PAUSED_MIGRATIONtVIR_DOMAIN_PAUSED_SAVEtVIR_DOMAIN_PAUSED_DUMPtVIR_DOMAIN_PAUSED_IOERRORtVIR_DOMAIN_PAUSED_WATCHDOGtVIR_DOMAIN_PAUSED_FROM_SNAPSHOTtVIR_DOMAIN_PAUSED_SHUTTING_DOWNtVIR_DOMAIN_PAUSED_SNAPSHOTtVIR_DOMAIN_PAUSED_CRASHEDtVIR_DOMAIN_PAUSED_STARTING_UPtVIR_DOMAIN_PAUSED_POSTCOPYt!VIR_DOMAIN_PAUSED_POSTCOPY_FAILEDtVIR_DOMAIN_PROCESS_SIGNAL_NOPtVIR_DOMAIN_PROCESS_SIGNAL_HUPtVIR_DOMAIN_PROCESS_SIGNAL_INTtVIR_DOMAIN_PROCESS_SIGNAL_QUITtVIR_DOMAIN_PROCESS_SIGNAL_ILLtVIR_DOMAIN_PROCESS_SIGNAL_TRAPtVIR_DOMAIN_PROCESS_SIGNAL_ABRTtVIR_DOMAIN_PROCESS_SIGNAL_BUStVIR_DOMAIN_PROCESS_SIGNAL_FPEtVIR_DOMAIN_PROCESS_SIGNAL_KILLtVIR_DOMAIN_PROCESS_SIGNAL_USR1tVIR_DOMAIN_PROCESS_SIGNAL_SEGVtVIR_DOMAIN_PROCESS_SIGNAL_USR2tVIR_DOMAIN_PROCESS_SIGNAL_PIPEtVIR_DOMAIN_PROCESS_SIGNAL_ALRMtVIR_DOMAIN_PROCESS_SIGNAL_TERMt VIR_DOMAIN_PROCESS_SIGNAL_STKFLTtVIR_DOMAIN_PROCESS_SIGNAL_CHLDtVIR_DOMAIN_PROCESS_SIGNAL_CONTtVIR_DOMAIN_PROCESS_SIGNAL_STOPtVIR_DOMAIN_PROCESS_SIGNAL_TSTPtVIR_DOMAIN_PROCESS_SIGNAL_TTINtVIR_DOMAIN_PROCESS_SIGNAL_TTOUtVIR_DOMAIN_PROCESS_SIGNAL_URGtVIR_DOMAIN_PROCESS_SIGNAL_XCPUtVIR_DOMAIN_PROCESS_SIGNAL_XFSZt VIR_DOMAIN_PROCESS_SIGNAL_VTALRMtVIR_DOMAIN_PROCESS_SIGNAL_PROFtVIR_DOMAIN_PROCESS_SIGNAL_WINCHtVIR_DOMAIN_PROCESS_SIGNAL_POLLtVIR_DOMAIN_PROCESS_SIGNAL_PWRtVIR_DOMAIN_PROCESS_SIGNAL_SYStVIR_DOMAIN_PROCESS_SIGNAL_RT0tVIR_DOMAIN_PROCESS_SIGNAL_RT1tVIR_DOMAIN_PROCESS_SIGNAL_RT2tVIR_DOMAIN_PROCESS_SIGNAL_RT3tVIR_DOMAIN_PROCESS_SIGNAL_RT4tVIR_DOMAIN_PROCESS_SIGNAL_RT5tVIR_DOMAIN_PROCESS_SIGNAL_RT6tVIR_DOMAIN_PROCESS_SIGNAL_RT7tVIR_DOMAIN_PROCESS_SIGNAL_RT8tVIR_DOMAIN_PROCESS_SIGNAL_RT9tVIR_DOMAIN_PROCESS_SIGNAL_RT10tVIR_DOMAIN_PROCESS_SIGNAL_RT11tVIR_DOMAIN_PROCESS_SIGNAL_RT12tVIR_DOMAIN_PROCESS_SIGNAL_RT13tVIR_DOMAIN_PROCESS_SIGNAL_RT14tVIR_DOMAIN_PROCESS_SIGNAL_RT15tVIR_DOMAIN_PROCESS_SIGNAL_RT16tVIR_DOMAIN_PROCESS_SIGNAL_RT17tVIR_DOMAIN_PROCESS_SIGNAL_RT18tVIR_DOMAIN_PROCESS_SIGNAL_RT19tVIR_DOMAIN_PROCESS_SIGNAL_RT20tVIR_DOMAIN_PROCESS_SIGNAL_RT21tVIR_DOMAIN_PROCESS_SIGNAL_RT22tVIR_DOMAIN_PROCESS_SIGNAL_RT23tVIR_DOMAIN_PROCESS_SIGNAL_RT24tVIR_DOMAIN_PROCESS_SIGNAL_RT25tVIR_DOMAIN_PROCESS_SIGNAL_RT26tVIR_DOMAIN_PROCESS_SIGNAL_RT27tVIR_DOMAIN_PROCESS_SIGNAL_RT28tVIR_DOMAIN_PROCESS_SIGNAL_RT29tVIR_DOMAIN_PROCESS_SIGNAL_RT30tVIR_DOMAIN_PROCESS_SIGNAL_RT31tVIR_DOMAIN_PROCESS_SIGNAL_RT32tVIR_DOMAIN_REBOOT_DEFAULTt VIR_DOMAIN_REBOOT_ACPI_POWER_BTNtVIR_DOMAIN_REBOOT_GUEST_AGENTtVIR_DOMAIN_REBOOT_INITCTLtVIR_DOMAIN_REBOOT_SIGNALtVIR_DOMAIN_REBOOT_PARAVIRTtVIR_DOMAIN_RUNNING_UNKNOWNtVIR_DOMAIN_RUNNING_BOOTEDtVIR_DOMAIN_RUNNING_MIGRATEDtVIR_DOMAIN_RUNNING_RESTOREDt VIR_DOMAIN_RUNNING_FROM_SNAPSHOTtVIR_DOMAIN_RUNNING_UNPAUSEDt%VIR_DOMAIN_RUNNING_MIGRATION_CANCELEDt VIR_DOMAIN_RUNNING_SAVE_CANCELEDtVIR_DOMAIN_RUNNING_WAKEUPtVIR_DOMAIN_RUNNING_CRASHEDtVIR_DOMAIN_RUNNING_POSTCOPYtVIR_DOMAIN_SAVE_BYPASS_CACHEtVIR_DOMAIN_SAVE_RUNNINGtVIR_DOMAIN_SAVE_PAUSEDtVIR_DOMAIN_TIME_SYNCtVIR_DOMAIN_PASSWORD_ENCRYPTEDtVIR_DOMAIN_SHUTDOWN_DEFAULTt"VIR_DOMAIN_SHUTDOWN_ACPI_POWER_BTNtVIR_DOMAIN_SHUTDOWN_GUEST_AGENTtVIR_DOMAIN_SHUTDOWN_INITCTLtVIR_DOMAIN_SHUTDOWN_SIGNALtVIR_DOMAIN_SHUTDOWN_PARAVIRTtVIR_DOMAIN_SHUTDOWN_UNKNOWNtVIR_DOMAIN_SHUTDOWN_USERtVIR_DOMAIN_SHUTOFF_UNKNOWNtVIR_DOMAIN_SHUTOFF_SHUTDOWNtVIR_DOMAIN_SHUTOFF_DESTROYEDtVIR_DOMAIN_SHUTOFF_CRASHEDtVIR_DOMAIN_SHUTOFF_MIGRATEDtVIR_DOMAIN_SHUTOFF_SAVEDtVIR_DOMAIN_SHUTOFF_FAILEDt VIR_DOMAIN_SHUTOFF_FROM_SNAPSHOTt#VIR_DOMAIN_SNAPSHOT_CREATE_REDEFINEt"VIR_DOMAIN_SNAPSHOT_CREATE_CURRENTt&VIR_DOMAIN_SNAPSHOT_CREATE_NO_METADATAtVIR_DOMAIN_SNAPSHOT_CREATE_HALTt$VIR_DOMAIN_SNAPSHOT_CREATE_DISK_ONLYt$VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXTt"VIR_DOMAIN_SNAPSHOT_CREATE_QUIESCEt!VIR_DOMAIN_SNAPSHOT_CREATE_ATOMICtVIR_DOMAIN_SNAPSHOT_CREATE_LIVEt#VIR_DOMAIN_SNAPSHOT_DELETE_CHILDRENt(VIR_DOMAIN_SNAPSHOT_DELETE_METADATA_ONLYt(VIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN_ONLYt$VIR_DOMAIN_SNAPSHOT_LIST_DESCENDANTStVIR_DOMAIN_SNAPSHOT_LIST_ROOTSt!VIR_DOMAIN_SNAPSHOT_LIST_METADATAtVIR_DOMAIN_SNAPSHOT_LIST_LEAVESt"VIR_DOMAIN_SNAPSHOT_LIST_NO_LEAVESt$VIR_DOMAIN_SNAPSHOT_LIST_NO_METADATAt!VIR_DOMAIN_SNAPSHOT_LIST_INACTIVEtVIR_DOMAIN_SNAPSHOT_LIST_ACTIVEt"VIR_DOMAIN_SNAPSHOT_LIST_DISK_ONLYt!VIR_DOMAIN_SNAPSHOT_LIST_INTERNALt!VIR_DOMAIN_SNAPSHOT_LIST_EXTERNALt"VIR_DOMAIN_SNAPSHOT_REVERT_RUNNINGt!VIR_DOMAIN_SNAPSHOT_REVERT_PAUSEDt VIR_DOMAIN_SNAPSHOT_REVERT_FORCEtVIR_DOMAIN_NOSTATEtVIR_DOMAIN_RUNNINGtVIR_DOMAIN_BLOCKEDtVIR_DOMAIN_PAUSEDtVIR_DOMAIN_SHUTDOWNtVIR_DOMAIN_SHUTOFFtVIR_DOMAIN_CRASHEDtVIR_DOMAIN_PMSUSPENDEDtVIR_DOMAIN_STATS_STATEtVIR_DOMAIN_STATS_CPU_TOTALtVIR_DOMAIN_STATS_BALLOONtVIR_DOMAIN_STATS_VCPUtVIR_DOMAIN_STATS_INTERFACEtVIR_DOMAIN_STATS_BLOCKtVIR_DOMAIN_STATS_PERFt VIR_DOMAIN_UNDEFINE_MANAGED_SAVEt&VIR_DOMAIN_UNDEFINE_SNAPSHOTS_METADATAtVIR_DOMAIN_UNDEFINE_NVRAMtVIR_DOMAIN_UNDEFINE_KEEP_NVRAMtVIR_DOMAIN_VCPU_CURRENTtVIR_DOMAIN_VCPU_LIVEtVIR_DOMAIN_VCPU_CONFIGtVIR_DOMAIN_VCPU_MAXIMUMtVIR_DOMAIN_VCPU_GUESTtVIR_DOMAIN_VCPU_HOTPLUGGABLEtVIR_DOMAIN_XML_SECUREtVIR_DOMAIN_XML_INACTIVEtVIR_DOMAIN_XML_UPDATE_CPUtVIR_DOMAIN_XML_MIGRATABLEt
VIR_FROM_NONEtVIR_FROM_XENt
VIR_FROM_XENDtVIR_FROM_XENSTOREtVIR_FROM_SEXPRtVIR_FROM_XMLtVIR_FROM_DOMtVIR_FROM_RPCtVIR_FROM_PROXYt
VIR_FROM_CONFt
VIR_FROM_QEMUtVIR_FROM_NETt
VIR_FROM_TESTtVIR_FROM_REMOTEtVIR_FROM_OPENVZtVIR_FROM_XENXMtVIR_FROM_STATS_LINUXtVIR_FROM_LXCtVIR_FROM_STORAGEtVIR_FROM_NETWORKtVIR_FROM_DOMAINtVIR_FROM_UMLtVIR_FROM_NODEDEVtVIR_FROM_XEN_INOTIFYtVIR_FROM_SECURITYt
VIR_FROM_VBOXtVIR_FROM_INTERFACEtVIR_FROM_ONEtVIR_FROM_ESXt
VIR_FROM_PHYPtVIR_FROM_SECRETtVIR_FROM_CPUtVIR_FROM_XENAPItVIR_FROM_NWFILTERt
VIR_FROM_HOOKtVIR_FROM_DOMAIN_SNAPSHOTtVIR_FROM_AUDITtVIR_FROM_SYSINFOtVIR_FROM_STREAMStVIR_FROM_VMWAREtVIR_FROM_EVENTtVIR_FROM_LIBXLtVIR_FROM_LOCKINGtVIR_FROM_HYPERVtVIR_FROM_CAPABILITIEStVIR_FROM_URIt
VIR_FROM_AUTHt
VIR_FROM_DBUStVIR_FROM_PARALLELStVIR_FROM_DEVICEtVIR_FROM_SSHtVIR_FROM_LOCKSPACEtVIR_FROM_INITCTLtVIR_FROM_IDENTITYtVIR_FROM_CGROUPtVIR_FROM_ACCESStVIR_FROM_SYSTEMDtVIR_FROM_BHYVEtVIR_FROM_CRYPTOtVIR_FROM_FIREWALLtVIR_FROM_POLKITtVIR_FROM_THREADtVIR_FROM_ADMINtVIR_FROM_LOGGINGtVIR_FROM_XENXLt
VIR_FROM_PERFtVIR_FROM_LIBSSHtVIR_FROM_RESCTRLtVIR_ERR_NONEtVIR_ERR_WARNINGt
VIR_ERR_ERRORt
VIR_ERR_OKtVIR_ERR_INTERNAL_ERRORtVIR_ERR_NO_MEMORYtVIR_ERR_NO_SUPPORTtVIR_ERR_UNKNOWN_HOSTtVIR_ERR_NO_CONNECTtVIR_ERR_INVALID_CONNtVIR_ERR_INVALID_DOMAINtVIR_ERR_INVALID_ARGtVIR_ERR_OPERATION_FAILEDtVIR_ERR_GET_FAILEDtVIR_ERR_POST_FAILEDtVIR_ERR_HTTP_ERRORtVIR_ERR_SEXPR_SERIALtVIR_ERR_NO_XENtVIR_ERR_XEN_CALLtVIR_ERR_OS_TYPEtVIR_ERR_NO_KERNELtVIR_ERR_NO_ROOTtVIR_ERR_NO_SOURCEtVIR_ERR_NO_TARGETtVIR_ERR_NO_NAMEt
VIR_ERR_NO_OStVIR_ERR_NO_DEVICEtVIR_ERR_NO_XENSTOREtVIR_ERR_DRIVER_FULLtVIR_ERR_CALL_FAILEDtVIR_ERR_XML_ERRORtVIR_ERR_DOM_EXISTtVIR_ERR_OPERATION_DENIEDtVIR_ERR_OPEN_FAILEDtVIR_ERR_READ_FAILEDtVIR_ERR_PARSE_FAILEDtVIR_ERR_CONF_SYNTAXtVIR_ERR_WRITE_FAILEDtVIR_ERR_XML_DETAILtVIR_ERR_INVALID_NETWORKtVIR_ERR_NETWORK_EXISTtVIR_ERR_SYSTEM_ERRORtVIR_ERR_RPCtVIR_ERR_GNUTLS_ERRORtVIR_WAR_NO_NETWORKtVIR_ERR_NO_DOMAINtVIR_ERR_NO_NETWORKtVIR_ERR_INVALID_MACtVIR_ERR_AUTH_FAILEDtVIR_ERR_INVALID_STORAGE_POOLtVIR_ERR_INVALID_STORAGE_VOLtVIR_WAR_NO_STORAGEtVIR_ERR_NO_STORAGE_POOLtVIR_ERR_NO_STORAGE_VOLtVIR_WAR_NO_NODEtVIR_ERR_INVALID_NODE_DEVICEtVIR_ERR_NO_NODE_DEVICEtVIR_ERR_NO_SECURITY_MODELtVIR_ERR_OPERATION_INVALIDtVIR_WAR_NO_INTERFACEtVIR_ERR_NO_INTERFACEtVIR_ERR_INVALID_INTERFACEtVIR_ERR_MULTIPLE_INTERFACEStVIR_WAR_NO_NWFILTERtVIR_ERR_INVALID_NWFILTERtVIR_ERR_NO_NWFILTERtVIR_ERR_BUILD_FIREWALLtVIR_WAR_NO_SECRETtVIR_ERR_INVALID_SECRETtVIR_ERR_NO_SECRETtVIR_ERR_CONFIG_UNSUPPORTEDtVIR_ERR_OPERATION_TIMEOUTtVIR_ERR_MIGRATE_PERSIST_FAILEDtVIR_ERR_HOOK_SCRIPT_FAILEDtVIR_ERR_INVALID_DOMAIN_SNAPSHOTtVIR_ERR_NO_DOMAIN_SNAPSHOTtVIR_ERR_INVALID_STREAMtVIR_ERR_ARGUMENT_UNSUPPORTEDtVIR_ERR_STORAGE_PROBE_FAILEDtVIR_ERR_STORAGE_POOL_BUILTtVIR_ERR_SNAPSHOT_REVERT_RISKYtVIR_ERR_OPERATION_ABORTEDtVIR_ERR_AUTH_CANCELLEDtVIR_ERR_NO_DOMAIN_METADATAtVIR_ERR_MIGRATE_UNSAFEtVIR_ERR_OVERFLOWtVIR_ERR_BLOCK_COPY_ACTIVEtVIR_ERR_OPERATION_UNSUPPORTEDtVIR_ERR_SSHtVIR_ERR_AGENT_UNRESPONSIVEtVIR_ERR_RESOURCE_BUSYtVIR_ERR_ACCESS_DENIEDtVIR_ERR_DBUS_SERVICEtVIR_ERR_STORAGE_VOL_EXISTtVIR_ERR_CPU_INCOMPATIBLEtVIR_ERR_XML_INVALID_SCHEMAtVIR_ERR_MIGRATE_FINISH_OKtVIR_ERR_AUTH_UNAVAILABLEtVIR_ERR_NO_SERVERtVIR_ERR_NO_CLIENTtVIR_ERR_AGENT_UNSYNCEDtVIR_ERR_LIBSSHtVIR_ERR_DEVICE_MISSINGt VIR_ERR_INVALID_NWFILTER_BINDINGtVIR_ERR_NO_NWFILTER_BINDINGtVIR_EVENT_HANDLE_READABLEtVIR_EVENT_HANDLE_WRITABLEtVIR_EVENT_HANDLE_ERRORtVIR_EVENT_HANDLE_HANGUPtVIR_IP_ADDR_TYPE_IPV4tVIR_IP_ADDR_TYPE_IPV6tVIR_INTERFACE_XML_INACTIVEtVIR_KEYCODE_SET_LINUXtVIR_KEYCODE_SET_XTtVIR_KEYCODE_SET_ATSET1tVIR_KEYCODE_SET_ATSET2tVIR_KEYCODE_SET_ATSET3tVIR_KEYCODE_SET_OSXtVIR_KEYCODE_SET_XT_KBDtVIR_KEYCODE_SET_USBtVIR_KEYCODE_SET_WIN32tVIR_KEYCODE_SET_QNUMtVIR_DOMAIN_MEMORY_PARAM_INTtVIR_DOMAIN_MEMORY_PARAM_UINTtVIR_DOMAIN_MEMORY_PARAM_LLONGtVIR_DOMAIN_MEMORY_PARAM_ULLONGtVIR_DOMAIN_MEMORY_PARAM_DOUBLEtVIR_DOMAIN_MEMORY_PARAM_BOOLEANtVIR_NETWORK_EVENT_ID_LIFECYCLEtVIR_NETWORK_EVENT_DEFINEDtVIR_NETWORK_EVENT_UNDEFINEDtVIR_NETWORK_EVENT_STARTEDtVIR_NETWORK_EVENT_STOPPEDtVIR_NETWORK_UPDATE_COMMAND_NONEt!VIR_NETWORK_UPDATE_COMMAND_MODIFYt!VIR_NETWORK_UPDATE_COMMAND_DELETEt#VIR_NETWORK_UPDATE_COMMAND_ADD_LASTt$VIR_NETWORK_UPDATE_COMMAND_ADD_FIRSTt!VIR_NETWORK_UPDATE_AFFECT_CURRENTtVIR_NETWORK_UPDATE_AFFECT_LIVEt VIR_NETWORK_UPDATE_AFFECT_CONFIGtVIR_NETWORK_SECTION_NONEtVIR_NETWORK_SECTION_BRIDGEtVIR_NETWORK_SECTION_DOMAINtVIR_NETWORK_SECTION_IPt VIR_NETWORK_SECTION_IP_DHCP_HOSTt!VIR_NETWORK_SECTION_IP_DHCP_RANGEtVIR_NETWORK_SECTION_FORWARDt%VIR_NETWORK_SECTION_FORWARD_INTERFACEtVIR_NETWORK_SECTION_FORWARD_PFtVIR_NETWORK_SECTION_PORTGROUPtVIR_NETWORK_SECTION_DNS_HOSTtVIR_NETWORK_SECTION_DNS_TXTtVIR_NETWORK_SECTION_DNS_SRVtVIR_NETWORK_XML_INACTIVEtVIR_NODE_ALLOC_PAGES_ADDtVIR_NODE_ALLOC_PAGES_SETt"VIR_NODE_DEVICE_EVENT_ID_LIFECYCLEtVIR_NODE_DEVICE_EVENT_ID_UPDATEtVIR_NODE_DEVICE_EVENT_CREATEDtVIR_NODE_DEVICE_EVENT_DELETEDtVIR_NODE_CPU_STATS_ALL_CPUStVIR_NODE_MEMORY_STATS_ALL_CELLStVIR_NODE_SUSPEND_TARGET_MEMtVIR_NODE_SUSPEND_TARGET_DISKtVIR_NODE_SUSPEND_TARGET_HYBRIDtVIR_DOMAIN_SCHED_FIELD_INTtVIR_DOMAIN_SCHED_FIELD_UINTtVIR_DOMAIN_SCHED_FIELD_LLONGtVIR_DOMAIN_SCHED_FIELD_ULLONGtVIR_DOMAIN_SCHED_FIELD_DOUBLEtVIR_DOMAIN_SCHED_FIELD_BOOLEANtVIR_SECRET_EVENT_ID_LIFECYCLEt!VIR_SECRET_EVENT_ID_VALUE_CHANGEDtVIR_SECRET_EVENT_DEFINEDtVIR_SECRET_EVENT_UNDEFINEDtVIR_SECRET_USAGE_TYPE_NONEtVIR_SECRET_USAGE_TYPE_VOLUMEtVIR_SECRET_USAGE_TYPE_CEPHtVIR_SECRET_USAGE_TYPE_ISCSItVIR_SECRET_USAGE_TYPE_TLStVIR_STORAGE_POOL_BUILD_NEWtVIR_STORAGE_POOL_BUILD_REPAIRtVIR_STORAGE_POOL_BUILD_RESIZEt#VIR_STORAGE_POOL_BUILD_NO_OVERWRITEt VIR_STORAGE_POOL_BUILD_OVERWRITEtVIR_STORAGE_POOL_CREATE_NORMALt"VIR_STORAGE_POOL_CREATE_WITH_BUILDt,VIR_STORAGE_POOL_CREATE_WITH_BUILD_OVERWRITEt/VIR_STORAGE_POOL_CREATE_WITH_BUILD_NO_OVERWRITEtVIR_STORAGE_POOL_DELETE_NORMALtVIR_STORAGE_POOL_DELETE_ZEROEDt#VIR_STORAGE_POOL_EVENT_ID_LIFECYCLEt!VIR_STORAGE_POOL_EVENT_ID_REFRESHtVIR_STORAGE_POOL_EVENT_DEFINEDt VIR_STORAGE_POOL_EVENT_UNDEFINEDtVIR_STORAGE_POOL_EVENT_STARTEDtVIR_STORAGE_POOL_EVENT_STOPPEDtVIR_STORAGE_POOL_EVENT_CREATEDtVIR_STORAGE_POOL_EVENT_DELETEDtVIR_STORAGE_POOL_INACTIVEtVIR_STORAGE_POOL_BUILDINGtVIR_STORAGE_POOL_RUNNINGtVIR_STORAGE_POOL_DEGRADEDtVIR_STORAGE_POOL_INACCESSIBLEt(VIR_STORAGE_VOL_CREATE_PREALLOC_METADATAtVIR_STORAGE_VOL_CREATE_REFLINKtVIR_STORAGE_VOL_DELETE_NORMALtVIR_STORAGE_VOL_DELETE_ZEROEDt%VIR_STORAGE_VOL_DELETE_WITH_SNAPSHOTSt&VIR_STORAGE_VOL_DOWNLOAD_SPARSE_STREAMtVIR_STORAGE_VOL_USE_ALLOCATIONtVIR_STORAGE_VOL_GET_PHYSICALtVIR_STORAGE_VOL_RESIZE_ALLOCATEtVIR_STORAGE_VOL_RESIZE_DELTAtVIR_STORAGE_VOL_RESIZE_SHRINKtVIR_STORAGE_VOL_FILEtVIR_STORAGE_VOL_BLOCKtVIR_STORAGE_VOL_DIRtVIR_STORAGE_VOL_NETWORKtVIR_STORAGE_VOL_NETDIRtVIR_STORAGE_VOL_PLOOPt$VIR_STORAGE_VOL_UPLOAD_SPARSE_STREAMtVIR_STORAGE_VOL_WIPE_ALG_ZEROtVIR_STORAGE_VOL_WIPE_ALG_NNSAtVIR_STORAGE_VOL_WIPE_ALG_DODtVIR_STORAGE_VOL_WIPE_ALG_BSIt VIR_STORAGE_VOL_WIPE_ALG_GUTMANNt!VIR_STORAGE_VOL_WIPE_ALG_SCHNEIERt"VIR_STORAGE_VOL_WIPE_ALG_PFITZNER7t#VIR_STORAGE_VOL_WIPE_ALG_PFITZNER33tVIR_STORAGE_VOL_WIPE_ALG_RANDOMtVIR_STORAGE_VOL_WIPE_ALG_TRIMtVIR_STORAGE_XML_INACTIVEtVIR_STREAM_EVENT_READABLEtVIR_STREAM_EVENT_WRITABLEtVIR_STREAM_EVENT_ERRORtVIR_STREAM_EVENT_HANGUPtVIR_STREAM_NONBLOCKR�tVIR_TYPED_PARAM_STRING_OKAYtVIR_TYPED_PARAM_INTtVIR_TYPED_PARAM_UINTtVIR_TYPED_PARAM_LLONGtVIR_TYPED_PARAM_ULLONGtVIR_TYPED_PARAM_DOUBLEtVIR_TYPED_PARAM_BOOLEANtVIR_TYPED_PARAM_STRINGtVIR_VCPU_OFFLINEtVIR_VCPU_RUNNINGtVIR_VCPU_BLOCKEDtVIR_DOMAIN_BANDWIDTH_IN_AVERAGEtVIR_DOMAIN_BANDWIDTH_IN_BURSTtVIR_DOMAIN_BANDWIDTH_IN_FLOORtVIR_DOMAIN_BANDWIDTH_IN_PEAKt VIR_DOMAIN_BANDWIDTH_OUT_AVERAGEtVIR_DOMAIN_BANDWIDTH_OUT_BURSTtVIR_DOMAIN_BANDWIDTH_OUT_PEAKt VIR_DOMAIN_BLKIO_DEVICE_READ_BPSt!VIR_DOMAIN_BLKIO_DEVICE_READ_IOPStVIR_DOMAIN_BLKIO_DEVICE_WEIGHTt!VIR_DOMAIN_BLKIO_DEVICE_WRITE_BPSt"VIR_DOMAIN_BLKIO_DEVICE_WRITE_IOPStVIR_DOMAIN_BLKIO_WEIGHTtVIR_DOMAIN_BLOCK_COPY_BANDWIDTHtVIR_DOMAIN_BLOCK_COPY_BUF_SIZEt!VIR_DOMAIN_BLOCK_COPY_GRANULARITYt"VIR_DOMAIN_BLOCK_IOTUNE_GROUP_NAMEt&VIR_DOMAIN_BLOCK_IOTUNE_READ_BYTES_SECt*VIR_DOMAIN_BLOCK_IOTUNE_READ_BYTES_SEC_MAXt1VIR_DOMAIN_BLOCK_IOTUNE_READ_BYTES_SEC_MAX_LENGTHt%VIR_DOMAIN_BLOCK_IOTUNE_READ_IOPS_SECt)VIR_DOMAIN_BLOCK_IOTUNE_READ_IOPS_SEC_MAXt0VIR_DOMAIN_BLOCK_IOTUNE_READ_IOPS_SEC_MAX_LENGTHt%VIR_DOMAIN_BLOCK_IOTUNE_SIZE_IOPS_SECt'VIR_DOMAIN_BLOCK_IOTUNE_TOTAL_BYTES_SECt+VIR_DOMAIN_BLOCK_IOTUNE_TOTAL_BYTES_SEC_MAXt2VIR_DOMAIN_BLOCK_IOTUNE_TOTAL_BYTES_SEC_MAX_LENGTHt&VIR_DOMAIN_BLOCK_IOTUNE_TOTAL_IOPS_SECt*VIR_DOMAIN_BLOCK_IOTUNE_TOTAL_IOPS_SEC_MAXt1VIR_DOMAIN_BLOCK_IOTUNE_TOTAL_IOPS_SEC_MAX_LENGTHt'VIR_DOMAIN_BLOCK_IOTUNE_WRITE_BYTES_SECt+VIR_DOMAIN_BLOCK_IOTUNE_WRITE_BYTES_SEC_MAXt2VIR_DOMAIN_BLOCK_IOTUNE_WRITE_BYTES_SEC_MAX_LENGTHt&VIR_DOMAIN_BLOCK_IOTUNE_WRITE_IOPS_SECt*VIR_DOMAIN_BLOCK_IOTUNE_WRITE_IOPS_SEC_MAXt1VIR_DOMAIN_BLOCK_IOTUNE_WRITE_IOPS_SEC_MAX_LENGTHtVIR_DOMAIN_BLOCK_STATS_ERRSt VIR_DOMAIN_BLOCK_STATS_FLUSH_REQt(VIR_DOMAIN_BLOCK_STATS_FLUSH_TOTAL_TIMESt!VIR_DOMAIN_BLOCK_STATS_READ_BYTEStVIR_DOMAIN_BLOCK_STATS_READ_REQt'VIR_DOMAIN_BLOCK_STATS_READ_TOTAL_TIMESt"VIR_DOMAIN_BLOCK_STATS_WRITE_BYTESt VIR_DOMAIN_BLOCK_STATS_WRITE_REQt(VIR_DOMAIN_BLOCK_STATS_WRITE_TOTAL_TIMEStVIR_DOMAIN_CPU_STATS_CPUTIMEtVIR_DOMAIN_CPU_STATS_SYSTEMTIMEtVIR_DOMAIN_CPU_STATS_USERTIMEtVIR_DOMAIN_CPU_STATS_VCPUTIMEt%VIR_DOMAIN_JOB_AUTO_CONVERGE_THROTTLEt VIR_DOMAIN_JOB_COMPRESSION_BYTESt VIR_DOMAIN_JOB_COMPRESSION_CACHEt'VIR_DOMAIN_JOB_COMPRESSION_CACHE_MISSESt#VIR_DOMAIN_JOB_COMPRESSION_OVERFLOWt VIR_DOMAIN_JOB_COMPRESSION_PAGEStVIR_DOMAIN_JOB_DATA_PROCESSEDtVIR_DOMAIN_JOB_DATA_REMAININGtVIR_DOMAIN_JOB_DATA_TOTALtVIR_DOMAIN_JOB_DISK_BPStVIR_DOMAIN_JOB_DISK_PROCESSEDtVIR_DOMAIN_JOB_DISK_REMAININGtVIR_DOMAIN_JOB_DISK_TOTALtVIR_DOMAIN_JOB_DOWNTIMEtVIR_DOMAIN_JOB_DOWNTIME_NETtVIR_DOMAIN_JOB_MEMORY_BPStVIR_DOMAIN_JOB_MEMORY_CONSTANTt VIR_DOMAIN_JOB_MEMORY_DIRTY_RATEtVIR_DOMAIN_JOB_MEMORY_ITERATIONtVIR_DOMAIN_JOB_MEMORY_NORMALt"VIR_DOMAIN_JOB_MEMORY_NORMAL_BYTEStVIR_DOMAIN_JOB_MEMORY_PAGE_SIZEtVIR_DOMAIN_JOB_MEMORY_PROCESSEDtVIR_DOMAIN_JOB_MEMORY_REMAININGtVIR_DOMAIN_JOB_MEMORY_TOTALtVIR_DOMAIN_JOB_OPERATIONtVIR_DOMAIN_JOB_SETUP_TIMEtVIR_DOMAIN_JOB_TIME_ELAPSEDtVIR_DOMAIN_JOB_TIME_ELAPSED_NETtVIR_DOMAIN_JOB_TIME_REMAININGt*VIR_DOMAIN_LAUNCH_SECURITY_SEV_MEASUREMENTtVIR_DOMAIN_MEMORY_HARD_LIMITtVIR_DOMAIN_MEMORY_MIN_GUARANTEEtVIR_DOMAIN_MEMORY_SOFT_LIMITt!VIR_DOMAIN_MEMORY_SWAP_HARD_LIMITtVIR_DOMAIN_NUMA_MODEtVIR_DOMAIN_NUMA_NODESETtVIR_DOMAIN_SCHEDULER_CAPtVIR_DOMAIN_SCHEDULER_CPU_SHARESt$VIR_DOMAIN_SCHEDULER_EMULATOR_PERIODt#VIR_DOMAIN_SCHEDULER_EMULATOR_QUOTAt"VIR_DOMAIN_SCHEDULER_GLOBAL_PERIODt!VIR_DOMAIN_SCHEDULER_GLOBAL_QUOTAt$VIR_DOMAIN_SCHEDULER_IOTHREAD_PERIODt#VIR_DOMAIN_SCHEDULER_IOTHREAD_QUOTAtVIR_DOMAIN_SCHEDULER_LIMITt VIR_DOMAIN_SCHEDULER_RESERVATIONtVIR_DOMAIN_SCHEDULER_SHARESt VIR_DOMAIN_SCHEDULER_VCPU_PERIODtVIR_DOMAIN_SCHEDULER_VCPU_QUOTAtVIR_DOMAIN_SCHEDULER_WEIGHTtVIR_DOMAIN_TUNABLE_BLKDEV_DISKt$VIR_DOMAIN_TUNABLE_BLKDEV_GROUP_NAMEt(VIR_DOMAIN_TUNABLE_BLKDEV_READ_BYTES_SECt,VIR_DOMAIN_TUNABLE_BLKDEV_READ_BYTES_SEC_MAXt3VIR_DOMAIN_TUNABLE_BLKDEV_READ_BYTES_SEC_MAX_LENGTHt'VIR_DOMAIN_TUNABLE_BLKDEV_READ_IOPS_SECt+VIR_DOMAIN_TUNABLE_BLKDEV_READ_IOPS_SEC_MAXt2VIR_DOMAIN_TUNABLE_BLKDEV_READ_IOPS_SEC_MAX_LENGTHt'VIR_DOMAIN_TUNABLE_BLKDEV_SIZE_IOPS_SECt)VIR_DOMAIN_TUNABLE_BLKDEV_TOTAL_BYTES_SECt-VIR_DOMAIN_TUNABLE_BLKDEV_TOTAL_BYTES_SEC_MAXt4VIR_DOMAIN_TUNABLE_BLKDEV_TOTAL_BYTES_SEC_MAX_LENGTHt(VIR_DOMAIN_TUNABLE_BLKDEV_TOTAL_IOPS_SECt,VIR_DOMAIN_TUNABLE_BLKDEV_TOTAL_IOPS_SEC_MAXt3VIR_DOMAIN_TUNABLE_BLKDEV_TOTAL_IOPS_SEC_MAX_LENGTHt)VIR_DOMAIN_TUNABLE_BLKDEV_WRITE_BYTES_SECt-VIR_DOMAIN_TUNABLE_BLKDEV_WRITE_BYTES_SEC_MAXt4VIR_DOMAIN_TUNABLE_BLKDEV_WRITE_BYTES_SEC_MAX_LENGTHt(VIR_DOMAIN_TUNABLE_BLKDEV_WRITE_IOPS_SECt,VIR_DOMAIN_TUNABLE_BLKDEV_WRITE_IOPS_SEC_MAXt3VIR_DOMAIN_TUNABLE_BLKDEV_WRITE_IOPS_SEC_MAX_LENGTHt!VIR_DOMAIN_TUNABLE_CPU_CPU_SHARESt"VIR_DOMAIN_TUNABLE_CPU_EMULATORPINt&VIR_DOMAIN_TUNABLE_CPU_EMULATOR_PERIODt%VIR_DOMAIN_TUNABLE_CPU_EMULATOR_QUOTAt$VIR_DOMAIN_TUNABLE_CPU_GLOBAL_PERIODt#VIR_DOMAIN_TUNABLE_CPU_GLOBAL_QUOTAt#VIR_DOMAIN_TUNABLE_CPU_IOTHREADSPINt&VIR_DOMAIN_TUNABLE_CPU_IOTHREAD_PERIODt%VIR_DOMAIN_TUNABLE_CPU_IOTHREAD_QUOTAtVIR_DOMAIN_TUNABLE_CPU_VCPUPINt"VIR_DOMAIN_TUNABLE_CPU_VCPU_PERIODt!VIR_DOMAIN_TUNABLE_CPU_VCPU_QUOTAt)VIR_MIGRATE_PARAM_AUTO_CONVERGE_INCREMENTt'VIR_MIGRATE_PARAM_AUTO_CONVERGE_INITIALtVIR_MIGRATE_PARAM_BANDWIDTHtVIR_MIGRATE_PARAM_COMPRESSIONt)VIR_MIGRATE_PARAM_COMPRESSION_MT_DTHREADSt&VIR_MIGRATE_PARAM_COMPRESSION_MT_LEVELt(VIR_MIGRATE_PARAM_COMPRESSION_MT_THREADSt*VIR_MIGRATE_PARAM_COMPRESSION_XBZRLE_CACHEtVIR_MIGRATE_PARAM_DEST_NAMEtVIR_MIGRATE_PARAM_DEST_XMLtVIR_MIGRATE_PARAM_DISKS_PORTtVIR_MIGRATE_PARAM_GRAPHICS_URIt VIR_MIGRATE_PARAM_LISTEN_ADDRESStVIR_MIGRATE_PARAM_MIGRATE_DISKStVIR_MIGRATE_PARAM_PERSIST_XMLtVIR_MIGRATE_PARAM_URItVIR_NODE_CPU_STATS_IDLEtVIR_NODE_CPU_STATS_INTRtVIR_NODE_CPU_STATS_IOWAITtVIR_NODE_CPU_STATS_KERNELtVIR_NODE_CPU_STATS_USERtVIR_NODE_CPU_STATS_UTILIZATIONt!VIR_NODE_MEMORY_SHARED_FULL_SCANSt)VIR_NODE_MEMORY_SHARED_MERGE_ACROSS_NODESt#VIR_NODE_MEMORY_SHARED_PAGES_SHAREDt$VIR_NODE_MEMORY_SHARED_PAGES_SHARINGt$VIR_NODE_MEMORY_SHARED_PAGES_TO_SCANt%VIR_NODE_MEMORY_SHARED_PAGES_UNSHAREDt%VIR_NODE_MEMORY_SHARED_PAGES_VOLATILEt&VIR_NODE_MEMORY_SHARED_SLEEP_MILLISECStVIR_NODE_MEMORY_STATS_BUFFERStVIR_NODE_MEMORY_STATS_CACHEDtVIR_NODE_MEMORY_STATS_FREEtVIR_NODE_MEMORY_STATS_TOTALtVIR_NODE_SEV_CBITPOStVIR_NODE_SEV_CERT_CHAINtVIR_NODE_SEV_PDHtVIR_NODE_SEV_REDUCED_PHYS_BITStVIR_PERF_PARAM_ALIGNMENT_FAULTSt"VIR_PERF_PARAM_BRANCH_INSTRUCTIONStVIR_PERF_PARAM_BRANCH_MISSEStVIR_PERF_PARAM_BUS_CYCLEStVIR_PERF_PARAM_CACHE_MISSEStVIR_PERF_PARAM_CACHE_REFERENCEStVIR_PERF_PARAM_CMTtVIR_PERF_PARAM_CONTEXT_SWITCHEStVIR_PERF_PARAM_CPU_CLOCKtVIR_PERF_PARAM_CPU_CYCLEStVIR_PERF_PARAM_CPU_MIGRATIONStVIR_PERF_PARAM_EMULATION_FAULTStVIR_PERF_PARAM_INSTRUCTIONStVIR_PERF_PARAM_MBMLtVIR_PERF_PARAM_MBMTtVIR_PERF_PARAM_PAGE_FAULTStVIR_PERF_PARAM_PAGE_FAULTS_MAJtVIR_PERF_PARAM_PAGE_FAULTS_MINtVIR_PERF_PARAM_REF_CPU_CYCLESt%VIR_PERF_PARAM_STALLED_CYCLES_BACKENDt&VIR_PERF_PARAM_STALLED_CYCLES_FRONTENDtVIR_PERF_PARAM_TASK_CLOCK(((s-/usr/lib64/python2.7/site-packages/libvirt.pyt<module>s�

?																		
		�����������a�����������a;/�Q�