summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show_vpp_nat44.xml.in
blob: 44fa28e33613c7db8396009446cfcb888ad0296e (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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="vpp">
        <properties>
          <help>Show VPP information</help>
        </properties>
        <children>
          <node name="nat">
            <children>
              <node name="nat44">
                <properties>
                  <help>Show VPP NAT44 information</help>
                </properties>
                <children>
                  <node name="static">
                    <properties>
                      <help>Show VPP NAT44 static mapping</help>
                    </properties>
                    <command>sudo ${vyos_op_scripts_dir}/vpp_nat_nat44.py show_static</command>
                  </node>
                  <node name="sessions">
                    <properties>
                      <help>Show VPP NAT44 sessions</help>
                    </properties>
                    <command>sudo ${vyos_op_scripts_dir}/vpp_nat_nat44.py show_sessions</command>
                  </node>
                  <node name="summary">
                    <properties>
                      <help>Show VPP NAT44 summary</help>
                    </properties>
                    <command>sudo ${vyos_op_scripts_dir}/vpp_nat_nat44.py show_summary</command>
                  </node>
                  <node name="addresses">
                    <properties>
                      <help>Show VPP NAT44 pool addresses</help>
                    </properties>
                    <command>sudo ${vyos_op_scripts_dir}/vpp_nat_nat44.py show_addresses</command>
                  </node>
                  <node name="interfaces">
                    <properties>
                      <help>Show VPP NAT44 interfaces</help>
                    </properties>
                    <command>sudo ${vyos_op_scripts_dir}/vpp_nat_nat44.py show_interfaces</command>
                  </node>
                </children>
              </node>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>