%PDF- %PDF-
| Direktori : /proc/self/root/proc/3522530/root/usr/lib/python2.7/site-packages/salt/modules/ |
| Current File : //proc/self/root/proc/3522530/root/usr/lib/python2.7/site-packages/salt/modules/chassis.pyo |
�
���^c @@ sw d Z d d l m Z m Z m Z d d l Z d d l Z e j e � Z
d g Z d Z d � Z
d � Z d � Z d S( 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 ( t absolute_importt unicode_literalst print_functionNu fx2u chassisc C@ s t j j j � r t St d f S( u
Only work on proxy
uP The chassis execution module cannot be loaded: this only works in proxy minions.( t saltt utilst platformt is_proxyt __virtualname__t False( ( ( s8 /usr/lib/python2.7/site-packages/salt/modules/chassis.pyt __virtual__ s c C@ s/ t d d } t | d � \ } } | | f S( Nu proxyu proxytypeu .find_credentials( t __opts__t __proxy__( t proxyprefixt usernamet password( ( s8 /usr/lib/python2.7/site-packages/salt/modules/chassis.pyt chassis_credentials'