| Server IP : 198.38.94.13 / Your IP : 216.73.217.33 Web Server : Apache System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : revivere ( 1140) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/ |
Upload File : |
o
;j�! � @ sB d Z dd� Zddd�Zddd �Z
ddd�Zddd�ZdS )a.
Manage IPMI devices over LAN
============================
The following configuration defaults can be defined in the
minion, master config or pillar:
.. code-block:: yaml
ipmi.config:
api_host: 127.0.0.1
api_user: admin
api_pass: apassword
api_port: 623
api_kg: None
Every call can override the config defaults:
.. code-block:: yaml
ensure myipmi system is set to network boot:
ipmi.boot_device:
- name: network
- api_host: myipmi.hostname.com
- api_user: root
- api_pass: apassword
- api_kg: None
ensure myipmi system is powered on:
ipmi.power:
- name: boot
- api_host: myipmi.hostname.com
- api_user: root
- api_pass: apassword
c
C sN d } zddl m} W n ty } z
t|�} W Y d }~nd }~ww | d u | fS )N� )�command)Zpyghmi.ipmir �ImportError�str)Z
IMPORT_ERRr �exc� r �D/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/ipmi.py�__virtual__&