nsxt_transport_node_collections – Create transport node collection by attaching Transport Node Profile to cluster. description: When transport node collection is created the hosts which are part of compute collection will be prepared automatically i.e. NSX Manager attempts to install the NSX components on hosts. Transport nodes for these hosts are created using the configuration specified in transport node profile

New in version 2.7.

Parameters

Parameter Choices/Defaults Comments
cluster_name
string
CLuster Name
compute_manager_name
string
Cluster Manager Name
description
string / required
Description
display_name
string / required
Display name
hostname
string / required
Deployed NSX manager hostname.
password
string / required
The password to authenticate with the NSX manager.
resource_type
string / required
A Policy Based VPN requires to define protect rules that match local and peer subnets. IPSec security associations is negotiated for each pair of local and peer subnet. A Route Based VPN is more flexible, more powerful and recommended over policy based VPN. IP Tunnel port is created and all traffic routed via tunnel port is protected. Routes can be configured statically or can be learned through BGP. A route based VPN is must for establishing redundant VPN session to remote sites
state
- / required
    Choices:
  • present
  • absent
State can be either 'present' or 'absent'. 'present' is used to create or update resource. 'absent' is used to delete resource.
transport_node_profile_name
string / required
Transport Node Profile Names
username
string / required
The username to authenticate with the NSX manager.

Examples

- name: Create transport node collection
    nsxt_transport_node_collections:
      hostname: "{{hostname}}"
      username: "{{username}}"
      password: "{{password}}"
      validate_certs: False
      display_name: "TNC1"
      resource_type: "TransportNodeCollection"
      description: "Transport Node Collections 1"
      compute_manager_name: "VC1"
      cluster_name: "cl1"
      transport_node_profile_name: "TNP1"
      state: present

Status

  • This module is not guaranteed to have a backwards compatible interface. [preview]

  • This module is maintained by the Ansible Community. [community]

Authors

  • Rahul Raghuvanshi