nsxt_route_advertise – Toggle tier 1 route advertisement

New in version 2.7.

Synopsis

  • Toggle route advertisement on Tier 1 routers

Parameters

Parameter Choices/Defaults Comments
advertise_dns_forwarder
boolean
Flag to advertise all routes of dns forwarder listener ips and source ips
advertise_lb_snat_ip
boolean
Flag to advertise all lb SNAT ips
advertise_lb_vip
boolean
Flag to advertise lb vips
advertise_nat_routes
boolean
Flag to advertise all routes of nat
advertise_nsx_connected_routes
boolean
Flag to advertise all connected routes
advertise_static_routes
boolean
Flag to advertise all static routes
display_name
string / required
Display name of Tier 1 router
enabled
boolean
Flag to enable this configuration
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: Toggle tier 1 route advertisement
  nsxt_route_advertise:
    hostname: "10.192.167.137"
    username: "admin"
    password: "Admin!23Admin"
    validate_certs: False
    enabled: True
    advertise_static_routes: True
    advertise_dns_forwarder: True
    advertise_lb_snat_ip: True
    advertise_lb_vip: True
    advertise_nat_routes: True
    advertise_nsx_connected_routes: True

Status

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

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

Authors

  • Matt Proud