summaryrefslogtreecommitdiff
path: root/interface-definitions/mdns-repeater.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/mdns-repeater.xml.in')
-rw-r--r--interface-definitions/mdns-repeater.xml.in38
1 files changed, 38 insertions, 0 deletions
diff --git a/interface-definitions/mdns-repeater.xml.in b/interface-definitions/mdns-repeater.xml.in
new file mode 100644
index 000000000..a59321294
--- /dev/null
+++ b/interface-definitions/mdns-repeater.xml.in
@@ -0,0 +1,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>