Skip to content

An efficient tool to execute configuration backups, network state snapshots, system readiness checks, and operating system upgrades of Palo Alto Networks firewalls and Panorama appliances.

License

Notifications You must be signed in to change notification settings

cdot65/pan-os-upgrade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Contributors Forks Stargazers Issues Apache2.0 License


Logo

PAN-OS and Panorama Upgrade Automation

Streamlining Upgrades of Palo Alto Networks Firewall and Panorama appliances
Documentation Website Β»

View Demo Report Bug Request Feature

Table of Contents
  1. About The Project
  2. Support
  3. Usage
  4. Key Features
  5. Logic Workflow
  6. Example Execution
  7. Contributing
  8. License
  9. Contact
  10. Acknowledgments

About The Project

pan-os-upgrade is designed to provide network administrators and security professionals with an efficient tool to execute configuration backups, network state snapshots, system readiness checks, and operating system upgrades of Palo Alto Networks firewalls and Panorama appliances.

Project Link: https://github.com/cdot65/pan-os-upgrade

Documentation Website: https://cdot65.github.io/pan-os-upgrade/

YouTube Documentation:

Video Thumbnail

Support

For details on the support provided by Palo Alto Networks for this project, please consult the SUPPORT.md file in the repository.

Key Features

  • Three Unique Upgrade Workflows Supported:
    • firewall: targets and upgrades an individual PAN-OS firewall
    • panorama: targets and upgrades an individual Panorama appliance
    • batch: targets a Panorama appliance and upgrades firewalls in bulk
  • Automation of Routine Tasks: Reduces manual errors and saves time by automating upgrades, configurations, and system checks.
  • Support for Direct and Proxy Connections: Connect directly to firewalls or through a Panorama appliance, with support for targeting specific devices using filters.
  • Pre/Post Diff: Network snapshots are taken before and after the upgrade process, providing a PDF report of changes within the network environment after the upgrade completes.
  • Active/Passive and Active/Active High Availability (HA) Workflow: Fully supports upgrading devices in active/passive or active/active HA configurations when executed in batch mode, ensuring both members are properly upgraded and synchronized.
  • Multi-threading for Efficiency: Utilizes multi-threading to parallelize upgrades, especially beneficial when upgrading multiple devices through Panorama, enhancing performance and reducing overall upgrade time.
  • Customizable and Extensible: Execution of the script can be tailored to fit diverse network environments and requirements, offering flexibility for various deployment scenarios.
  • Comprehensive PAN-OS Interactions: Facilitates extensive interactions with Palo Alto Networks appliances for operations like readiness checks, state snapshots, and report generation.

Note: While this script is optimized for standalone and active/passive HA environments, it has not been tested against active/active or clustered firewalls.

Logic Workflow

You can view the logical workflow of the pan-os-upgrade subcommands by viewing these diagrams:

Example Execution

❯ pan-os-upgrade batch
Panorama hostname or IP: panorama1.cdot.io
Panorama username: officehours
Panorama password:
Firewall target version (ex: 10.1.2): 10.1.3-h3
Dry Run? [Y/n]: n
=================================================================================================
Welcome to the PAN-OS upgrade tool

This script software is provided on an 'as-is' basis with no warranties, and no support provided.

The selected `batch` subcommand will upgrade one or more firewalls.

Settings: No settings.yaml file was found, default values will be used.
You can create a settings.yaml file with 'pan-os-upgrade settings' command.

Inventory: No inventory.yaml file was found, firewalls will need be selected through the menu.
You can create an inventory.yaml file with 'pan-os-upgrade inventory' command.
=================================================================================================
πŸš€ panorama1.cdot.io: Connection to the appliance successful.
βœ… panorama1.cdot.io: Connection to Panorama established. Firewall connections will be proxied!
πŸ”§ panorama1.cdot.io: Retrieving a list of all firewalls connected to Panorama...
πŸ”§ panorama1.cdot.io: Retrieving detailed information of each firewall...
╒═════╀════════════╀════════════════╀═════════╀═══════════╀═══════════╀═══════════╀═══════════╕
β”‚   # β”‚ Hostname   β”‚ IP Address     β”‚ Model   β”‚ PAN-OS    β”‚ Content   β”‚ HA Mode   β”‚ Preempt   β”‚
β•žβ•β•β•β•β•β•ͺ════════════β•ͺ════════════════β•ͺ═════════β•ͺ═══════════β•ͺ═══════════β•ͺ═══════════β•ͺ═══════════║
β”‚   1 β”‚ katy-fw1   β”‚ 192.168.255.41 β”‚ PA-VM   β”‚ 10.1.3-h3 β”‚ 8799-8509 β”‚ passive   β”‚ no        β”‚
β”œβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   2 β”‚ katy-fw2   β”‚ 192.168.255.42 β”‚ PA-VM   β”‚ 10.1.3-h3 β”‚ 8799-8509 β”‚ active    β”‚ no        β”‚
β”œβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   3 β”‚ lab-fw1    β”‚ 192.168.255.11 β”‚ PA-VM   β”‚ 10.1.3    β”‚ 8729-8157 β”‚ disabled  β”‚ N/A       β”‚
β”œβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   4 β”‚ lab-fw2    β”‚ 192.168.255.12 β”‚ PA-VM   β”‚ 10.1.3    β”‚ 8729-8157 β”‚ disabled  β”‚ N/A       β”‚
β”œβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   5 β”‚ lab-fw3    β”‚ 192.168.255.13 β”‚ PA-VM   β”‚ 10.1.3    β”‚ 8729-8157 β”‚ disabled  β”‚ N/A       β”‚
β”œβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   6 β”‚ lab-fw4    β”‚ 192.168.255.14 β”‚ PA-VM   β”‚ 10.1.3    β”‚ 8729-8157 β”‚ disabled  β”‚ N/A       β”‚
β”œβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   7 β”‚ lab-fw5    β”‚ 192.168.255.15 β”‚ PA-VM   β”‚ 10.1.3    β”‚ 8729-8157 β”‚ disabled  β”‚ N/A       β”‚
β”œβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   8 β”‚ lab-fw6    β”‚ 192.168.255.16 β”‚ PA-VM   β”‚ 10.1.4-h4 β”‚ 8729-8157 β”‚ active    β”‚ yes       β”‚
β”œβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   9 β”‚ lab-fw7    β”‚ 192.168.255.17 β”‚ PA-VM   β”‚ 10.1.4-h4 β”‚ 8729-8157 β”‚ passive   β”‚ yes       β”‚
β•˜β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•›
You can select devices by entering their numbers, ranges, or separated by commas.
Examples: '1', '2-4', '1,3,5-7'.
Type 'done' on a new line when finished.

Enter your selection(s): 3-4
  - lab-fw1 selected.
  - lab-fw2 selected.
Enter your selection(s): done
πŸ”§ panorama1.cdot.io: Selected 2 firewalls from inventory.yaml for upgrade.
πŸ“ panorama1.cdot.io: Upgrading 2 devices to version 10.1.3-h3...
πŸ“ panorama1.cdot.io: Please confirm the selected firewalls:
  - lab-fw1 (192.168.255.11)
  - lab-fw2 (192.168.255.12)
🟧 panorama1.cdot.io: Dry run mode is disabled, upgrade workflow will be executed.
πŸ“ panorama1.cdot.io: Do you want to proceed with the upgrade? [y/N]: y
πŸš€ Proceeding with the upgrade...
πŸš€ Proceeding with the upgrade...
πŸ”§ panorama1.cdot.io: Using 10 threads.
πŸ“ lab-fw1: 007054000654321 192.168.255.41
πŸ“ lab-fw2: 007054000654322 192.168.255.42
πŸ“ lab-fw1: HA mode: active
πŸ“ lab-fw2: HA mode: passive
πŸ“ lab-fw1: Local state: active, Local version: 10.1.3, Peer version: 10.1.3
πŸ“ lab-fw1: Version comparison: equal
πŸ” lab-fw1: Detected active target device in HA pair running the same version as its peer. Added target device to revisit list.
πŸ“ lab-fw2: Local state: passive, Local version: 10.1.3, Peer version: 10.1.3
πŸ“ lab-fw2: Version comparison: equal
πŸ“ lab-fw2: Target device is passive
πŸ“ lab-fw2: Current version: 10.1.3
πŸ“ lab-fw2: Target version: 10.1.3-h3
βœ… lab-fw2: Upgrade required from 10.1.3 to 10.1.3-h3
πŸ”§ lab-fw2: Refreshing list of available software versions
βœ… lab-fw2: version 10.1.3-h3 is available for download
βœ… lab-fw2: Base image for 10.1.3-h3 is already downloaded
πŸš€ lab-fw2: Performing test to see if 10.1.3-h3 is already downloaded.
βœ… lab-fw2: version 10.1.3-h3 already on target device.
βœ… lab-fw2: 10.1.3-h3 has been downloaded and sync'd to HA peer.
πŸš€ lab-fw2: Performing snapshot of network state information.
πŸš€ lab-fw2: Attempting to capture network state snapshot (Attempt 1 of 3).
βœ… lab-fw2: Network snapshot created successfully on attempt 1.
πŸ’Ύ lab-fw2: Network state snapshot collected and saved to assurance/snapshots/lab-fw2/pre/2024-02-25_04-14-15.json
πŸš€ lab-fw2: Performing readiness checks of target firewall.
πŸš€ lab-fw2: Performing readiness checks to determine if firewall is ready for upgrade.
βœ… lab-fw2: Passed Readiness Check: Check if active support is available
🟨 lab-fw2: Skipped Readiness Check: Check if a given ARP entry is available in the ARP table
βœ… lab-fw2: Passed Readiness Check: Check if there are pending changes on device
🟨 lab-fw2: Skipped Readiness Check: Check if the certificates' keys meet minimum size requirements
🟨 lab-fw2: Skipped Readiness Check: Running Latest Content Version
βœ… lab-fw2: Passed Readiness Check: Check if any Dynamic Update job is scheduled to run within the specified time window
βœ… lab-fw2: Passed Readiness Check: No Expired Licenses
🟨 lab-fw2: Skipped Readiness Check: Check if a there is enough space on the `/opt/panrepo` volume for downloading an PanOS image.
βœ… lab-fw2: Passed Readiness Check: Checks HA pair status from the perspective of the current device
🟨 lab-fw2: Skipped Readiness Check: Check if a given IPsec tunnel is in active state
🟨 lab-fw2: Skipped Readiness Check: Check for any job with status different than FIN
🟨 lab-fw2: Skipped Readiness Check: Check if NTP is synchronized
βœ… lab-fw2: Passed Readiness Check: Check if the clock is synchronized between dataplane and management plane
βœ… lab-fw2: Passed Readiness Check: Check connectivity with the Panorama appliance
🟨 lab-fw2: Skipped Readiness Check: Check if a critical session is present in the sessions table
βœ… lab-fw2: Readiness Checks completed
πŸš€ lab-fw2: Checking if HA peer is in sync.
βœ… lab-fw2: HA peer sync test has been completed.
πŸš€ lab-fw2: Performing backup of configuration to local filesystem.
πŸ“ lab-fw2: Not a dry run, continue with upgrade.
πŸš€ lab-fw2: Performing upgrade to version 10.1.3-h3.
πŸ“ lab-fw2: The install will take several minutes, check for status details within the GUI.
πŸš€ lab-fw2: Attempting upgrade to version 10.1.3-h3 (Attempt 1 of 3).
Device 007054000654322 installing version: 10.1.3-h3
βœ… lab-fw2: Upgrade completed successfully
πŸš€ lab-fw2: Rebooting the target device.
🟧 lab-fw2: Retry attempt 1 due to error: 007054000654322 not connected
🟧 lab-fw2: Retry attempt 2 due to error: 007054000654322 not connected
🟧 lab-fw2: Retry attempt 3 due to error: 007054000654322 not connected
🟧 lab-fw2: Retry attempt 4 due to error: 007054000654322 not connected
🟧 lab-fw2: Retry attempt 5 due to error: 007054000654322 not connected
🟧 lab-fw2: Retry attempt 6 due to error: 007054000654322 not connected
🟧 lab-fw2: Retry attempt 7 due to error: 007054000654322 not connected
🟧 lab-fw2: Retry attempt 8 due to error: 007054000654322 not connected
πŸ“ lab-fw2: Current device version: 10.1.3-h3
βœ… lab-fw2: Device rebooted to the target version successfully.
πŸš€ lab-fw2: Performing backup of configuration to local filesystem.
πŸ”§ lab-fw2: Waiting for the device to become ready for the post upgrade snapshot.
πŸš€ lab-fw2: Performing snapshot of network state information.
πŸš€ lab-fw2: Attempting to capture network state snapshot (Attempt 1 of 3).
❌ lab-fw2: Error running snapshots: ElementTree.fromstring ParseError: junk after document element: line 1, column 3703
πŸš€ lab-fw2: Attempting to capture network state snapshot (Attempt 1 of 3).
βœ… lab-fw2: Network snapshot created successfully on attempt 1.
πŸ’Ύ lab-fw2: Network state snapshot collected and saved to assurance/snapshots/lab-fw2/post/2024-02-25_04-32-05.json
πŸ’Ύ lab-fw2: Snapshot comparison PDF report saved to assurance/snapshots/lab-fw2/diff/2024-02-25_04-32-08_report.pdf
πŸš€ panorama1.cdot.io: Revisiting firewalls that were active in an HA pair and had the same version as their peers.
πŸ“ lab-fw1: 007054000654321 192.168.255.41
πŸ“ lab-fw1: HA mode: active
πŸ“ lab-fw1: Local state: active, Local version: 10.1.3, Peer version: 10.1.3-h3
Waiting for HA synchronization to complete on lab-fw1. Attempt 1/3
HA synchronization complete on lab-fw1. Proceeding with upgrade.
πŸ“ lab-fw1: Version comparison: older
πŸ“ lab-fw1: Target device is on an older version
πŸ“ lab-fw1: Suspending HA state of active
🟧 lab-fw1: Error received when suspending active target device HA state: argument of type 'NoneType' is not iterable
πŸ“ lab-fw1: Current version: 10.1.3
πŸ“ lab-fw1: Target version: 10.1.3-h3
βœ… lab-fw1: Upgrade required from 10.1.3 to 10.1.3-h3
πŸ”§ lab-fw1: Refreshing list of available software versions
βœ… lab-fw1: version 10.1.3-h3 is available for download
βœ… lab-fw1: Base image for 10.1.3-h3 is already downloaded
πŸš€ lab-fw1: Performing test to see if 10.1.3-h3 is already downloaded.
βœ… lab-fw1: version 10.1.3-h3 already on target device.
βœ… lab-fw1: 10.1.3-h3 has been downloaded and sync'd to HA peer.
πŸš€ lab-fw1: Performing snapshot of network state information.
πŸš€ lab-fw1: Attempting to capture network state snapshot (Attempt 1 of 3).
βœ… lab-fw1: Network snapshot created successfully on attempt 1.
πŸ’Ύ lab-fw1: Network state snapshot collected and saved to assurance/snapshots/lab-fw1/pre/2024-02-25_04-33-26.json
πŸš€ lab-fw1: Performing readiness checks of target firewall.
πŸš€ lab-fw1: Performing readiness checks to determine if firewall is ready for upgrade.
βœ… lab-fw1: Passed Readiness Check: Check if active support is available
🟨 lab-fw1: Skipped Readiness Check: Check if a given ARP entry is available in the ARP table
βœ… lab-fw1: Passed Readiness Check: Check if there are pending changes on device
🟨 lab-fw1: Skipped Readiness Check: Check if the certificates' keys meet minimum size requirements
🟨 lab-fw1: Skipped Readiness Check: Running Latest Content Version
βœ… lab-fw1: Passed Readiness Check: Check if any Dynamic Update job is scheduled to run within the specified time window
βœ… lab-fw1: Passed Readiness Check: No Expired Licenses
🟨 lab-fw1: Skipped Readiness Check: Check if a there is enough space on the `/opt/panrepo` volume for downloading an PanOS image.
🟨 lab-fw1: Skipped Readiness Check: Checks HA pair status from the perspective of the current device
🟨 lab-fw1: Skipped Readiness Check: Check if a given IPsec tunnel is in active state
🟨 lab-fw1: Skipped Readiness Check: Check for any job with status different than FIN
🟨 lab-fw1: Skipped Readiness Check: Check if NTP is synchronized
βœ… lab-fw1: Passed Readiness Check: Check if the clock is synchronized between dataplane and management plane
βœ… lab-fw1: Passed Readiness Check: Check connectivity with the Panorama appliance
🟨 lab-fw1: Skipped Readiness Check: Check if a critical session is present in the sessions table
βœ… lab-fw1: Readiness Checks completed
πŸš€ lab-fw1: Checking if HA peer is in sync.
βœ… lab-fw1: HA peer sync test has been completed.
πŸš€ lab-fw1: Performing backup of configuration to local filesystem.
πŸ“ lab-fw1: Not a dry run, continue with upgrade.
πŸš€ lab-fw1: Performing upgrade to version 10.1.3-h3.
πŸ“ lab-fw1: The install will take several minutes, check for status details within the GUI.
πŸš€ lab-fw1: Attempting upgrade to version 10.1.3-h3 (Attempt 1 of 3).
Device 007054000654321 installing version: 10.1.3-h3
βœ… lab-fw1: Upgrade completed successfully
πŸš€ lab-fw1: Rebooting the target device.
🟧 lab-fw1: Retry attempt 1 due to error: 007054000654321 not connected
🟧 lab-fw1: Retry attempt 2 due to error: 007054000654321 not connected
🟧 lab-fw1: Retry attempt 3 due to error: 007054000654321 not connected
🟧 lab-fw1: Retry attempt 4 due to error: 007054000654321 not connected
🟧 lab-fw1: Retry attempt 5 due to error: 007054000654321 not connected
🟧 lab-fw1: Retry attempt 6 due to error: 007054000654321 not connected
🟧 lab-fw1: Retry attempt 7 due to error: 007054000654321 not connected
πŸ“ lab-fw1: Current device version: 10.1.3-h3
βœ… lab-fw1: Device rebooted to the target version successfully.
πŸš€ lab-fw1: Performing backup of configuration to local filesystem.
πŸ”§ lab-fw1: Waiting for the device to become ready for the post upgrade snapshot.
πŸš€ lab-fw1: Performing snapshot of network state information.
πŸš€ lab-fw1: Attempting to capture network state snapshot (Attempt 1 of 3).
βœ… lab-fw1: Network snapshot created successfully on attempt 1.
πŸ’Ύ lab-fw1: Network state snapshot collected and saved to assurance/snapshots/lab-fw1/post/2024-02-25_04-50-28.json
πŸ’Ύ lab-fw1: Snapshot comparison PDF report saved to assurance/snapshots/lab-fw1/diff/2024-02-25_04-50-29_report.pdf
βœ… panorama1.cdot.io: Completed revisiting firewalls

Here's an example of the PDF diff report that's generated:

PDF

(back to top)

Usage

There are two primary methods to utilize the pan-os-upgrade tool: through a Python virtual environment or via a Docker container.

Please refer to the dedicated documentation website to understand how to use this tool.

Documentation Site: https://cdot65.github.io/pan-os-upgrade/

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request or open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

See Contributing Guidelines for detailed instructions.

(back to top)

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

(back to top)

Contact

Email Address - cremsburg.dev at gmail.com

(back to top)

Acknowledgments

This project is built upon the shoulders of two powerful Python libraries: pan-os-python and panos-upgrade-assurance. Both of these libraries are developed and maintained by Palo Alto Networks, providing an incredible amount of capabilities when automating PAN-OS and Panorama with Python.

(back to top)

About

An efficient tool to execute configuration backups, network state snapshots, system readiness checks, and operating system upgrades of Palo Alto Networks firewalls and Panorama appliances.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages