File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/cimc.cpython-310.pyc
o
�N�gM9 � @ sd d Z ddlZe�e�Zdd� Zdd� Zddd�Zdd d
�Zdd� Z dd
d�Z
ddd�Zddd�ZdS )a�
A state module to manage Cisco UCS chassis devices.
:codeauthor: ``Spencer Ervin <spencer_ervin@hotmail.com>``
:maturity: new
:depends: none
:platform: unix
About
=====
This state module was designed to handle connections to a Cisco Unified Computing System (UCS) chassis. This module
relies on the CIMC proxy module to interface with the device.
.. seealso::
:py:mod:`CIMC Proxy Module <salt.proxy.cimc>`
� Nc C s dt v rdS dS )Nzcimc.get_system_infoT)Fzcimc module could not be loaded)�__salt__� r r �D/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/cimc.py�__virtual__ s r c C s | i ddd�}|S )z+
Set the default response values.
F� )�name�changes�result�commentr )r �retr r r �_default_ret s r c
C s� t | �}td � }d}z2||krd}|r8td |�}|s'd|d<