Skip to content

Session Controllers

dvn_sessioncontroller

create, update, or destroy DVN Session Controllers

Synopsis

  • Create a new Session Controller
  • Delete an existing Session Controller
  • Update an existing Session Controller

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 deflect
callp_id yes Unique ID for Session Controller object
vtc_id yes ID for VTC host
callp_port yes The Session Controller port
http_port same as callp_port HTTP port to be used if protocol is set to 'all'.
protocol all
  • tcp
  • udp
  • http
  • all
Protocol used by the Session Controller
in_service True
  • True
  • False
Whether or not the Session Controller will be in service
callp_ip_addr The IPv4 address of the Session Controller

Examples


  - name: create Session Controller
    dvn_sessioncontroller:
      callp_id: testcallp
      vtc_id: test1
      callp_port: 50505
      validate_certs: false

  - name:  add to zone
    dvn_sessioncontroller:
      url: "{{rest_host}}"
      username: "{{rest_user}}"
      password: "{{rest_pass}}"
      callp_id: testcallp
      vtc_id: test1
      callp_port: 50505
      zone: test-zone
      validate_certs: false