%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/chassis.pyc

�
���^c@@swdZddlmZmZmZddlZddlZeje	�Z
dgZdZd�Z
d�Zd�ZdS(	uG
Glue execution module to link to the :mod:`fx2 proxymodule <salt.proxy.fx2>`.

Depends: :mod:`iDRAC Remote execution module (salt.modules.dracr) <salt.modules.dracr>`

For documentation on commands that you can direct to a Dell chassis via proxy,
look in the documentation for :mod:`salt.modules.dracr <salt.modules.dracr>`.

This execution module calls through to a function in the fx2 proxy module
called ``chconfig``.  That function looks up the function passed in the ``cmd``
parameter in :mod:`salt.modules.dracr <salt.modules.dracr>` and calls it.

.. versionadded:: 2015.8.2
i(tabsolute_importtunicode_literalstprint_functionNufx2uchassiscC@s tjjj�rtStdfS(u
    Only work on proxy
    uPThe chassis execution module cannot be loaded: this only works in proxy minions.(tsalttutilstplatformtis_proxyt__virtualname__tFalse(((s8/usr/lib/python2.7/site-packages/salt/modules/chassis.pyt__virtual__scC@s/tdd}t|d�\}}||fS(Nuproxyu	proxytypeu.find_credentials(t__opts__t	__proxy__(tproxyprefixtusernametpassword((s8/usr/lib/python2.7/site-packages/salt/modules/chassis.pytchassis_credentials'scO@sltdd}t�\}}||d<||d<t|d�|d<tddd}t||||�S(Nuproxyu	proxytypeuadmin_usernameuadmin_passwordu.hostuhostu	.chconfig(R
RR(tcmdtargstkwargsRR
Rtproxycmd((s8/usr/lib/python2.7/site-packages/salt/modules/chassis.pyR-s

(t__doc__t
__future__RRRtloggingtsalt.utils.platformRt	getLoggert__name__tlogt__proxyenabled__RR	RR(((s8/usr/lib/python2.7/site-packages/salt/modules/chassis.pyt<module>s		
	

Zerion Mini Shell 1.0