summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-conntrack.xml.in
blob: 8d921e6a5e740d29a93bb55085956c301ffaec1e (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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="conntrack">
        <properties>
          <help>Show conntrack tables entries</help>
        </properties>
        <children>
          <node name="table">
            <properties>
              <help>Show conntrack entries for table</help>
            </properties>
            <children>
              <node name="ipv4">
                <properties>
                  <help>Show conntrack entries for IPv4 protocol</help>
                </properties>
                <command>sudo ${vyos_op_scripts_dir}/conntrack.py show --family inet</command>
              </node>
              <node name="ipv6">
                <properties>
                  <help>Show conntrack entries for IPv6 protocol</help>
                </properties>
                <command>sudo ${vyos_op_scripts_dir}/conntrack.py show --family inet6</command>
              </node>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>