diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-12-03 16:32:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-03 16:32:01 +0100 |
commit | 8a38d9a1f1abfc5fc8855472a19997c1b07b820b (patch) | |
tree | a032f1507a8d07fd4c62a3b2d42f56d37d9229e9 /interface-definitions | |
parent | 28f40317f178a2825ebecc521da9d9d694415453 (diff) | |
parent | 748ebb81cf36a6db766510891d619a0d76e73d9e (diff) | |
download | vyos-1x-8a38d9a1f1abfc5fc8855472a19997c1b07b820b.tar.gz vyos-1x-8a38d9a1f1abfc5fc8855472a19997c1b07b820b.zip |
Merge pull request #1094 from DmitriyEshenko/eq-1x-03122021-01
tftp: T4012: Add TFTP VRF support
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/listen-address-vrf.xml.i | 25 | ||||
-rw-r--r-- | interface-definitions/tftp-server.xml.in | 2 |
2 files changed, 26 insertions, 1 deletions
diff --git a/interface-definitions/include/listen-address-vrf.xml.i b/interface-definitions/include/listen-address-vrf.xml.i new file mode 100644 index 000000000..7ec9eace4 --- /dev/null +++ b/interface-definitions/include/listen-address-vrf.xml.i @@ -0,0 +1,25 @@ +<!-- include start from listen-address-vrf.xml.i --> +<tagNode name="listen-address"> + <properties> + <help>Local IP addresses for service to listen on</help> + <completionHelp> + <script>${vyos_completion_dir}/list_local_ips.sh --both</script> + </completionHelp> + <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> + <constraint> + <validator name="ipv4-address"/> + <validator name="ipv6-address"/> + </constraint> + </properties> + <children> + #include <include/interface/vrf.xml.i> + </children> +</tagNode> +<!-- include end --> diff --git a/interface-definitions/tftp-server.xml.in b/interface-definitions/tftp-server.xml.in index e903e8f4e..a89c5ace8 100644 --- a/interface-definitions/tftp-server.xml.in +++ b/interface-definitions/tftp-server.xml.in @@ -33,7 +33,7 @@ </properties> <defaultValue>69</defaultValue> </leafNode> - #include <include/listen-address.xml.i> + #include <include/listen-address-vrf.xml.i> </children> </node> </children> |