API Guide
Table 109. Parameters for idrac.cong_mgr.congure_smtp_server_settings
Parameter Name Type Allowed Values
username
String User dened string
Description To connect to the SMTP server, enter the user name.
Table 110. Parameters for idrac.cong_mgr.congure_smtp_server_settings
Parameter Name Type Allowed Values
password
String User dened string
Description To connect for NFS or CIFS le system, enter the password. The maximum length is 255
characters.
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_smtp_server_settings
(
smtp_ip_address = "1.1.1.1", smtp_port = 26,
authentication = SMTPAuthentication_RemoteHostsTypes.Enabled,
username = None, password = None
)
apply_status = idrac.config_mgr.apply_changes(reboot=False)
Returns: Success or Failure.
Return Type: JSON.
idrac.cong_mgr.congure_email_alerts
API string/Method: idrac.config_mgr.configure_email_alerts.
Protocol Support: Redfish.
Description: The idrac.config_mgr.configure_email_alerts() allows you to congure the SNMP Trap Destination Settings.
Table 111.
Parameters for idrac.cong_mgr.congure_email_alerts
Parameter Name Type Allowed Values
alert_number
Number Alert number
Description Congure up to 4 email destinations that can be set to receive alerts.
OpenManage Python SDK API introduction 43