summaryrefslogtreecommitdiff
path: root/interface-definitions/mdns-repeater.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2017-12-09 13:34:43 +0100
committerChristian Poessinger <christian@poessinger.com>2017-12-09 13:34:43 +0100
commitae1e4c704bb324831fb15b6e243710f94700d3f2 (patch)
tree0d4160c06d10d435f01c021ce8b8fac4791f1280 /interface-definitions/mdns-repeater.xml
parent3939aedea2cf488eb4639c4ca69756997aed6a7c (diff)
parenta919de476a97a9037c49207d04aae18118ef3fd7 (diff)
downloadvyos-1x-ae1e4c704bb324831fb15b6e243710f94700d3f2.tar.gz
vyos-1x-ae1e4c704bb324831fb15b6e243710f94700d3f2.zip
Merge branch 'add-mdns-repeater' into current
* add-mdns-repeater: Update 'debian/changelog' Add 'vyos-update-mdns-repeater.py' functionality Bugfix: 'multi:' statement must be on top of generated 'node.def' file Initial interface description for 'mdns repeater' Add debian packaging files to .gitignore
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>