summaryrefslogtreecommitdiff
path: root/interface-definitions/include/nat-translation-port.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-01 13:23:20 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-16 15:30:26 +0200
commit40e8938667b06615e0a1a26271a30e00f8cff2c6 (patch)
tree9c8243946969cc74bf261e27e6c22ee8cf414a0d /interface-definitions/include/nat-translation-port.xml.i
parent02ee6b7bf1bcb0a6d55b3d02496d2f501e622ea2 (diff)
downloadvyos-1x-40e8938667b06615e0a1a26271a30e00f8cff2c6.tar.gz
vyos-1x-40e8938667b06615e0a1a26271a30e00f8cff2c6.zip
nat: T2198: initial XML and Python representation
Diffstat (limited to 'interface-definitions/include/nat-translation-port.xml.i')
-rw-r--r--interface-definitions/include/nat-translation-port.xml.i13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/include/nat-translation-port.xml.i b/interface-definitions/include/nat-translation-port.xml.i
new file mode 100644
index 000000000..93de471e3
--- /dev/null
+++ b/interface-definitions/include/nat-translation-port.xml.i
@@ -0,0 +1,13 @@
+<leafNode name="port">
+ <properties>
+ <help>Port number</help>
+ <valueHelp>
+ <format>1-65535</format>
+ <description>Numeric IP port</description>
+ </valueHelp>
+ <valueHelp>
+ <format>&lt;start&gt;-&lt;end&gt;</format>
+ <description>Numbered port range (e.g., 1001-1005)</description>
+ </valueHelp>
+ </properties>
+</leafNode>