summaryrefslogtreecommitdiff
path: root/interface-definitions/mdns-repeater.xml.in
blob: a5932129463c51efd1dd9f0f763ae321918d8ce4 (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
33
34
35
36
37
38
<?xml version="1.0"?>
<!-- mDNS repeater configuration -->
<interfaceDefinition>
  <node name="service">
    <children>
      <node name="mdns">
        <properties>
          <help>Multicast DNS (mDNS) parameters</help>
        </properties>
        <children>
          <node name="repeater" owner="${vyos_conf_scripts_dir}/mdns_repeater.py">
            <properties>
              <help>mDNS repeater configuration</help>
              <priority>990</priority>
            </properties>
            <children>
              <leafNode name="disable">
                <properties>
                  <help>Disable mDNS repeater service</help>
                  <valueless/>
                </properties>
              </leafNode>
              <leafNode name="interface">
                <properties>
                  <help>Interface to repeat mDNS advertisements [REQUIRED]</help>
                  <completionHelp>
                    <script>${vyos_completion_dir}/list_interfaces.py</script>
                  </completionHelp>
                  <multi/>
                </properties>
              </leafNode>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>