summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2021-11-22 20:55:06 +0000
committerDmitriyEshenko <dmitriy.eshenko@vyos.io>2021-11-23 08:12:41 +0000
commit6f0249e39164b9d59de6550337e2901e5ed9ebf1 (patch)
tree5c50249d6411e626eae613c0bbe8d9ea3ba6b91f /interface-definitions/include
parent82ea3b4f3c12023ce17f1062785b6238f457673d (diff)
downloadvyos-1x-6f0249e39164b9d59de6550337e2901e5ed9ebf1.tar.gz
vyos-1x-6f0249e39164b9d59de6550337e2901e5ed9ebf1.zip
tftp: T4012: Add TFTP VRF support
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/listen-address-vrf.xml.i25
1 files changed, 25 insertions, 0 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 -->