Skip to content

Controllers

dvn_controller

manipulate DVN Controllers

Synopsis

  • Update Controller settings
  • Delete Controllers
  • Modify a Controller's obfuscation settings

Options

Parameter Required? Default Choices Comments
username service-prov administrator username. If not specified as a parameter, the environment variable DVNREST_USER will be used.
password service-prov password If not specified as a parameter, the environment variable DVNREST_PASSWORD will be used.
url service-prov url. If not specified as a parameter, the environment variable DVNREST_URL will be used.
validate_certs True Check certs. Use false to allow self-signed. If not specified as a parameter, the environment variable VALIDATE_CERTS will be used.
state present
  • present
  • absent
specify state of the Controller
controller_id yes Unique ID for Controller object
publish_ip_1 Publish IP address 1
publish_ip_2 Publish IP address 2
publish_ip_3 Publish IP address 3
publish_cfg_port_1 Configuration port 1
publish_cfg_port_2 Configuration port 2
publish_cfg_port_3 Configuration port 3
obfuscation
crypto_level: Encrypt
ecdh: no
vtc_ids: []
state: present
  • crypto_level: encrypt or authenticate
  • ecdh: no or yes
Obfuscation settings for this controller.

Examples


  - name: change publish IP/port settings
    dvn_controller:
      controller_id: ctrl1
      publish_ip_1: 192.168.2.10
      publish_cfg_port_1: 49001

  - name: enable obfuscation with 2 VTCs
    dvn_controller:
      controller_id: ctrl1
      obfuscation:
        crypto_level: Encrypt
        ecdh: yes
        vtc_ids:
            - vtc1
            - vtc2