API Guide

Table Of Contents
Table 69. Parameters for idrac.user_mgr.Users.remove
Parameter Name Type Allowed Values
UserName_Users
String
User Defined string
Description Allows you to create a user name.
Example:
#Set liason share
myshare = FileOnShare(remote="<IP OR HOSTNAME>:/<NFS-SHARE-PATH>/<FILE-NAME>",
mount_point='Z:\', isFolder=False,
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 created successfully or not.
Return Type: JSON.
iDRAC Network Settings Configuration
idrac.config_mgr.configure_dns
API string/Method: idrac.config_mgr.configure_dns.
Protocol Support: WSMAN, Redfish.
Description: The idrac.config_mgr.configure_dns allows you to configure the DNS server.
Table 70. Parameters for idrac.config_mgr.configure_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 71. Parameters for idrac.config_mgr.configure_dns
Parameter Name Type Allowed Values
dns_idrac_name
String None
Description Allows you to configure the DNS iDRAC name.
Table 72. Parameters for idrac.config_mgr.configure_dns
Parameter Name Type Allowed Values
auto_config
Enum
DNSDomainNameFromDHCP_NICTypes.Enabled
DNSDomainNameFromDHCP_NICTypes.Disabled
Description Alows you to disable the DNS name from the DHCP.
Table 73. Parameters for idrac.config_mgr.configure_dns
Parameter Name Type Allowed Values
statis_dns
String User defined values
Description Configure the DNS server.
OpenManage Python SDK API introduction 25