PARALLAX

cpm_interface_config

Set network interface parameters in WTI OOB and PDU devices

Collection: wti.remote

Full Name: wti.remote.cpm_interface_config

Synopsis

Set network interface 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
interfacestringEthernet port to configure
negotiationintLink negotiation mode
ipv4addressstringIPv4 address
ipv4netmaskstringIPv4 netmask
ipv4gatewaystringIPv4 gateway
ipv4dhcpenableintEnable the IPv4 DHCP client
ipv4dhcphostnamestringDHCP client hostname
ipv4dhcpleaseintDHCP lease mode
ipv4dhcpobdnsintObtain DNS from DHCP
ipv4dhcpupdnsintUpdate DNS from DHCP
ipv4dhcpdefgatewayintObtain the default gateway from DHCP
ipv6addressstringIPv6 address
ipv6subnetprefixstringIPv6 subnet prefix
ipv6gatewaystringIPv6 gateway
use_httpsbooltrueUse HTTPS instead of HTTP
validate_certsbooltrueValidate the device TLS certificate
use_proxyboolfalseObserve HTTP proxy environment variables

Example

yaml
- name: Set eth0 IPv4 parameters on a WTI device
  wti.remote.cpm_interface_config:
    cpm_url: nonexist.wti.com
    cpm_username: super
    cpm_password: super
    interface: eth0
    ipv4address: 192.168.0.14
    ipv4netmask: 255.255.255.0
    ipv4gateway: 192.168.0.1
    negotiation: 0
    use_https: true
    validate_certs: false
Search
    ↑ ↓ move↵ openesc close