API Guide

mount_point='Z:\', isFolder=True,
creds=UserCredentials(<USERNAME>, <PASSWORD>))
liason_share_status = idrac.config_mgr.set_liason_share(myshare)
#Perform iDRAC Static IPv4 configuration
idrac.config_mgr.configure_static_ipv4
(
ip_address = "1.1.1.1", dns_1 = None, dns_2 = None,
dns_from_dhcp = DNSFromDHCP_IPv4StaticTypes.Enabled, gateway=None,
net_mask=None)
apply_status = idrac.config_mgr.apply_changes(reboot=False)
Returns: Success of Failure.
Return Type: JSON.
idrac.cong_mgr.congure_timezone
API string/Method: idrac.config_mgr.configure_timezone
Protocol Support: Redfish.
Description: The idrac.config_mgr.configure_timezone() allows you to congure the time zone Settings.
Table 83. Parameters for idrac.cong_mgr.congure_timezone
Parameter Name Type Allowed Values
timezone
String Timezone
Description Congures the time zone.
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)
# Configure Timezone
msg = idrac.config_mgr.configure_timezone('US/Pacific')
apply_status = idrac.config_mgr.apply_changes(reboot=False)
Returns: Success or Failure.
Return Type: JSON.
iDRAC Services Conguration API list
idrac.cong_mgr.congure_web_server
API string/Method: idrac.config_mgr.configure_web_server
Protocol Support: WSMAN, Redfish.
Description: The idrac.config_mgr.configure_web_server() allows you to congure web server Settings.
OpenManage Python SDK API introduction
35