Users Guide
This module allows the configuration of network time.
Options
Table 78. ome_application_network_time
Parameters Required Default Choices Comments
hostname True NA NA Target IP Address or hostname
username True NA NA Target username
password True NA NA Target user password
port False 443 NA Target HTTPS port
enable_ntp True NA NA
• This option enables or disables
Network Time Protocol(NTP).
• If I(enable_ntp) is false, then the
NTP addresses reset to their
default values.
system_time False NA NA
• Time in the current system.
• This option is only applicable when
I(enable_ntp) is false.
• This option must be provided in
following format - 'yyyy-mm-dd
hh:mm:ss'.
time_zone False NA NA
• The valid time zone ID to be used.
• This option is applicable for both
system time and NTP time
synchronization.
primary_ntp_address False NA NA
• The primary NTP address
• This option is applicable when
I(enable_ntp) is true.
secondary_ntp_address1 False NA NA
• The first secondary NTP address
• This option is applicable when
I(enable_ntp) is true.
secondary_ntp_address2 False NA NA
• The second secondary NTP
address
• This option is applicable when
I(enable_ntp) is true.
Return Values
msg:
type: str
description: Overall status of the network time configuration change.
returned: always
sample: "Successfully configured network time."
proxy_configuration:
type: dict
description: Updated application network time configuration.
returned: success
sample: {
"EnableNTP": false,
"JobId": null,
"PrimaryNTPAddress": null,
"SecondaryNTPAddress1": null,
"SecondaryNTPAddress2": null,
"SystemTime": null,
"TimeSource": "Local Clock",
"TimeZone": "TZ_ID_1",
112
Modules for OpenManage Enterprise (OME)