summaryrefslogtreecommitdiff
path: root/interface-definitions/mdns-repeater.xml
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/mdns-repeater.xml')
-rw-r--r--interface-definitions/mdns-repeater.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/interface-definitions/mdns-repeater.xml b/interface-definitions/mdns-repeater.xml
new file mode 100644
index 000000000..706906b37
--- /dev/null
+++ b/interface-definitions/mdns-repeater.xml
@@ -0,0 +1,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>999</priority>
+ </properties>
+ <children>
+ <leafNode name="interfaces">
+ <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>