summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-conntrack.xml.in
blob: 792623d7d54fbd5ee37a0f9e770609c3abadcf79 (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
<?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}/show_conntrack.py</command>
              </node>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>