summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-06 07:57:34 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-06 07:57:34 +0200
commit0ca6d38c846a2a04c43e79e6cf1ba65831979e2f (patch)
tree6c70df6e9c75cd60b59541369e7cf043f0880d17 /interface-definitions/include
parent989d1f6a9603a8982647485162dfaa7c65e05f17 (diff)
downloadvyos-1x-0ca6d38c846a2a04c43e79e6cf1ba65831979e2f.tar.gz
vyos-1x-0ca6d38c846a2a04c43e79e6cf1ba65831979e2f.zip
xml: include: add common helper file for listen-address
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/listen-address.xml.i20
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/include/listen-address.xml.i b/interface-definitions/include/listen-address.xml.i
new file mode 100644
index 000000000..e474344e4
--- /dev/null
+++ b/interface-definitions/include/listen-address.xml.i
@@ -0,0 +1,20 @@
+<!-- included start from listen-address.xml.i -->
+<leafNode name="listen-address">
+ <properties>
+ <help>Local IP addresses for service to listen on</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IP address to listen for incoming connections</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>IPv6 address to listen for incoming connections</description>
+ </valueHelp>
+ <multi/>
+ <constraint>
+ <validator name="ipv4-address"/>
+ <validator name="ipv6-address"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- included end -->