Palo Alto Networks Device Framework
The Palo Alto Networks Device Framework is a powerful tool to create automations and interactions with PAN-OS devices including Next-generation Firewalls and Panorama. It is a python library intended to be simple enough for non-programmers to use to create complex and sophisticated automations that leverage the PAN-OS API. The Device Framework offers an object-oriented model of the firewall and Panorama configuration to provide an automation framework that is conceptually similar to interaction with the device via the GUI or CLI. Available on PyPi and GitHub, it is easy to get started and create fully custom automation scripts.
cancel
Showing results for 
Search instead for 
Did you mean: 

Device Framework

The Palo Alto Networks Device Framework is a powerful tool to create automations and interactions with PAN-OS devices including Next-generation Firewalls and Panorama. It is a python library intended to be simple enough for non-programmers to use to create complex and sophisticated automations that leverage the PAN-OS API. The Device Framework offers an object-oriented model of the firewall and Panorama configuration to provide an automation framework that is conceptually similar to interaction with the device via the GUI or CLI. Available on PyPi and GitHub, it is easy to get started and create fully custom automation scripts.

Device Framework Scripts and Templates

Device Framework Discussions

Author Topic Views Replies
Krasen.kolev
03-31-2022

XML API: How do I update the login-banner

Hello, I am trying to update the login-banner. I have tried this: https://<HOSTNAME>/api/type=config&action=get&xpath=/config/devices/...

posted in Automation/API Discussions

224 1
batd2
03-02-2022

PAN-OS-Python Framework load running config (refresh_from_xml)

I have a script which is doing report on multple Panorama securirty policies. It is working ok using the API, but I need run it offline using the pano...

posted in Automation/API Discussions

395 1
HermanEdwards
04-04-2022

With XML API, How does "Require audit comment on policies" check work? ( Panorama -> Management tab)

SettingsI believe adding/updating an Audit comment of a Policy rule is independent from making changes to the policies.Operational command: Audit comm...

posted in Automation/API Discussions

823 3
HermanEdwards
03-04-2022

XML API: Do we need to specify "localhost.localdomain" in the Device entry name? Why can we leave Device entry name as blank?

Scenario: While reading the 10.1 Guide and XML API guide, I see:Case1: actions where "localhost.localdomain" is included as the Device entry name in t...

posted in Automation/API Discussions

700 1
Gaurav.Singh
02-25-2022

PAN-OS-PHP Script issue while replacing services from lower device group to shared

Hello Community, I am working right now with PHP scripting to merge the services (in lower device group) to shared services and replace it service gr...

posted in Automation/API Discussions

288 0

Device Framework Blogs

Terraform Provider Version 1.6.0 Released

08-30-2019 — The 1.6.0 release contains support for aggregate interfaces, subinterfaces, VLANs, policy based forwarding rules, multiple profile types, and the Google Cloud Platform (GCP) Panorama plugin.

Tags: GCP Google Cloud Platform pan-os panorama provider panos terraform Terraform provider Version 1.6.0
Labels: Automation Device Framework Terraform
3470 1 by in Automation/API Blog

Palo Alto Networks Device Framework

06-08-2017 — The Palo Alto Networks Device Framework is a powerful tool, offered as a python library, to create automations and interactions with PAN-OS devices including Next-generation Firewalls and Panorama.

Labels: Automation Device Framework
7966 1 2 by in Automation/API Blog

Device Framework Articles

Ansible Playbook to Baseline the NGFW

03-22-2021 — This quickplay solution provides an Ansible playbook to license a VM-series NGFW using an activated authcode, provide content updates, and upgrade or downgrade to a user-inputted PAN-OS software version

Labels: Ansible Featured NGFW Pan-OS pandevice Strata Configure Strata Deploym
2198 1 by in Quickplay Solutions Articles