API Guide
Parameter Name Type Allowed Values
iDRACCompEnum.PhysicalDisk
iDRACCompEnum.Sensors_Amperage
iDRACCompEnum.Sensors_Battery
iDRACCompEnum.Sensors_Fan
iDRACCompEnum.Sensors_Intrusion
iDRACCompEnum.Sensors_Temperature
iDRACCompEnum.Sensors_Voltage
iDRACCompEnum.SystemMetrics
iDRACCompEnum.VFlash
iDRACCompEnum.Video
iDRACCompEnum.VirtualDisk
Description The required components.
Return type:
Table 13. Parameter for return type
Returns Return type
JSON The formatted JSON of the device with all the applied process attributes—mapping, units
conversion.
NOTE: Before utilizing the APIs, ensure to apply the sdkinfra.find_driver or sdkinfra.get_driver.
sdkcreds.Snmpv2Credentials
API string/Method: sdkcreds.Snmpv2Credentials.
Description: Credentials for SNMP version 1 and version 2.
Table 14.
Parameters for sdkcreds.Snmpv2Credentials
Parameter Name Type
community
String
Description Community string for the SNMP device.
Table 15. Parameter for write community
Parameter Name Type Allowed Values
writeCommunity
String NA
Description Write community string for the SNMP device.
Example:
idrac=sd.find_driver(ipaddr,
creds=Snmpv2Credentials("nagios"),
protopref=ProtoPreference(ProtocolEnum.SNMP),
pOptions=SNMPOptions(port=163))
OpenManage Python SDK API introduction
13