PARALLAX

cpm_serial_port_action_set

Set Serial port connection commands in WTI OOB and PDU devices

Collection: wti.remote

Full Name: wti.remote.cpm_serial_port_action_set

Synopsis

Set Serial port connection commands 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
portintyesLocal serial port
portremoteintRemote serial port
actionint1 connects and 2 disconnects
use_httpsbooltrueUse HTTPS instead of HTTP
validate_certsbooltrueValidate the device TLS certificate
use_proxyboolfalseObserve HTTP proxy environment variables

Example

yaml
- name: Connect serial port 2 to port 3 on a WTI device
  wti.remote.cpm_serial_port_action_set:
    cpm_url: nonexist.wti.com
    cpm_username: super
    cpm_password: super
    port: 2
    portremote: 3
    action: 1
    use_https: true
    validate_certs: false
Search
    ↑ ↓ move↵ openesc close