cpm_plugconfig
Get and Set Plug Parameters on WTI OOB and PDU power devices
Collection: wti.remote
Full Name: wti.remote.cpm_plugconfig
Synopsis
Get and Set Plug Parameters on WTI OOB and PDU power devices
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| cpm_url | string | yes | WTI device host or host:port | |
| cpm_username | string | yes | WTI username; an empty username selects an API token | |
| cpm_password | string | yes | WTI password or API token | |
| cpm_action | string | yes | getplugconfig or setplugconfig | |
| plug_id | string | yes | Plug number, name, comma list, or all | |
| plug_name | string | Plug name | ||
| plug_bootdelay | int | Boot delay | ||
| plug_default | int | Default power state | ||
| plug_bootpriority | int | Boot priority | ||
| use_https | bool | true | Use HTTPS instead of HTTP | |
| validate_certs | bool | true | Validate the device TLS certificate | |
| use_proxy | bool | false | Observe HTTP proxy environment variables |
Example
yaml
- name: Read every plug configuration on a WTI power device
wti.remote.cpm_plugconfig:
cpm_action: getplugconfig
cpm_url: rest.wti.com
cpm_username: restpower
cpm_password: restfulpowerpass12
plug_id: all
use_https: true
validate_certs: true