cpm_web_config
Set network WEB parameters in WTI OOB and PDU devices
Collection: wti.remote
Full Name: wti.remote.cpm_web_config
Synopsis
Set network WEB parameters in WTI OOB and PDU devices
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| cpm_url | string | yes | WTI device host or host:port | |
| cpm_username | string | WTI username; an empty username selects an API token | ||
| cpm_password | string | yes | WTI password or API token | |
| interface | string | yes | Ethernet port | |
| trace | int | Web trace | ||
| ocsp | int | OCSP checking | ||
| timeout | int | Web timeout | ||
| webterm | int | Web terminal | ||
| httpenable | int | Enable HTTP | ||
| httpport | int | HTTP port | ||
| httpsenable | int | Enable HTTPS | ||
| httpsport | int | HTTPS port | ||
| harden | int | Web hardening level | ||
| tlsmode | int | TLS mode | ||
| hsts | int | HSTS | ||
| private_filename | string | Private key file on the target | ||
| signed_filename | string | Signed certificate file on the target | ||
| inter_filename | string | Intermediate certificate file on the target | ||
| 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: Set the web trace flag on eth0 of a WTI device
wti.remote.cpm_web_config:
cpm_url: nonexist.wti.com
cpm_username: super
cpm_password: super
interface: eth0
trace: 1
use_https: true
validate_certs: false