summaryrefslogtreecommitdiff
path: root/op-mode-definitions/zone-policy.xml.in
blob: 9d65ddd3d9928fdc1a3f8a7a94a8355a886e2fc1 (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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="zone-policy">
        <properties>
          <help>Show zone policy information</help>
        </properties>
        <children>
          <tagNode name="zone">
            <properties>
              <help>Show summary of zone policy for a specific zone</help>
              <completionHelp>
                <path>firewall zone</path>
              </completionHelp>
            </properties>
            <command>sudo ${vyos_op_scripts_dir}/zone.py show --zone $4</command>
          </tagNode>
        </children>
        <command>sudo ${vyos_op_scripts_dir}/zone.py show</command>
      </node>
    </children>
  </node>
</interfaceDefinition>