summaryrefslogtreecommitdiff
path: root/interface-definitions/tftp-server.xml.in
blob: 6458aaba2167ac825e4b5b6fc36ec7b5c66c428c (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
<?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 [REQUIRED]</help>
            </properties>
          </leafNode>
          <leafNode name="allow-upload">
            <properties>
              <help>Allow TFTP file uploads</help>
              <valueless/>
            </properties>
          </leafNode>
          #include <include/port-number.xml.i>
          #include <include/listen-address.xml.i>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>