mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-23 10:18:45 +02:00
Add support for "ipv6 firewall nat" (#204)
RouterOS supports NAT for IPv6 under the `ipv6 firewall nat` path. Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
parent
adff9bbf8c
commit
b7569b9dfd
4 changed files with 64 additions and 0 deletions
2
changelogs/fragments/204-add-ipv6-firewall-nat.yml
Normal file
2
changelogs/fragments/204-add-ipv6-firewall-nat.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- api_info, api_modify - add support for the ``ipv6 firewall nat`` path (https://github.com/ansible-collections/community.routeros/pull/204).
|
|
@ -2228,6 +2228,66 @@ PATHS = {
|
||||||
'tls-host': KeyInfo(can_disable=True),
|
'tls-host': KeyInfo(can_disable=True),
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
|
('ipv6', 'firewall', 'nat'): APIData(
|
||||||
|
fully_understood=True,
|
||||||
|
stratify_keys=('chain', ),
|
||||||
|
fields={
|
||||||
|
'action': KeyInfo(),
|
||||||
|
'address-list': KeyInfo(),
|
||||||
|
'address-list-timeout': KeyInfo(),
|
||||||
|
'chain': KeyInfo(),
|
||||||
|
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||||
|
'connection-bytes': KeyInfo(can_disable=True),
|
||||||
|
'connection-limit': KeyInfo(can_disable=True),
|
||||||
|
'connection-mark': KeyInfo(can_disable=True),
|
||||||
|
'connection-rate': KeyInfo(can_disable=True),
|
||||||
|
'connection-state': KeyInfo(can_disable=True),
|
||||||
|
'connection-type': KeyInfo(can_disable=True),
|
||||||
|
'content': KeyInfo(can_disable=True),
|
||||||
|
'disabled': KeyInfo(),
|
||||||
|
'dscp': KeyInfo(can_disable=True),
|
||||||
|
'dst-address': KeyInfo(can_disable=True),
|
||||||
|
'dst-address-list': KeyInfo(can_disable=True),
|
||||||
|
'dst-address-type': KeyInfo(can_disable=True),
|
||||||
|
'dst-limit': KeyInfo(can_disable=True),
|
||||||
|
'dst-port': KeyInfo(can_disable=True),
|
||||||
|
'icmp-options': KeyInfo(can_disable=True),
|
||||||
|
'in-bridge-port': KeyInfo(can_disable=True),
|
||||||
|
'in-bridge-port-list': KeyInfo(can_disable=True),
|
||||||
|
'in-interface': KeyInfo(can_disable=True),
|
||||||
|
'in-interface-list': KeyInfo(can_disable=True),
|
||||||
|
'ingress-priority': KeyInfo(can_disable=True),
|
||||||
|
'ipsec-policy': KeyInfo(can_disable=True),
|
||||||
|
'jump-target': KeyInfo(),
|
||||||
|
'layer7-protocol': KeyInfo(can_disable=True),
|
||||||
|
'limit': KeyInfo(can_disable=True),
|
||||||
|
'log': KeyInfo(),
|
||||||
|
'log-prefix': KeyInfo(),
|
||||||
|
'out-bridge-port': KeyInfo(can_disable=True),
|
||||||
|
'out-bridge-port-list': KeyInfo(can_disable=True),
|
||||||
|
'out-interface': KeyInfo(can_disable=True),
|
||||||
|
'out-interface-list': KeyInfo(can_disable=True),
|
||||||
|
'packet-mark': KeyInfo(can_disable=True),
|
||||||
|
'packet-size': KeyInfo(can_disable=True),
|
||||||
|
'per-connection-classifier': KeyInfo(can_disable=True),
|
||||||
|
'port': KeyInfo(can_disable=True),
|
||||||
|
'priority': KeyInfo(can_disable=True),
|
||||||
|
'protocol': KeyInfo(can_disable=True),
|
||||||
|
'random': KeyInfo(can_disable=True),
|
||||||
|
'routing-mark': KeyInfo(can_disable=True),
|
||||||
|
'src-address': KeyInfo(can_disable=True),
|
||||||
|
'src-address-list': KeyInfo(can_disable=True),
|
||||||
|
'src-address-type': KeyInfo(can_disable=True),
|
||||||
|
'src-mac-address': KeyInfo(can_disable=True),
|
||||||
|
'src-port': KeyInfo(can_disable=True),
|
||||||
|
'tcp-flags': KeyInfo(can_disable=True),
|
||||||
|
'tcp-mss': KeyInfo(can_disable=True),
|
||||||
|
'time': KeyInfo(can_disable=True),
|
||||||
|
'tls-host': KeyInfo(can_disable=True),
|
||||||
|
'to-addresses': KeyInfo(can_disable=True),
|
||||||
|
'to-ports': KeyInfo(can_disable=True),
|
||||||
|
},
|
||||||
|
),
|
||||||
('ipv6', 'firewall', 'raw'): APIData(
|
('ipv6', 'firewall', 'raw'): APIData(
|
||||||
fully_understood=True,
|
fully_understood=True,
|
||||||
stratify_keys=('chain',),
|
stratify_keys=('chain',),
|
||||||
|
|
|
@ -137,6 +137,7 @@ options:
|
||||||
- ipv6 firewall address-list
|
- ipv6 firewall address-list
|
||||||
- ipv6 firewall filter
|
- ipv6 firewall filter
|
||||||
- ipv6 firewall mangle
|
- ipv6 firewall mangle
|
||||||
|
- ipv6 firewall nat
|
||||||
- ipv6 firewall raw
|
- ipv6 firewall raw
|
||||||
- ipv6 nd
|
- ipv6 nd
|
||||||
- ipv6 nd prefix default
|
- ipv6 nd prefix default
|
||||||
|
|
|
@ -142,6 +142,7 @@ options:
|
||||||
- ipv6 firewall address-list
|
- ipv6 firewall address-list
|
||||||
- ipv6 firewall filter
|
- ipv6 firewall filter
|
||||||
- ipv6 firewall mangle
|
- ipv6 firewall mangle
|
||||||
|
- ipv6 firewall nat
|
||||||
- ipv6 firewall raw
|
- ipv6 firewall raw
|
||||||
- ipv6 nd
|
- ipv6 nd
|
||||||
- ipv6 nd prefix default
|
- ipv6 nd prefix default
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue