summaryrefslogtreecommitdiff
path: root/interface-definitions/tftp-server.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/tftp-server.xml.in')
-rw-r--r--interface-definitions/tftp-server.xml.in32
1 files changed, 2 insertions, 30 deletions
diff --git a/interface-definitions/tftp-server.xml.in b/interface-definitions/tftp-server.xml.in
index 2874b034c..6458aaba2 100644
--- a/interface-definitions/tftp-server.xml.in
+++ b/interface-definitions/tftp-server.xml.in
@@ -20,36 +20,8 @@
<valueless/>
</properties>
</leafNode>
- <leafNode name="port">
- <properties>
- <help>Port for TFTP service</help>
- <valueHelp>
- <format>1-65535</format>
- <description>Numeric IP port (default: 69)</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-65535"/>
- </constraint>
- </properties>
- </leafNode>
- <leafNode name="listen-address">
- <properties>
- <help>Addresses for TFTP server to listen [REQUIRED]</help>
- <valueHelp>
- <format>ipv4</format>
- <description>TFTP IPv4 listen address</description>
- </valueHelp>
- <valueHelp>
- <format>ipv6</format>
- <description>TFTP IPv6 listen address</description>
- </valueHelp>
- <multi/>
- <constraint>
- <validator name="ipv4-address"/>
- <validator name="ipv6-address"/>
- </constraint>
- </properties>
- </leafNode>
+ #include <include/port-number.xml.i>
+ #include <include/listen-address.xml.i>
</children>
</node>
</children>