diff --git a/docs/vyos.vyos.vyos_nat_module.rst b/docs/vyos.vyos.vyos_nat_module.rst
index 648658d4..4657d9f1 100644
--- a/docs/vyos.vyos.vyos_nat_module.rst
+++ b/docs/vyos.vyos.vyos_nat_module.rst
@@ -1,870 +1,1635 @@
.. _vyos.vyos.vyos_nat_module:
******************
vyos.vyos.vyos_nat
******************
**NAT resource module**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module manages NAT configuration on devices running Vyos
Parameters
----------
.. raw:: html
- | Parameter |
+ Parameter |
Choices/Defaults |
Comments |
- |
+ |
config
dictionary
|
|
The desired configuration for the NAT resource represented as a dictionary.
|
+
+
+ |
+
+
+ cgnat
+
+
+ dictionary
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+
+
+ log_allocation
+
+
+ boolean
+
+ |
+
+
+ |
+
+ |
+
+
+ |
+ |
+
+
+ pool
+
+
+ dictionary
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+
+
+ external
+
+
+ list
+ / elements=dictionary
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+
+ external_port_range
+
+
+ string
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+
+ name
+
+
+ string
+ / required
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+
+ per_user_limit_port
+
+
+ integer
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+
+ ranges
+
+
+ list
+ / elements=string
+
+ |
+
+ |
+
+ |
+
+
+
+ |
+ |
+ |
+
+
+ internal
+
+
+ list
+ / elements=dictionary
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+
+ name
+
+
+ string
+ / required
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+
+ ranges
+
+
+ list
+ / elements=string
+
+ |
+
+ |
+
+ |
+
+
+
+
+ |
+ |
+
+
+ rule
+
+
+ list
+ / elements=dictionary
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+
+
+ id
+
+
+ integer
+ / required
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+
+
+ source
+
+
+ dictionary
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+
+ pool
+
+
+ string
+
+ |
+
+ |
+
+ |
+
+
+
+ |
+ |
+ |
+
+
+ translation
+
+
+ dictionary
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+
+ pool
+
+
+ string
+
+ |
+
+ |
+
+ |
+
+
+
+
+
+ |
+
+
+ destination
+
+
+ dictionary
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+
+
+ rule
+
+
+ list
+ / elements=dictionary
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+
+
+ description
+
+
+ string
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+
+
+ destination
+
+
+ dictionary
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+
+ address
+
+
+ string
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+
+ disable
+
+
+ boolean
+
+ |
+
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+
+ exclude
+
+
+ boolean
+
+ |
+
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+
+ fqdn
+
+
+ string
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+
+ log
+
+
+ boolean
+
+ |
+
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+
+ port
+
+
+ string
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+
+ protocol
+
+
+ string
+
+ |
+
+ |
+
+ |
+
+
+
+ |
+ |
+ |
+
+
+ id
+
+
+ integer
+ / required
+
+ |
+
+ |
+
+ |
+
+
+
+
+ |
+
+
+ source
+
+
+ dictionary
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+
+
+ rule
+
+
+ list
+ / elements=dictionary
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+
+
+ description
+
+
+ string
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+
+
+ destination
+
+
+ dictionary
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+
+ address
+
+
+ string
+
+ |
+
+ |
+
+ |
+
+
+
+ |
+ |
+ |
+
+
+ id
+
+
+ integer
+ / required
+
+ |
+
+ |
+
+ |
+
+
+
+
+ |
+
+
+ static
+
+
+ dictionary
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+
+
+ rule
+
+
+ list
+ / elements=dictionary
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+
+
+ description
+
+
+ string
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+
+
+ id
+
+
+ integer
+ / required
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+
+
+ inbound_interface
+
+
+ list
+ / elements=string
+
+ |
+
+ |
+
+ |
+ |
+ |
+ |
+
+
+ translation
+
+
+ dictionary
+
+ |
+
+ |
+
+ |
+
+
+ |
+ |
+ |
+ |
+
+ address
+
+
+ string
+
+ |
+
+ |
+
+ |
+
+
+
+
+
+
+ |
running_config
string
|
|
This option is used only with state parsed.
The value of this option should be the output received from the VYOS device by executing the command show configuration commands | grep ntp.
The states replaced and overridden have identical behaviour for this module.
The state parsed reads the configuration from show configuration commands | grep ntp option and transforms it into Ansible structured data as per the resource module's argspec and the value is then returned in the parsed key within the result.
|
- |
+ |
state
string
|
Choices:
- deleted
merged ←
- overridden
- replaced
- gathered
- rendered
- parsed
|
The state the configuration should be left in.
|