summaryrefslogtreecommitdiff
path: root/interface-definitions/tftp-server.xml.in
blob: 8ca4da883f92613f4bdbd356699d513c76197a1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0"?>
<!-- TFTP configuration -->
<interfaceDefinition>
  <node name="service">
    <children>
      <node name="tftp-server" owner="${vyos_conf_scripts_dir}/tftp_server.py">
        <properties>
          <help>Trivial File Transfer Protocol (TFTP) server</help>
          <priority>990</priority>
        </properties>
        <children>
          <leafNode name="directory">
            <properties>
              <help>Folder containing files served by TFTP</help>
            </properties>
          </leafNode>
          <leafNode name="allow-upload">
            <properties>
              <help>Allow TFTP file uploads</help>
              <valueless/>
            </properties>
          </leafNode>
          #include <include/port-number.xml.i>
          <leafNode name="port">
            <defaultValue>69</defaultValue>
          </leafNode>
          #include <include/listen-address-vrf.xml.i>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>