summaryrefslogtreecommitdiff
path: root/interface-definitions/service_mdns-repeater.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-07-29 17:31:35 +0200
committerChristian Poessinger <christian@poessinger.com>2020-07-29 17:40:27 +0200
commit9f7ef46636c8b995a3b758484324db4bc9a4df37 (patch)
tree45546642e6e01c9ef9dc2f7740f157d21152e359 /interface-definitions/service_mdns-repeater.xml.in
parent4191b076f17395550b2ef109863fc283db7cbea4 (diff)
downloadvyos-1x-9f7ef46636c8b995a3b758484324db4bc9a4df37.tar.gz
vyos-1x-9f7ef46636c8b995a3b758484324db4bc9a4df37.zip
mdns-repeater: T2742: migrate to get_config_dict()
Diffstat (limited to 'interface-definitions/service_mdns-repeater.xml.in')
-rw-r--r--interface-definitions/service_mdns-repeater.xml.in37
1 files changed, 37 insertions, 0 deletions
diff --git a/interface-definitions/service_mdns-repeater.xml.in b/interface-definitions/service_mdns-repeater.xml.in
new file mode 100644
index 000000000..e21b1b27c
--- /dev/null
+++ b/interface-definitions/service_mdns-repeater.xml.in
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<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}/service_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>