API Guide

creds=UserCredentials(<USERNAME>, <PASSWORD>))
liason_share_status = idrac.config_mgr.set_liason_share(myshare)
idrac.user_mgr.Users.remove(UserName_Users="XYZ123")
apply_status = idrac.config_mgr.apply_changes(reboot=False)
Returns: JSON Returns a json indicating whether the user was deleted successfully or not.
Return Type: JSON.
iDRAC Network Settings Conguration
idrac.cong_mgr.congure_dns
API string/Method: idrac.config_mgr.configure_dns
Protocol Support: WSMAN, Redfish.
Description: The idrac.config_mgr.configure_dns allows you to congure the DNS server.
Table 65. Parameters for idrac.cong_mgr.congure_dns
Parameter Name Type Allowed Values
register_idrac_on_dns
Enum
DNSRegister_NICTypes.Enabled
DNSRegister_NICTypes.Disabled
Description Allows you to register the iDRAC on DNS.
Table 66. Parameters for idrac.cong_mgr.congure_dns
Parameter Name Type Allowed Values
dns_idrac_name
String None
Description Allows you to congure the DNS iDRAC name.
Table 67. Parameters for idrac.cong_mgr.congure_dns
Parameter Name Type Allowed Values
auto_config
Enum
DNSDomainNameFromDHCP_NICTypes.Enabled
DNSDomainNameFromDHCP_NICTypes.Disabled
Description Allows you to enable or disable the DNS name from the DHCP
Table 68. Parameters for idrac.cong_mgr.congure_dns
Parameter Name Type Allowed Values
static_dns
String User dened values
Description Congure the DNS server.
Example:
#Set liason share
myshare = FileOnShare(remote="<IP OR HOSTNAME>:/<NFS-SHARE-PATH>",
OpenManage Python SDK API introduction
31