summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-06-10 11:11:02 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2024-06-10 11:11:02 +0000
commitd6108d6e0a14f32d7ee28df01b5a4fcd678acada (patch)
tree037aea284881427577cfe3dc4edeea69dd083ddd /interface-definitions
parentf6752de811ba8a553abd631427e7735b191c1f91 (diff)
downloadvyos-1x-d6108d6e0a14f32d7ee28df01b5a4fcd678acada.tar.gz
vyos-1x-d6108d6e0a14f32d7ee28df01b5a4fcd678acada.zip
T6442: CGNAT add log for address allocation
Add the configuration command to log current CGNAT allocation set nat cgnat log-allocation
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/nat_cgnat.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/nat_cgnat.xml.in b/interface-definitions/nat_cgnat.xml.in
index fce5e655d..71f4d67b0 100644
--- a/interface-definitions/nat_cgnat.xml.in
+++ b/interface-definitions/nat_cgnat.xml.in
@@ -8,6 +8,12 @@
<priority>221</priority>
</properties>
<children>
+ <leafNode name="log-allocation">
+ <properties>
+ <help>Log IP address and port allocation</help>
+ <valueless/>
+ </properties>
+ </leafNode>
<node name="pool">
<properties>
<help>External and internal pool parameters</help>