API Guide
Table Of Contents
- Dell EMC OpenManage Python Software Development Kit Version 1.0 API Reference Guide
- Introduction to OpenManage python software development toolkit
- Installation and Uninstallation of OMPSDK
- OpenManage Python SDK API introduction
- OpenManage Python SDK API list
- Monitoring API list
- Administration tasks API list
- Export and Import Tasks API list
- Server iDRAC Settings Configuration API list
- Boot Settings Configuration API list
- RAID Configuration API list
- iDRAC LC Jobs API list
- iDRAC LC Status Check API list
- OpenManage Python SDK API list
- Getting Started
Description: The idrac.config_mgr.configure_timezone() allows you to configure the time zone Settings.
Table 88. Parameters for idrac.config_mgr.configure_timezone
Parameter Name Type Allowed Values
timezone
String Timezone
Description Configures 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 Configuration API list
idrac.config_mgr.configure_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 configure web server Settings.
Table 89. Parameters for idrac.config_mgr.configure_web_server
Parameter Name Type Allowed Values
enable_web_server
Enum
Enable_WebServerTypes.Enabled
Enable_WebServerTypes.Disabled
Description Select Enabled to enable the iDRAC web server. This setting is enabled by default.
NOTE: Disabling the web server disables the current web interface session and you
cannot log in to iDRAC web interface or use remote RACADM.
Table 90. Parameters for idrac.config_mgr.configure_web_server
Parameter Name Type Allowed Values
http_port
Number HTTP Port number
Description Enter the port number that iDRAC uses to listen for a browser connection. The default
value is 80. The value must be 1–65535.
Table 91. Parameters for idrac.config_mgr.configure_web_server
Parameter Name Type Allowed Values
https_port
Number HTTPS Port number
Description Enter the port number that iDRAC uses to listen for a secure browser connection. The
default value is 443. The value must be 1–65535.
OpenManage Python SDK API introduction 29