diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-10-06 07:57:34 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-10-06 07:57:34 +0200 |
commit | 0ca6d38c846a2a04c43e79e6cf1ba65831979e2f (patch) | |
tree | 6c70df6e9c75cd60b59541369e7cf043f0880d17 /interface-definitions/include/listen-address.xml.i | |
parent | 989d1f6a9603a8982647485162dfaa7c65e05f17 (diff) | |
download | vyos-1x-0ca6d38c846a2a04c43e79e6cf1ba65831979e2f.tar.gz vyos-1x-0ca6d38c846a2a04c43e79e6cf1ba65831979e2f.zip |
xml: include: add common helper file for listen-address
Diffstat (limited to 'interface-definitions/include/listen-address.xml.i')
-rw-r--r-- | interface-definitions/include/listen-address.xml.i | 20 |
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 --> |