API Guide

Table 80. Parameters for idrac.cong_mgr.congure_ipv4
Parameter Name Type Allowed Values
gateway
String User dened values
Description Congure the Default Gateway IP address.
Table 81. Parameters for idrac.cong_mgr.congure_ipv4
Parameter Name Type Allowed Values
net_mask
String User dened values
Description Congure the iDRAC subnet mask.
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.config_mgr.configure_ipv4
(
ip_address = "1.1.1.1", enable_dhcp = DHCPEnable_IPv4Types.Enabled,
dns_1 = None, dns_2 = None, dns_from_dhcp = DNSFromDHCP_IPv4Types.Enabled,
enable_ipv4 = Enable_IPv4Types.Enabled, gateway = None, net_mask = None
)
apply_status = idrac.config_mgr.apply_changes(reboot=False)
Returns: Success or Failure.
Return Type: JSON.
idrac.cong_mgr.congure_static_ipv4
API string/Method: idrac.config_mgr.configure_static_ipv4.
Protocol Support: Redfish.
Description: The idrac.config_mgr.configure_static_ipv4() allows you to congure the Static IPv4 Settings.
Table 82.
Parameters for idrac.cong_mgr.congure_static_ipv4
Parameter Name Type Allowed Values
ip_address
String IP Address
Description Displays the iDRAC NIC IPv4 address.
Table 83. Parameters for idrac.cong_mgr.congure_static_ipv4
Parameter Name Type Allowed Values
dns_1
String User dened values
Description Indicates the static DNS server IPv4 address if DHCP is not used to get the DNS address.
32 OpenManage Python SDK API introduction