API Guide
Table Of Contents
- Dell EMC OpenManage Python Software Development Kit Version 1.0 API Reference Guide
- Introduction to OpenManage python software development toolkit
- Installation and Uninstallation of OMPSDK
- OpenManage Python SDK API introduction
- OpenManage Python SDK API list
- Monitoring API list
- Administration tasks API list
- Export and Import Tasks API list
- Server iDRAC Settings Configuration API list
- Boot Settings Configuration API list
- RAID Configuration API list
- iDRAC LC Jobs API list
- iDRAC LC Status Check API list
- OpenManage Python SDK API list
- Getting Started
Table 3. Parameter for Protocol preference
Parameter Name Type Allowed Values
protopref
Enumeration of preferred
protocol
ProtocolEnum.WSMAN
ProtocolEnum.SNMP
ProtocolEnum.REDFISH
Description The preferred protocol used if the device supports the protocol.
Table 4. Parameter for protocol specific options
Parameter Name Type Allowed Values
pOptions
Dictionary of protocol-specific
options
SNMPOptions
WSMANOptions
REDFISHOptions
Description A protocol-specific option for passed, port, timeout and so on.
SNMPOptions
WSMANOptions
REFISHOptions
Return type:
ObjectDevice driver: A driver handle to configure or monitor the drivers.
Example:
find_driver(ipaddr, creds, protopref=None, pOptions=None)
sdkinfra.get_driver
API string/Method: sdkinfra.get_driver.
Description: The sdkinfra.get_driver() method is used to get a device driver for the given IP address or hostname, and
check for a particular device type.
Table 5. Parameters for sdkinfra.get_driver
Parameter Name Type Allowed Values
ipaddr
String NA
Description The IP address or hostname of the device.
Table 6. Parameters for device type
Parameter Name Type Allowed Values
driver_en
Enumeration of the device type
sdkinfra.driver_enum.iDRAC
sdkinfra.driver_enum.CMC
sdkinfra.driver_enum.Compellent
sdkinfra.driver_enum.EqualLogic
sdkinfra.driver_enum.MDArray
sdkinfra.driver_enum.F10
sdkinfra.driver_enum.NSeries
Description The enumeration of the device type.
OpenManage Python SDK API introduction 7