nsxt_logical_ports_facts – List All Logical Ports

New in version 2.7.

Synopsis

  • Returns information about all configured logical switch ports. Logical switch ports connect to VM virtual network interface cards (NICs). Each logical port is associated with one logical switch.

Parameters

Parameter Choices/Defaults Comments
hostname
string / required
Deployed NSX manager hostname.
password
string / required
The password to authenticate with the NSX manager.
username
string / required
The username to authenticate with the NSX manager.

Examples

- name: List All Logical Ports
  nsxt_logical_ports_facts:
      hostname: "10.192.167.137"
      username: "admin"
      password: "Admin!23Admin"
      validate_certs: False

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