summaryrefslogtreecommitdiff
path: root/interface-definitions/mdns-repeater.xml
blob: 82aa3235b032a5c1d301307d8753d3f8d03ee945 (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
<?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_sbindir}/vyos_config_mdns_repeater.py">
            <properties>
              <help>mDNS repeater configuration</help>
              <priority>990</priority>
            </properties>
            <children>
              <leafNode name="interface">
                <properties>
                  <help>Interface to repeat mdns advertisements to [REQUIRED]</help>
                  <completionHelp>
                    <script>${vyatta_sbindir}/vyatta-interfaces.pl --show all</script>
                  </completionHelp>
                  <multi/>
                </properties>
              </leafNode>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>