summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-17 15:37:09 +0200
committerGitHub <noreply@github.com>2023-05-17 15:37:09 +0200
commitd9c495144d1bcd22e5450fdaa268f34e0c70e636 (patch)
treef318be35bd51f0804ac3a9254359c423de4de605 /interface-definitions
parente02a722a3e95696d83abf7fe78893fbb67f40ad3 (diff)
parentbbd4bcb4c972f6df43c40b119419abcea3daad21 (diff)
downloadvyos-1x-d9c495144d1bcd22e5450fdaa268f34e0c70e636.tar.gz
vyos-1x-d9c495144d1bcd22e5450fdaa268f34e0c70e636.zip
Merge pull request #2009 from indrajitr/mdns-improvements
mdns: T5227: Add support for browse domains and service filters
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/service-mdns-repeater.xml.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/interface-definitions/service-mdns-repeater.xml.in b/interface-definitions/service-mdns-repeater.xml.in
index 9a94f1488..2cd92dbf2 100644
--- a/interface-definitions/service-mdns-repeater.xml.in
+++ b/interface-definitions/service-mdns-repeater.xml.in
@@ -15,6 +15,32 @@
<children>
#include <include/generic-disable-node.xml.i>
#include <include/generic-interface-multi.xml.i>
+ <leafNode name="browse-domain">
+ <properties>
+ <help>mDNS browsing domains in addition to the default one</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>mDNS browsing domain</description>
+ </valueHelp>
+ <constraint>
+ <validator name="fqdn"/>
+ </constraint>
+ <multi/>
+ </properties>
+ </leafNode>
+ <leafNode name="allow-service">
+ <properties>
+ <help>Allowed mDNS services to be repeated</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>mDNS service</description>
+ </valueHelp>
+ <constraint>
+ #include <include/constraint/alpha-numeric-hyphen-underscore.xml.i>
+ </constraint>
+ <multi/>
+ </properties>
+ </leafNode>
<leafNode name="vrrp-disable">
<properties>
<help>Disables mDNS repeater on VRRP interfaces not in MASTER state</help>