summaryrefslogtreecommitdiff
path: root/op-mode-definitions/mdns-reflector.xml.in
blob: a90d4d38580010c83aa0094eed9c8bd7021ba453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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>