API Guide

Table Of Contents
Getting Started
The following sections provide information about using OMPSDK to connect, disconnect and communicate with the device.
Topics:
OMPSDK Infrastructure
API to setup share
iDRAC server information
Administration Tasks
Server configuration profile overview
Import export server configuration profiles
Exporting LC Logs
Server iDRAC settings and configuration
BIOS Boot settings
RAID Configuration
iDRAC LC jobs
iDRAC LC status check
OMPSDK Infrastructure
This section provides information to initialize to OMPSDK infrastructure.
Initialization of OMPSDK Infrastructure
Run the following command to initialize the OMPSDK infrastructure
sdkinfra
importPath
The above two methods initialize the SDK Infrastructure and loads the device drivers such as iDRAC, CMC, F10 etc present in
the path <python_lib> omdrivers.
Table 146. Drivers list
Method Description
importPath
This function reads all the driver files that
exist in the omdrivers directory.
Table 147. Monitoring API methods
Method Description
get_driver
This function creates and returns the driver instance based
on the input details including driver name and on successful
connection. User can specify a particular Driver type [e.g
iDRAC, CMC, F10] and get the driver instance back without
looping through all the drivers present inside omdrivers
folder.
Parameters: driver_en Device driver enumerator. For example: iDRAC :
sd.driver_enum.iDRAC, CMC, Compellent.
ipaddr
Device IP address or the hostname.
4
48 Getting Started