summaryrefslogtreecommitdiff
path: root/op-mode-definitions/mdns-reflector.xml.in
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-11-06 19:18:52 -0600
committerIndrajit Raychaudhuri <irc@indrajit.com>2023-11-06 19:19:52 -0600
commitace8a25552fa7f2b2369a385ed8933feb66f355b (patch)
tree9e07bb32ebe17560b1b115c0487d0f3ee1b39f64 /op-mode-definitions/mdns-reflector.xml.in
parent9bdcf318cc4c70d21d71bd3ae1795e2f5080e00c (diff)
downloadvyos-1x-ace8a25552fa7f2b2369a385ed8933feb66f355b.tar.gz
vyos-1x-ace8a25552fa7f2b2369a385ed8933feb66f355b.zip
mdns: T5719: Add op-mode commands to mDNS repeater
The following ones are available now: - restart mdns repeater - show log mdns repeater - monitor log mdns repeater
Diffstat (limited to 'op-mode-definitions/mdns-reflector.xml.in')
-rw-r--r--op-mode-definitions/mdns-reflector.xml.in62
1 files changed, 62 insertions, 0 deletions
diff --git a/op-mode-definitions/mdns-reflector.xml.in b/op-mode-definitions/mdns-reflector.xml.in
new file mode 100644
index 000000000..a90d4d385
--- /dev/null
+++ b/op-mode-definitions/mdns-reflector.xml.in
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="monitor">
+ <children>
+ <node name="log">
+ <children>
+ <node name="mdns">
+ <properties>
+ <help>Monitor last lines of multicast Domain Name System related services</help>
+ </properties>
+ <children>
+ <node name="repeater">
+ <properties>
+ <help>Monitor last lines of mDNS repeater service</help>
+ </properties>
+ <command>journalctl --no-hostname --follow --boot --unit avahi-daemon.service</command>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+ <node name="show">
+ <children>
+ <node name="log">
+ <children>
+ <node name="mdns">
+ <properties>
+ <help>Show log for multicast Domain Name System related services</help>
+ </properties>
+ <children>
+ <node name="repeater">
+ <properties>
+ <help>Show log for mDNS repeater service</help>
+ </properties>
+ <command>journalctl --no-hostname --boot --unit avahi-daemon.service</command>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+ <node name="restart">
+ <children>
+ <node name="mdns">
+ <properties>
+ <help>Restart specific multicast Domain Name System service</help>
+ </properties>
+ <children>
+ <node name="repeater">
+ <properties>
+ <help>Restart mDNS repeater service</help>
+ </properties>
+ <command>sudo systemctl restart avahi-daemon.service</command>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>