API Guide
Table 101. Parameters for idrac.cong_mgr.congure_smtp_server_settings
Parameter Name Type Allowed Values
smtp_ip_address
String SMTP IP Address
Description Enter the IPv4 or IPv6 address of the SMTP server or the FQDN / DNS name. The IP address
entered must be in the dot separated format. For example, 143.166.154.1.
Table 102. Parameters for idrac.cong_mgr.congure_smtp_server_settings
Parameter Name Type Allowed Values
smtp_port
Number SMTP Port numer
Description
Enter the destination port for email alerts. The default value is 25. Range is 1-65535.
Table 103. Parameters for idrac.cong_mgr.congure_smtp_server_settings
Parameter Name Type Allowed Values
authentication
Enum
SMTPAuthentication_RemoteHostsTypes.Enabl
ed
SMTPAuthentication_RemoteHostsTypes.Disab
led
Description To specify the user name and password for SMTP mail server authentication, select this option.
Table 104. 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 105. 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
OpenManage Python SDK API introduction
45