New in version 2018.3.0.
Spencer Ervin <spencer_ervin@hotmail.com>
new
none
unix
This proxy minion enables Cisco Integrated Management Controller devices (hereafter referred to as simply 'cimc' devices to be treated individually like a Salt Minion.
The cimc proxy leverages the XML API functionality on the Cisco Integrated Management Controller. The Salt proxy must have access to the cimc on HTTPS (tcp/443).
More in-depth conceptual reading on Proxy Minions can be found in the Proxy Minion section of Salt's documentation.
To use this integration proxy module, please configure the following:
Proxy minions get their configuration from Salt's Pillar. Every proxy must have a stanza in Pillar and a reference in the Pillar top-file that matches the ID.
proxy:
proxytype: cimc
host: <ip or dns name of cimc host>
username: <cimc username>
password: <cimc password>
verify_ssl: True
The proxytype
key and value pair is critical, as it tells Salt which
interface to load from the proxy
directory in Salt's install hierarchy,
or from /srv/salt/_proxy
on the Salt Master (if you have created your
own proxy module, for example). To use this cimc Proxy Module, set this to
cimc
.
The location, or ip/dns, of the cimc host. Required.
The username used to login to the cimc host. Required.
The password used to login to the cimc host. Required.
The configResolveClass method returns requested managed object in a given class.
Get the grains from the proxied device
Refresh the grains from the proxied device
This function gets called when the proxy starts up.
Since grains are loaded in many different places and some of those places occur before the proxy can be initialized, return whether our init() function has been called
Logs into the cimc device and returns the session cookie.
Closes the session with the device.
Returns true if the device is reachable, else false.
Converts the etree to dict
The configConfMo method configures the specified managed object in a single subtree (for example, DN).
Shutdown the connection to the proxy device. For this proxy, shutdown is a no-op.