PARALLAX

cpm_serial_port_config

Set Serial port parameters in WTI OOB and PDU devices

Collection: wti.remote

Full Name: wti.remote.cpm_serial_port_config

Synopsis

Set Serial port 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
portintyesSerial port number
portnamestringPort label
baudintBaud selector
handshakeintHandshake mode
stopbitsintStop bits
parityintParity mode
modeintPort mode
cmdintCommand echo mode
seqintDisconnect sequence
toutintTimeout selector
echoboolEcho input
break_allowboolAllow a serial break
logoffstringLogoff character
use_httpsbooltrueUse HTTPS instead of HTTP
validate_certsbooltrueValidate the device TLS certificate
use_proxyboolfalseObserve HTTP proxy environment variables

Example

yaml
- name: Rename serial port 2 on a WTI device
  wti.remote.cpm_serial_port_config:
    cpm_url: nonexist.wti.com
    cpm_username: super
    cpm_password: super
    port: 2
    portname: RouterLabel
    baud: 7
    use_https: true
    validate_certs: false
Search
    ↑ ↓ move↵ openesc close