Learn about Firewall Zones and how to use the openconfig-zones model with the PAN-OS OpenConfig plugin. Find more information and guides on managing firewall zones and their behavior.
Firewall Zones Behavior
You can use the firewall zones OpenConfig model to manage zones that contain
firewalls as you would using the PAN-OS XML API. Each of the firewall zones contain
interfaces that you can manage together to segment your network. The more segmented
your zones, the more control you have over your network.
Review the deviation file before using the
openconfig-zones model to familiarize yourself with supported paths. The deviation
file contains which paths Palo Alto Networks currently supports.
When using the openconfig-zones model, do not submit an empty zone,
instead make sure to include at least one interface.
Create a Zone
The following request creates a new zone and sets the firewall zone type to
layer3.
gnmic -a localhost --port 9339 -u username -p password --timeout 300s --skip-verify -e JSON_IETF set --update-path "/zones" --update-file new-zone.json