summaryrefslogtreecommitdiff
path: root/op-mode-definitions/multicast-group.xml.in
blob: 39b4e347cdc8fe73339bb9d1ed2d5df05d24ec9d (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
63
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="ip">
        <children>
          <node name="multicast">
            <properties>
              <help>Show IP multicast</help>
            </properties>
            <children>
              <node name="group">
                <properties>
                  <help>Show IP multicast group membership</help>
                </properties>
                <command>${vyos_op_scripts_dir}/multicast.py show_group --family inet</command>
                <children>
                  <tagNode name="interface">
                    <properties>
                      <help>Show IP multicast group membership of specific interface</help>
                      <completionHelp>
                        <script>${vyos_completion_dir}/list_interfaces</script>
                      </completionHelp>
                    </properties>
                    <command>${vyos_op_scripts_dir}/multicast.py show_group --family inet --interface "$6"</command>
                  </tagNode>
                </children>
              </node>
            </children>
          </node>
        </children>
      </node>
      <node name="ipv6">
        <children>
          <node name="multicast">
            <properties>
              <help>Show IPv6 multicast</help>
            </properties>
            <children>
              <node name="group">
                <properties>
                  <help>Show IPv6 multicast group membership</help>
                </properties>
                <command>${vyos_op_scripts_dir}/multicast.py show_group --family inet6</command>
                <children>
                  <tagNode name="interface">
                    <properties>
                      <help>Show IP multicast group membership of specific interface</help>
                      <completionHelp>
                        <script>${vyos_completion_dir}/list_interfaces</script>
                      </completionHelp>
                    </properties>
                    <command>${vyos_op_scripts_dir}/multicast.py show_group --family inet6 --interface "$6"</command>
                  </tagNode>
                </children>
              </node>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>