nsxt_logical_routers_facts – List Logical Routers

New in version 2.7.

Synopsis

  • Returns information about all logical routers, including the UUID, internal and external transit network addresses, and the router type (TIER0 or TIER1). You can get information for only TIER0 routers or only the TIER1 routers by including the router_type query parameter.

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 Logical Routers
  nsxt_logical_routers_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