PARALLAX

cpm_time_config

Set Time/Date parameters in WTI OOB and PDU devices

Collection: wti.remote

Full Name: wti.remote.cpm_time_config

Synopsis

Set Time/Date parameters in WTI OOB and PDU devices

Parameters

NameTypeRequiredDefaultDescription
cpm_urlstringyesWTI device host or host:port
cpm_usernamestringyesWTI username; an empty username selects an API token
cpm_passwordstringyesWTI password or API token
datestringDevice date
timestringDevice time
timezoneintTimezone selector
ntpenableintEnable NTP
ipv4addressstringComma-separated primary and secondary IPv4 NTP servers
ipv6addressstringComma-separated primary and secondary IPv6 NTP servers
timeoutintNTP timeout from 1 to 60 seconds
use_httpsbooltrueUse HTTPS instead of HTTP
validate_certsbooltrueValidate the device TLS certificate
use_proxyboolfalseObserve HTTP proxy environment variables

Example

yaml
- name: Set a fixed time and date on a WTI device
  wti.remote.cpm_time_config:
    cpm_url: nonexist.wti.com
    cpm_username: super
    cpm_password: super
    date: 12/12/2019
    time: "09:23:46"
    timezone: 5
    use_https: true
    validate_certs: false
Search
    ↑ ↓ move↵ openesc close