<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="firewall">
        <properties>
          <help>Show firewall information</help>
        </properties>
        <children>
          <tagNode name="group">
            <properties>
              <help>Show firewall group</help>
              <completionHelp>
                <path>firewall group address-group</path>
                <path>firewall group network-group</path>
                <path>firewall group port-group</path>
                <path>firewall group interface-group</path>
                <path>firewall group ipv6-address-group</path>
                <path>firewall group ipv6-network-group</path>
              </completionHelp>
            </properties>
            <children>
              <leafNode name="detail">
                <properties>
                  <help>Show list view of firewall groups</help>
                  <completionHelp>
                    <path>firewall group detail</path>
                  </completionHelp>
                </properties>
                <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show_group --name $4 --detail $5</command>
              </leafNode>
            </children>
            <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show_group --name $4</command>
          </tagNode>
          <node name="group">
            <properties>
              <help>Show firewall group</help>
            </properties>
            <children>
              <leafNode name="detail">
                <properties>
                  <help>Show list view of firewall group</help>
                  <completionHelp>
                    <path>firewall group detail</path>
                  </completionHelp>
                </properties>
                <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show_group --detail $4</command>
              </leafNode>
            </children>
            <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show_group</command>
          </node>
          <node name="bridge">
            <properties>
              <help>Show bridge firewall</help>
            </properties>
            <children>
              <node name="forward">
                <properties>
                  <help>Show bridge forward firewall ruleset</help>
                </properties>
                <children>
                  <node name="filter">
                    <properties>
                      <help>Show bridge forward filter firewall ruleset</help>
                    </properties>
                    <children>
                      <leafNode name="detail">
                        <properties>
                          <help>Show list view of bridge forward filter firewall rules</help>
                          <completionHelp>
                            <path>firewall bridge forward filter detail</path>
                          </completionHelp>
                        </properties>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --detail $6</command>
                      </leafNode>
                      <tagNode name="rule">
                        <properties>
                          <help>Show summary of bridge forward filter firewall rules</help>
                          <completionHelp>
                            <path>firewall bridge forward filter rule</path>
                          </completionHelp>
                        </properties>
                        <children>
                          <leafNode name="detail">
                            <properties>
                              <help>Show list view of specific bridge forward filter firewall rule</help>
                              <completionHelp>
                                <path>firewall bridge forward filter detail</path>
                              </completionHelp>
                            </properties>
                            <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7 --detail $8</command>
                          </leafNode>
                        </children>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7</command>
                      </tagNode>
                    </children>
                    <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5</command>
                  </node>
                </children>
              </node>
              <tagNode name="name">
                <properties>
                  <help>Show bridge custom firewall chains</help>
                  <completionHelp>
                    <path>firewall bridge name</path>
                  </completionHelp>
                </properties>
                <children>
                  <leafNode name="detail">
                    <properties>
                      <help>Show list view of bridge custom firewall chains</help>
                      <completionHelp>
                        <path>firewall bridge name detail</path>
                      </completionHelp>
                    </properties>
                    <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --detail $6</command>
                  </leafNode>
                  <tagNode name="rule">
                    <properties>
                      <help>Show summary of bridge custom firewall ruleset</help>
                      <completionHelp>
                        <path>firewall bridge name ${COMP_WORDS[4]} rule</path>
                      </completionHelp>
                    </properties>
                    <children>
                      <leafNode name="detail">
                        <properties>
                          <help>Show list view of bridge custom firewall rules</help>
                          <completionHelp>
                            <path>firewall bridge name ${COMP_WORDS[4]} rule detail</path>
                          </completionHelp>
                        </properties>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7 --detail $8</command>
                      </leafNode>
                    </children>
                    <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7</command>
                  </tagNode>
                </children>
                <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5</command>
              </tagNode>
            </children>
            <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show_family --family $3</command>
          </node>
          <node name="ipv6">
            <properties>
              <help>Show IPv6 firewall</help>
            </properties>
            <children>
              <node name="forward">
                <properties>
                  <help>Show IPv6 forward firewall ruleset</help>
                </properties>
                <children>
                  <node name="filter">
                    <properties>
                      <help>Show IPv6 forward filter firewall ruleset</help>
                    </properties>
                    <children>
                      <leafNode name="detail">
                        <properties>
                          <help>Show list view of IPv6 forward filter firewall ruleset</help>
                          <completionHelp>
                            <path>firewall ipv6 forward filter detail</path>
                          </completionHelp>
                        </properties>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --detail $6</command>
                      </leafNode>
                      <tagNode name="rule">
                        <properties>
                          <help>Show summary of IPv6 forward filter firewall rules</help>
                          <completionHelp>
                            <path>firewall ipv6 forward filter rule</path>
                          </completionHelp>
                        </properties>
                        <children>
                          <leafNode name="detail">
                            <properties>
                              <help>Show list view of IPv6 forward filter firewall rules</help>
                              <completionHelp>
                                <path>firewall ipv6 forward filter rule detail</path>
                              </completionHelp>
                            </properties>
                            <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7 --detail $8</command>
                          </leafNode>
                        </children>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7</command>
                      </tagNode>
                    </children>
                    <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5</command>
                  </node>
                </children>
              </node>
              <node name="input">
                <properties>
                  <help>Show IPv6 input firewall ruleset</help>
                </properties>
                <children>
                  <node name="filter">
                    <properties>
                      <help>Show IPv6 forward input firewall ruleset</help>
                    </properties>
                    <children>
                      <leafNode name="detail">
                        <properties>
                          <help>Show list view of IPv6 input firewall ruleset</help>
                          <completionHelp>
                            <path>firewall ipv6 input filter detail</path>
                          </completionHelp>
                        </properties>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --detail $6</command>
                      </leafNode>
                      <tagNode name="rule">
                        <properties>
                          <help>Show summary of IPv6 input filter firewall rules</help>
                          <completionHelp>
                            <path>firewall ipv6 input filter rule</path>
                          </completionHelp>
                        </properties>
                        <children>
                          <leafNode name="detail">
                            <properties>
                              <help>Show list view of IPv6 input filter firewall rules</help>
                              <completionHelp>
                                <path>firewall ipv6 input filter rule detail</path>
                              </completionHelp>
                            </properties>
                            <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7 --detail $8</command>
                          </leafNode>
                        </children>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7</command>
                      </tagNode>
                    </children>
                    <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5</command>
                  </node>
                </children>
              </node>
              <node name="output">
                <properties>
                  <help>Show IPv6 output firewall ruleset</help>
                </properties>
                <children>
                  <node name="filter">
                    <properties>
                      <help>Show IPv6 output filter firewall ruleset</help>
                    </properties>
                    <children>
                      <leafNode name="detail">
                        <properties>
                          <help>Show list view of IPv6 output input firewall ruleset</help>
                          <completionHelp>
                            <path>firewall ipv6 output filter detail</path>
                          </completionHelp>
                        </properties>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --detail $6</command>
                      </leafNode>
                      <tagNode name="rule">
                        <properties>
                          <help>Show summary of IPv6 output filter firewall rules</help>
                          <completionHelp>
                            <path>firewall ipv6 output filter rule</path>
                          </completionHelp>
                        </properties>
                        <children>
                          <leafNode name="detail">
                            <properties>
                              <help>Show list view of IPv6 output filter firewall rules</help>
                              <completionHelp>
                                <path>firewall ipv6 output filter rule detail</path>
                              </completionHelp>
                            </properties>
                            <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7 --detail $8</command>
                          </leafNode>
                        </children>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7</command>
                      </tagNode>
                    </children>
                    <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5</command>
                  </node>
                </children>
              </node>
              <tagNode name="name">
                <properties>
                  <help>Show IPv6 custom firewall chains</help>
                  <completionHelp>
                    <path>firewall ipv6 name</path>
                  </completionHelp>
                </properties>
                <children>
                  <leafNode name="detail">
                    <properties>
                      <help>Show list view of IPv6 custom firewall chains</help>
                      <completionHelp>
                        <path>firewall ipv6 name detail</path>
                      </completionHelp>
                    </properties>
                    <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --detail $6</command>
                  </leafNode>
                  <tagNode name="rule">
                    <properties>
                      <help>Show summary of IPv6 custom firewall ruleset</help>
                      <completionHelp>
                        <path>firewall ipv6 name ${COMP_WORDS[4]} rule</path>
                      </completionHelp>
                    </properties>
                    <children>
                      <leafNode name="detail">
                        <properties>
                          <help>Show list view of IPv6 custom firewall rules</help>
                          <completionHelp>
                            <path>firewall ipv6 name ${COMP_WORDS[4]} rule detail</path>
                          </completionHelp>
                        </properties>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7 --detail $8</command>
                      </leafNode>
                    </children>
                    <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7</command>
                  </tagNode>
                </children>
                <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5</command>
              </tagNode>
            </children>
            <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show_family --family $3</command>
          </node>
          <node name="ipv4">
            <properties>
              <help>Show IPv4 firewall</help>
            </properties>
            <children>
              <node name="forward">
                <properties>
                  <help>Show IPv4 forward firewall ruleset</help>
                </properties>
                <children>
                  <node name="filter">
                    <properties>
                      <help>Show IPv4 forward filter firewall ruleset</help>
                    </properties>
                    <children>
                      <leafNode name="detail">
                        <properties>
                          <help>Show list view of IPv4 forward filter firewall ruleset</help>
                          <completionHelp>
                            <path>firewall ipv4 forward filter detail</path>
                          </completionHelp>
                        </properties>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --detail $6</command>
                      </leafNode>
                      <tagNode name="rule">
                        <properties>
                          <help>Show summary of IPv4 forward filter firewall rules</help>
                          <completionHelp>
                            <path>firewall ipv4 forward filter rule</path>
                          </completionHelp>
                        </properties>
                        <children>
                          <leafNode name="detail">
                            <properties>
                              <help>Show list view of IPv4 forward filter firewall rules</help>
                              <completionHelp>
                                <path>firewall ipv4 forward filter rule detail</path>
                              </completionHelp>
                            </properties>
                            <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7 --detail $8</command>
                          </leafNode>
                        </children>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7</command>
                      </tagNode>
                    </children>
                    <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5</command>
                  </node>
                </children>
              </node>
              <node name="input">
                <properties>
                  <help>Show IPv4 input firewall ruleset</help>
                </properties>
                <children>
                  <node name="filter">
                    <properties>
                      <help>Show IPv4 forward input firewall ruleset</help>
                    </properties>
                    <children>
                      <leafNode name="detail">
                        <properties>
                          <help>Show list view of IPv4 input filter firewall ruleset</help>
                          <completionHelp>
                            <path>firewall ipv4 input filter detail</path>
                          </completionHelp>
                        </properties>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --detail $6</command>
                      </leafNode>
                      <tagNode name="rule">
                        <properties>
                          <help>Show summary of IPv4 input filter firewall rules</help>
                          <completionHelp>
                            <path>firewall ipv4 input filter rule</path>
                          </completionHelp>
                        </properties>
                        <children>
                          <leafNode name="detail">
                            <properties>
                              <help>Show list view of IPv4 input filter firewall rules</help>
                              <completionHelp>
                                <path>firewall ipv4 input filter rule detail</path>
                              </completionHelp>
                            </properties>
                            <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7 --detail $8</command>
                          </leafNode>
                        </children>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7</command>
                      </tagNode>
                    </children>
                    <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5</command>
                  </node>
                </children>
              </node>
              <node name="output">
                <properties>
                  <help>Show IPv4 output firewall ruleset</help>
                </properties>
                <children>
                  <node name="filter">
                    <properties>
                      <help>Show IPv4 output filter firewall ruleset</help>
                    </properties>
                    <children>
                      <leafNode name="detail">
                        <properties>
                          <help>Show list view of IPv4 output filter firewall ruleset</help>
                          <completionHelp>
                            <path>firewall ipv4 input output detail</path>
                          </completionHelp>
                        </properties>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --detail $6</command>
                      </leafNode>
                      <tagNode name="rule">
                        <properties>
                          <help>Show summary of IPv4 output filter firewall rules</help>
                          <completionHelp>
                            <path>firewall ipv4 output filter rule</path>
                          </completionHelp>
                        </properties>
                        <children>
                          <leafNode name="detail">
                            <properties>
                              <help>Show list view of IPv4 output filter firewall rules</help>
                              <completionHelp>
                                <path>firewall ipv4 input output rule detail</path>
                              </completionHelp>
                            </properties>
                            <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7 --detail $8</command>
                          </leafNode>
                        </children>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7</command>
                      </tagNode>
                    </children>
                    <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5</command>
                  </node>
                </children>
              </node>
              <tagNode name="name">
                <properties>
                  <help>Show IPv4 custom firewall chains</help>
                  <completionHelp>
                    <path>firewall ipv4 name</path>
                  </completionHelp>
                </properties>
                <children>
                  <leafNode name="detail">
                    <properties>
                      <help>Show list view of IPv4 custom firewall chains</help>
                      <completionHelp>
                        <path>firewall ipv4 name detail</path>
                      </completionHelp>
                    </properties>
                    <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --detail $6</command>
                  </leafNode>
                  <tagNode name="rule">
                    <properties>
                      <help>Show summary of IPv4 custom firewall ruleset</help>
                      <completionHelp>
                        <path>firewall ipv4 name ${COMP_WORDS[4]} rule</path>
                      </completionHelp>
                    </properties>
                    <children>
                      <leafNode name="detail">
                        <properties>
                          <help>Show list view of IPv4 custom firewall ruleset</help>
                          <completionHelp>
                            <path>firewall ipv4 name ${COMP_WORDS[4]} rule detail</path>
                          </completionHelp>
                        </properties>
                        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7 --detail $8</command>
                      </leafNode>
                    </children>
                    <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7</command>
                  </tagNode>
                </children>
                <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5</command>
              </tagNode>
            </children>
          <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show_family --family $3</command>
          </node>
          <node name="statistics">
            <properties>
              <help>Show statistics of firewall application</help>
            </properties>
            <children>
              <leafNode name="detail">
                <properties>
                  <help>Show list view of firewall statistics</help>
                  <completionHelp>
                    <path>firewall statistics detail</path>
                  </completionHelp>
                </properties>
                <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show_statistics --detail $4</command>
              </leafNode>
            </children>
            <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show_statistics</command>
          </node>
          <leafNode name="summary">
            <properties>
              <help>Show summary of firewall application</help>
            </properties>
            <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show_summary</command>
          </leafNode>
          <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 $5</command>
              </tagNode>
            </children>
            <command>sudo ${vyos_op_scripts_dir}/zone.py show</command>
          </node>
        </children>
        <command>sudo ${vyos_op_scripts_dir}/firewall.py --action show_all</command>
      </node>
    </children>
  </node>
</interfaceDefinition>