API Guide

creds=UserCredentials(<USERNAME>, <PASSWORD>))
liason_share_status = idrac.config_mgr.set_liason_share(myshare)
#Configure iDRAC WebServer
idrac.config_mgr.configure_web_server
(
enable_web_server = Enable_WebServerTypes.Enabled,
http_port = 80,
https_port = 443,
timeout = 1800,
ssl_encryption = SSLEncryptionBitLength_WebServerTypes.T.T_128_Bit_or_higher,
tls_protocol = TLSProtocol_WebServerTypes.TLS_1_1_and_Higher
)
apply_status = idrac.config_mgr.apply_changes(reboot=False)
Returns: Success or Failure.
Return Type: JSON.
idrac.cong_mgr.congure_snmp
API string/Method: idrac.config_mgr.configure_snmp
Protocol Support: Redfish.
Description: The idrac.config_mgr.configure_snmp() allows you to congure SNMP Settings.
Table 90. Parameters for idrac.cong_mgr.congure_snmp
Parameter Name Type Allowed Values
snmp_enable
Enum
AgentEnable_SNMPTypes.Disabled
AgentEnable_SNMPTypes.Enabled
Description Allows you to enable to disable the SNMP server.
Table 91. Parameters for idrac.cong_mgr.congure_snmp
Parameter Name Type Allowed Values
community_name
String User provided input
Description
Enter the SNMP community name. The name can have up to 31 nonblank characters. The default
name is public. iDRAC uses it to validate SNMP queries and gets (received from remote systems
requesting SNMP data Access from iDRAC).
Table 92. Parameters for idrac.cong_mgr.congure_snmp
Parameter Name Type Allowed Values
alert_port
Number Alert port number
Description Enter the SNMP port number that must be used for SNMP traps. The default value is 162.
Range is 1-65535.
38 OpenManage Python SDK API introduction