%PDF- %PDF-
Direktori : /lib/python2.7/site-packages/salt/modules/ |
Current File : //lib/python2.7/site-packages/salt/modules/vmctl.pyc |
� ���^c @@ s� d Z d d l m Z d d l Z d d l Z d d l Z d d l m Z m Z d d l m Z e j e � Z d � Z d � Z d � Z d � Z d � Z e e e d � Z d d d d d e d d d d � Z d d d � Z d d d � Z d S( s Manage vms running on the OpenBSD VMM hypervisor using vmctl(8). .. versionadded:: 2019.2.0 :codeauthor: ``Jasper Lievisse Adriaanse <jasper@openbsd.org>`` .. note:: This module requires the `vmd` service to be running on the OpenBSD target machine. i ( t absolute_importN( t CommandExecutionErrort SaltInvocationError( t zipc C@ s3 t d d k r) t j j j d � r) t St d f S( s6 Only works on OpenBSD with vmctl(8) present. t ost OpenBSDt vmctlsm The vmm execution module cannot be loaded: either the system is not OpenBSD or the vmctl binary was not found( t __grains__t saltt utilst patht whicht Truet False( ( ( s6 /usr/lib/python2.7/site-packages/salt/modules/vmctl.pyt __virtual__ s %c C@ s+ t d | � } | i k r d S| d Sd S( s2 Lookup the name associated with a VM id. t idt nameN( t statust None( R t vm( ( s6 /usr/lib/python2.7/site-packages/salt/modules/vmctl.pyt _id_to_name'