diff options
author | Christian Breunig <christian@breunig.cc> | 2023-11-14 20:13:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 20:13:07 +0100 |
commit | aa4abbc733820c5d2398bf6357bdd1549db80d1d (patch) | |
tree | cc7eeae9f526b3d0123dab701d1195bc197501eb /interface-definitions/include/source-address-ipv4-ipv6-multi.xml.i | |
parent | d33f883e3662f79707eba7b80b11f117b1dea076 (diff) | |
parent | dccca4307339d13e5c3ae78058194baf2fd04002 (diff) | |
download | vyos-1x-aa4abbc733820c5d2398bf6357bdd1549db80d1d.tar.gz vyos-1x-aa4abbc733820c5d2398bf6357bdd1549db80d1d.zip |
Merge pull request #2479 from c-po/t5738-xml
xml: T5738: add source-address-ipv4-ipv6-multi building block
Diffstat (limited to 'interface-definitions/include/source-address-ipv4-ipv6-multi.xml.i')
-rw-r--r-- | interface-definitions/include/source-address-ipv4-ipv6-multi.xml.i | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/interface-definitions/include/source-address-ipv4-ipv6-multi.xml.i b/interface-definitions/include/source-address-ipv4-ipv6-multi.xml.i new file mode 100644 index 000000000..d56ca5be6 --- /dev/null +++ b/interface-definitions/include/source-address-ipv4-ipv6-multi.xml.i @@ -0,0 +1,22 @@ +<!-- include start from source-address-ipv4-ipv6-multi.xml.i --> +<leafNode name="source-address"> + <properties> + <help>Source IP address used to initiate connection</help> + <completionHelp> + <script>${vyos_completion_dir}/list_local_ips.sh --both</script> + </completionHelp> + <valueHelp> + <format>ipv4</format> + <description>IPv4 source address</description> + </valueHelp> + <valueHelp> + <format>ipv6</format> + <description>IPv6 source address</description> + </valueHelp> + <constraint> + <validator name="ip-address"/> + </constraint> + <multi/> + </properties> +</leafNode> +<!-- include end --> |