pan-os-upgrade


Namepan-os-upgrade JSON
Version 1.3.10 PyPI version JSON
download
home_pageNone
SummaryPython script to automate the upgrade process of PAN-OS firewalls.
upload_time2024-03-20 01:43:40
maintainerNone
docs_urlNone
authorCalvin Remsburg
requires_python<4.0,>=3.11
licenseApache 2.0
keywords paloaltonetworks panos firewall upgrade automation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <a name="readme-top"></a>

<!-- PROJECT SHIELDS -->
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![Apache2.0 License][license-shield]][license-url]

<!-- PROJECT LOGO -->
<br />
<div align="center">
    <img src="https://github.com/cdot65/pan-os-upgrade/blob/main/docs/images/logo.svg?raw=true" alt="Logo">
    <h3 align="center">PAN-OS and Panorama Upgrade Automation</h3>
    <p align="center">
        Streamlining Upgrades of Palo Alto Networks Firewall and Panorama appliances
        <br />
        <a href="https://cdot65.github.io/pan-os-upgrade"><strong>Documentation Website ยป</strong></a>
        <br />
        <br />
        <a href="https://github.com/cdot65/pan-os-upgrade">View Demo</a>
        <a href="https://github.com/cdot65/pan-os-upgrade/issues">Report Bug</a>
        <a href="https://github.com/cdot65/pan-os-upgrade/issues">Request Feature</a>
    </p>
</div>
<!-- TABLE OF CONTENTS -->
<details>
    <summary>Table of Contents</summary>
    <ol>
        <li><a href="#about-the-project">About The Project</a></li>
        <li><a href="#support">Support</a></li>
        <li><a href="#usage">Usage</a></li>
        <li><a href="#key-features">Key Features</a></li>
        <li><a href="#logic-workflow">Logic Workflow</a></li>
        <li><a href="#example-execution">Example Execution</a></li>
        <li><a href="#contributing">Contributing</a></li>
        <li><a href="#license">License</a></li>
        <li><a href="#contact">Contact</a></li>
        <li><a href="#acknowledgments">Acknowledgments</a></li>
    </ol>
</details>

<!-- ABOUT THE PROJECT -->
## 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](https://github.com/cdot65/pan-os-upgrade)

Documentation Website: [https://cdot65.github.io/pan-os-upgrade/](https://cdot65.github.io/pan-os-upgrade/)

YouTube Documentation:

<a href="https://www.youtube.com/watch?v=5gdwIni3t9A" target="_blank">
  <img src="https://github.com/cdot65/pan-os-upgrade/blob/main/docs/images/youtube.png?raw=true" alt="Video Thumbnail">
</a>

<!-- SUPPORT -->
## Support

For details on the support provided by Palo Alto Networks for this project, please consult the [SUPPORT.md](https://github.com/cdot65/pan-os-upgrade/blob/main/SUPPORT.md) file in the repository.

<!-- KEY FEATURES -->
### 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 -->
### Logic Workflow

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

- [pan-os-upgrade firewall](https://link.excalidraw.com/readonly/JYX3bXR6dS8Eoejmpcfx?darkMode=true)
- [pan-os-upgrade panorama](https://link.excalidraw.com/readonly/lFTV51plR0DBR5FdkC5Y?darkMode=true)
- [pan-os-upgrade batch](https://link.excalidraw.com/readonly/hNOeOAWRlk4t9uKBfPVE?darkMode=true)

<!-- EXAMPLE EXECUTION -->
### Example Execution

<div class="termy">

```console
โฏ 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

```

</div>

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

<img src="https://github.com/cdot65/pan-os-upgrade/blob/main/docs/images/report.png?raw=true" alt="PDF">

<p align="right">(<a href="#readme-top">back to top</a>)</p>

<!-- USAGE -->
## 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/](https://cdot65.github.io/pan-os-upgrade/)

<!-- CONTRIBUTING -->
## 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](https://cdot65.github.io/pan-os-upgrade/about/contributing/) for detailed instructions.

<p align="right">(<a href="#readme-top">back to top</a>)</p>

<!-- LICENSE -->
## License

This project is licensed under the Apache 2.0 License - see the [LICENSE](https://cdot65.github.io/pan-os-upgrade/about/license/) file for details.

<p align="right">(<a href="#readme-top">back to top</a>)</p>

<!-- CONTACT -->
## Contact

Email Address - cremsburg.dev at gmail.com

<p align="right">(<a href="#readme-top">back to top</a>)</p>

<!-- ACKNOWLEDGMENTS -->
## 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.

- [pan-os-python](https://pan-os-python.readthedocs.io/en/stable/)
- [panos-upgrade-assurance](https://github.com/PaloAltoNetworks/pan-os-upgrade-assurance/)

<p align="right">(<a href="#readme-top">back to top</a>)</p>

<!-- MARKDOWN LINKS & IMAGES -->
[contributors-shield]: https://img.shields.io/github/contributors/cdot65/pan-os-upgrade.svg?style=for-the-badge
[contributors-url]: https://github.com/cdot65/pan-os-upgrade/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/cdot65/pan-os-upgrade.svg?style=for-the-badge
[forks-url]: https://github.com/cdot65/pan-os-upgrade/network/members
[stars-shield]: https://img.shields.io/github/stars/cdot65/pan-os-upgrade.svg?style=for-the-badge
[stars-url]: https://github.com/cdot65/pan-os-upgrade/stargazers
[issues-shield]: https://img.shields.io/github/issues/cdot65/pan-os-upgrade.svg?style=for-the-badge
[issues-url]: https://github.com/cdot65/pan-os-upgrade/issues
[license-shield]: https://img.shields.io/github/license/cdot65/pan-os-upgrade.svg?style=for-the-badge
[license-url]: https://github.com/cdot65/pan-os-upgrade/blob/main/LICENSE

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pan-os-upgrade",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.11",
    "maintainer_email": null,
    "keywords": "paloaltonetworks, panos, firewall, upgrade, automation",
    "author": "Calvin Remsburg",
    "author_email": "cremsburg.dev@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/5f/52/bb125945a4c88e712d2dd4800456f8bea7523d53413fc56521403bb27038/pan_os_upgrade-1.3.10.tar.gz",
    "platform": null,
    "description": "<a name=\"readme-top\"></a>\n\n<!-- PROJECT SHIELDS -->\n[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![Apache2.0 License][license-shield]][license-url]\n\n<!-- PROJECT LOGO -->\n<br />\n<div align=\"center\">\n    <img src=\"https://github.com/cdot65/pan-os-upgrade/blob/main/docs/images/logo.svg?raw=true\" alt=\"Logo\">\n    <h3 align=\"center\">PAN-OS and Panorama Upgrade Automation</h3>\n    <p align=\"center\">\n        Streamlining Upgrades of Palo Alto Networks Firewall and Panorama appliances\n        <br />\n        <a href=\"https://cdot65.github.io/pan-os-upgrade\"><strong>Documentation Website \u00bb</strong></a>\n        <br />\n        <br />\n        <a href=\"https://github.com/cdot65/pan-os-upgrade\">View Demo</a>\n        <a href=\"https://github.com/cdot65/pan-os-upgrade/issues\">Report Bug</a>\n        <a href=\"https://github.com/cdot65/pan-os-upgrade/issues\">Request Feature</a>\n    </p>\n</div>\n<!-- TABLE OF CONTENTS -->\n<details>\n    <summary>Table of Contents</summary>\n    <ol>\n        <li><a href=\"#about-the-project\">About The Project</a></li>\n        <li><a href=\"#support\">Support</a></li>\n        <li><a href=\"#usage\">Usage</a></li>\n        <li><a href=\"#key-features\">Key Features</a></li>\n        <li><a href=\"#logic-workflow\">Logic Workflow</a></li>\n        <li><a href=\"#example-execution\">Example Execution</a></li>\n        <li><a href=\"#contributing\">Contributing</a></li>\n        <li><a href=\"#license\">License</a></li>\n        <li><a href=\"#contact\">Contact</a></li>\n        <li><a href=\"#acknowledgments\">Acknowledgments</a></li>\n    </ol>\n</details>\n\n<!-- ABOUT THE PROJECT -->\n## About The Project\n\n`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.\n\nProject Link: [https://github.com/cdot65/pan-os-upgrade](https://github.com/cdot65/pan-os-upgrade)\n\nDocumentation Website: [https://cdot65.github.io/pan-os-upgrade/](https://cdot65.github.io/pan-os-upgrade/)\n\nYouTube Documentation:\n\n<a href=\"https://www.youtube.com/watch?v=5gdwIni3t9A\" target=\"_blank\">\n  <img src=\"https://github.com/cdot65/pan-os-upgrade/blob/main/docs/images/youtube.png?raw=true\" alt=\"Video Thumbnail\">\n</a>\n\n<!-- SUPPORT -->\n## Support\n\nFor details on the support provided by Palo Alto Networks for this project, please consult the [SUPPORT.md](https://github.com/cdot65/pan-os-upgrade/blob/main/SUPPORT.md) file in the repository.\n\n<!-- KEY FEATURES -->\n### Key Features\n\n- **Three Unique Upgrade Workflows Supported**:\n  - `firewall`: targets and upgrades an individual PAN-OS firewall\n  - `panorama`: targets and upgrades an individual Panorama appliance\n  - `batch`: targets a Panorama appliance and upgrades firewalls in bulk\n- **Automation of Routine Tasks**: Reduces manual errors and saves time by automating upgrades, configurations, and system checks.\n- **Support for Direct and Proxy Connections**: Connect directly to firewalls or through a Panorama appliance, with support for targeting specific devices using filters.\n- **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.\n- **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.\n- **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.\n- **Customizable and Extensible**: Execution of the script can be tailored to fit diverse network environments and requirements, offering flexibility for various deployment scenarios.\n- **Comprehensive PAN-OS Interactions**: Facilitates extensive interactions with Palo Alto Networks appliances for operations like readiness checks, state snapshots, and report generation.\n\n> **Note**: While this script is optimized for standalone and active/passive HA environments, it has not been tested against active/active or clustered firewalls.\n\n<!-- LOGIC WORKFLOW -->\n### Logic Workflow\n\nYou can view the logical workflow of the `pan-os-upgrade` subcommands by viewing these diagrams:\n\n- [pan-os-upgrade firewall](https://link.excalidraw.com/readonly/JYX3bXR6dS8Eoejmpcfx?darkMode=true)\n- [pan-os-upgrade panorama](https://link.excalidraw.com/readonly/lFTV51plR0DBR5FdkC5Y?darkMode=true)\n- [pan-os-upgrade batch](https://link.excalidraw.com/readonly/hNOeOAWRlk4t9uKBfPVE?darkMode=true)\n\n<!-- EXAMPLE EXECUTION -->\n### Example Execution\n\n<div class=\"termy\">\n\n```console\n\u276f pan-os-upgrade batch\nPanorama hostname or IP: panorama1.cdot.io\nPanorama username: officehours\nPanorama password:\nFirewall target version (ex: 10.1.2): 10.1.3-h3\nDry Run? [Y/n]: n\n=================================================================================================\nWelcome to the PAN-OS upgrade tool\n\nThis script software is provided on an 'as-is' basis with no warranties, and no support provided.\n\nThe selected `batch` subcommand will upgrade one or more firewalls.\n\nSettings: No settings.yaml file was found, default values will be used.\nYou can create a settings.yaml file with 'pan-os-upgrade settings' command.\n\nInventory: No inventory.yaml file was found, firewalls will need be selected through the menu.\nYou can create an inventory.yaml file with 'pan-os-upgrade inventory' command.\n=================================================================================================\n\ud83d\ude80 panorama1.cdot.io: Connection to the appliance successful.\n\u2705 panorama1.cdot.io: Connection to Panorama established. Firewall connections will be proxied!\n\ud83d\udd27 panorama1.cdot.io: Retrieving a list of all firewalls connected to Panorama...\n\ud83d\udd27 panorama1.cdot.io: Retrieving detailed information of each firewall...\n\u2552\u2550\u2550\u2550\u2550\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2555\n\u2502   # \u2502 Hostname   \u2502 IP Address     \u2502 Model   \u2502 PAN-OS    \u2502 Content   \u2502 HA Mode   \u2502 Preempt   \u2502\n\u255e\u2550\u2550\u2550\u2550\u2550\u256a\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u256a\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u256a\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u256a\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u256a\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u256a\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u256a\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2561\n\u2502   1 \u2502 katy-fw1   \u2502 192.168.255.41 \u2502 PA-VM   \u2502 10.1.3-h3 \u2502 8799-8509 \u2502 passive   \u2502 no        \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502   2 \u2502 katy-fw2   \u2502 192.168.255.42 \u2502 PA-VM   \u2502 10.1.3-h3 \u2502 8799-8509 \u2502 active    \u2502 no        \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502   3 \u2502 lab-fw1    \u2502 192.168.255.11 \u2502 PA-VM   \u2502 10.1.3    \u2502 8729-8157 \u2502 disabled  \u2502 N/A       \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502   4 \u2502 lab-fw2    \u2502 192.168.255.12 \u2502 PA-VM   \u2502 10.1.3    \u2502 8729-8157 \u2502 disabled  \u2502 N/A       \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502   5 \u2502 lab-fw3    \u2502 192.168.255.13 \u2502 PA-VM   \u2502 10.1.3    \u2502 8729-8157 \u2502 disabled  \u2502 N/A       \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502   6 \u2502 lab-fw4    \u2502 192.168.255.14 \u2502 PA-VM   \u2502 10.1.3    \u2502 8729-8157 \u2502 disabled  \u2502 N/A       \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502   7 \u2502 lab-fw5    \u2502 192.168.255.15 \u2502 PA-VM   \u2502 10.1.3    \u2502 8729-8157 \u2502 disabled  \u2502 N/A       \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502   8 \u2502 lab-fw6    \u2502 192.168.255.16 \u2502 PA-VM   \u2502 10.1.4-h4 \u2502 8729-8157 \u2502 active    \u2502 yes       \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502   9 \u2502 lab-fw7    \u2502 192.168.255.17 \u2502 PA-VM   \u2502 10.1.4-h4 \u2502 8729-8157 \u2502 passive   \u2502 yes       \u2502\n\u2558\u2550\u2550\u2550\u2550\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255b\nYou can select devices by entering their numbers, ranges, or separated by commas.\nExamples: '1', '2-4', '1,3,5-7'.\nType 'done' on a new line when finished.\n\nEnter your selection(s): 3-4\n  - lab-fw1 selected.\n  - lab-fw2 selected.\nEnter your selection(s): done\n\ud83d\udd27 panorama1.cdot.io: Selected 2 firewalls from inventory.yaml for upgrade.\n\ud83d\udcdd panorama1.cdot.io: Upgrading 2 devices to version 10.1.3-h3...\n\ud83d\udcdd panorama1.cdot.io: Please confirm the selected firewalls:\n  - lab-fw1 (192.168.255.11)\n  - lab-fw2 (192.168.255.12)\n\ud83d\udfe7 panorama1.cdot.io: Dry run mode is disabled, upgrade workflow will be executed.\n\ud83d\udcdd panorama1.cdot.io: Do you want to proceed with the upgrade? [y/N]: y\n\ud83d\ude80 Proceeding with the upgrade...\n\ud83d\ude80 Proceeding with the upgrade...\n\ud83d\udd27 panorama1.cdot.io: Using 10 threads.\n\ud83d\udcdd lab-fw1: 007054000654321 192.168.255.41\n\ud83d\udcdd lab-fw2: 007054000654322 192.168.255.42\n\ud83d\udcdd lab-fw1: HA mode: active\n\ud83d\udcdd lab-fw2: HA mode: passive\n\ud83d\udcdd lab-fw1: Local state: active, Local version: 10.1.3, Peer version: 10.1.3\n\ud83d\udcdd lab-fw1: Version comparison: equal\n\ud83d\udd0d lab-fw1: Detected active target device in HA pair running the same version as its peer. Added target device to revisit list.\n\ud83d\udcdd lab-fw2: Local state: passive, Local version: 10.1.3, Peer version: 10.1.3\n\ud83d\udcdd lab-fw2: Version comparison: equal\n\ud83d\udcdd lab-fw2: Target device is passive\n\ud83d\udcdd lab-fw2: Current version: 10.1.3\n\ud83d\udcdd lab-fw2: Target version: 10.1.3-h3\n\u2705 lab-fw2: Upgrade required from 10.1.3 to 10.1.3-h3\n\ud83d\udd27 lab-fw2: Refreshing list of available software versions\n\u2705 lab-fw2: version 10.1.3-h3 is available for download\n\u2705 lab-fw2: Base image for 10.1.3-h3 is already downloaded\n\ud83d\ude80 lab-fw2: Performing test to see if 10.1.3-h3 is already downloaded.\n\u2705 lab-fw2: version 10.1.3-h3 already on target device.\n\u2705 lab-fw2: 10.1.3-h3 has been downloaded and sync'd to HA peer.\n\ud83d\ude80 lab-fw2: Performing snapshot of network state information.\n\ud83d\ude80 lab-fw2: Attempting to capture network state snapshot (Attempt 1 of 3).\n\u2705 lab-fw2: Network snapshot created successfully on attempt 1.\n\ud83d\udcbe lab-fw2: Network state snapshot collected and saved to assurance/snapshots/lab-fw2/pre/2024-02-25_04-14-15.json\n\ud83d\ude80 lab-fw2: Performing readiness checks of target firewall.\n\ud83d\ude80 lab-fw2: Performing readiness checks to determine if firewall is ready for upgrade.\n\u2705 lab-fw2: Passed Readiness Check: Check if active support is available\n\ud83d\udfe8 lab-fw2: Skipped Readiness Check: Check if a given ARP entry is available in the ARP table\n\u2705 lab-fw2: Passed Readiness Check: Check if there are pending changes on device\n\ud83d\udfe8 lab-fw2: Skipped Readiness Check: Check if the certificates' keys meet minimum size requirements\n\ud83d\udfe8 lab-fw2: Skipped Readiness Check: Running Latest Content Version\n\u2705 lab-fw2: Passed Readiness Check: Check if any Dynamic Update job is scheduled to run within the specified time window\n\u2705 lab-fw2: Passed Readiness Check: No Expired Licenses\n\ud83d\udfe8 lab-fw2: Skipped Readiness Check: Check if a there is enough space on the `/opt/panrepo` volume for downloading an PanOS image.\n\u2705 lab-fw2: Passed Readiness Check: Checks HA pair status from the perspective of the current device\n\ud83d\udfe8 lab-fw2: Skipped Readiness Check: Check if a given IPsec tunnel is in active state\n\ud83d\udfe8 lab-fw2: Skipped Readiness Check: Check for any job with status different than FIN\n\ud83d\udfe8 lab-fw2: Skipped Readiness Check: Check if NTP is synchronized\n\u2705 lab-fw2: Passed Readiness Check: Check if the clock is synchronized between dataplane and management plane\n\u2705 lab-fw2: Passed Readiness Check: Check connectivity with the Panorama appliance\n\ud83d\udfe8 lab-fw2: Skipped Readiness Check: Check if a critical session is present in the sessions table\n\u2705 lab-fw2: Readiness Checks completed\n\ud83d\ude80 lab-fw2: Checking if HA peer is in sync.\n\u2705 lab-fw2: HA peer sync test has been completed.\n\ud83d\ude80 lab-fw2: Performing backup of configuration to local filesystem.\n\ud83d\udcdd lab-fw2: Not a dry run, continue with upgrade.\n\ud83d\ude80 lab-fw2: Performing upgrade to version 10.1.3-h3.\n\ud83d\udcdd lab-fw2: The install will take several minutes, check for status details within the GUI.\n\ud83d\ude80 lab-fw2: Attempting upgrade to version 10.1.3-h3 (Attempt 1 of 3).\nDevice 007054000654322 installing version: 10.1.3-h3\n\u2705 lab-fw2: Upgrade completed successfully\n\ud83d\ude80 lab-fw2: Rebooting the target device.\n\ud83d\udfe7 lab-fw2: Retry attempt 1 due to error: 007054000654322 not connected\n\ud83d\udfe7 lab-fw2: Retry attempt 2 due to error: 007054000654322 not connected\n\ud83d\udfe7 lab-fw2: Retry attempt 3 due to error: 007054000654322 not connected\n\ud83d\udfe7 lab-fw2: Retry attempt 4 due to error: 007054000654322 not connected\n\ud83d\udfe7 lab-fw2: Retry attempt 5 due to error: 007054000654322 not connected\n\ud83d\udfe7 lab-fw2: Retry attempt 6 due to error: 007054000654322 not connected\n\ud83d\udfe7 lab-fw2: Retry attempt 7 due to error: 007054000654322 not connected\n\ud83d\udfe7 lab-fw2: Retry attempt 8 due to error: 007054000654322 not connected\n\ud83d\udcdd lab-fw2: Current device version: 10.1.3-h3\n\u2705 lab-fw2: Device rebooted to the target version successfully.\n\ud83d\ude80 lab-fw2: Performing backup of configuration to local filesystem.\n\ud83d\udd27 lab-fw2: Waiting for the device to become ready for the post upgrade snapshot.\n\ud83d\ude80 lab-fw2: Performing snapshot of network state information.\n\ud83d\ude80 lab-fw2: Attempting to capture network state snapshot (Attempt 1 of 3).\n\u274c lab-fw2: Error running snapshots: ElementTree.fromstring ParseError: junk after document element: line 1, column 3703\n\ud83d\ude80 lab-fw2: Attempting to capture network state snapshot (Attempt 1 of 3).\n\u2705 lab-fw2: Network snapshot created successfully on attempt 1.\n\ud83d\udcbe lab-fw2: Network state snapshot collected and saved to assurance/snapshots/lab-fw2/post/2024-02-25_04-32-05.json\n\ud83d\udcbe lab-fw2: Snapshot comparison PDF report saved to assurance/snapshots/lab-fw2/diff/2024-02-25_04-32-08_report.pdf\n\ud83d\ude80 panorama1.cdot.io: Revisiting firewalls that were active in an HA pair and had the same version as their peers.\n\ud83d\udcdd lab-fw1: 007054000654321 192.168.255.41\n\ud83d\udcdd lab-fw1: HA mode: active\n\ud83d\udcdd lab-fw1: Local state: active, Local version: 10.1.3, Peer version: 10.1.3-h3\nWaiting for HA synchronization to complete on lab-fw1. Attempt 1/3\nHA synchronization complete on lab-fw1. Proceeding with upgrade.\n\ud83d\udcdd lab-fw1: Version comparison: older\n\ud83d\udcdd lab-fw1: Target device is on an older version\n\ud83d\udcdd lab-fw1: Suspending HA state of active\n\ud83d\udfe7 lab-fw1: Error received when suspending active target device HA state: argument of type 'NoneType' is not iterable\n\ud83d\udcdd lab-fw1: Current version: 10.1.3\n\ud83d\udcdd lab-fw1: Target version: 10.1.3-h3\n\u2705 lab-fw1: Upgrade required from 10.1.3 to 10.1.3-h3\n\ud83d\udd27 lab-fw1: Refreshing list of available software versions\n\u2705 lab-fw1: version 10.1.3-h3 is available for download\n\u2705 lab-fw1: Base image for 10.1.3-h3 is already downloaded\n\ud83d\ude80 lab-fw1: Performing test to see if 10.1.3-h3 is already downloaded.\n\u2705 lab-fw1: version 10.1.3-h3 already on target device.\n\u2705 lab-fw1: 10.1.3-h3 has been downloaded and sync'd to HA peer.\n\ud83d\ude80 lab-fw1: Performing snapshot of network state information.\n\ud83d\ude80 lab-fw1: Attempting to capture network state snapshot (Attempt 1 of 3).\n\u2705 lab-fw1: Network snapshot created successfully on attempt 1.\n\ud83d\udcbe lab-fw1: Network state snapshot collected and saved to assurance/snapshots/lab-fw1/pre/2024-02-25_04-33-26.json\n\ud83d\ude80 lab-fw1: Performing readiness checks of target firewall.\n\ud83d\ude80 lab-fw1: Performing readiness checks to determine if firewall is ready for upgrade.\n\u2705 lab-fw1: Passed Readiness Check: Check if active support is available\n\ud83d\udfe8 lab-fw1: Skipped Readiness Check: Check if a given ARP entry is available in the ARP table\n\u2705 lab-fw1: Passed Readiness Check: Check if there are pending changes on device\n\ud83d\udfe8 lab-fw1: Skipped Readiness Check: Check if the certificates' keys meet minimum size requirements\n\ud83d\udfe8 lab-fw1: Skipped Readiness Check: Running Latest Content Version\n\u2705 lab-fw1: Passed Readiness Check: Check if any Dynamic Update job is scheduled to run within the specified time window\n\u2705 lab-fw1: Passed Readiness Check: No Expired Licenses\n\ud83d\udfe8 lab-fw1: Skipped Readiness Check: Check if a there is enough space on the `/opt/panrepo` volume for downloading an PanOS image.\n\ud83d\udfe8 lab-fw1: Skipped Readiness Check: Checks HA pair status from the perspective of the current device\n\ud83d\udfe8 lab-fw1: Skipped Readiness Check: Check if a given IPsec tunnel is in active state\n\ud83d\udfe8 lab-fw1: Skipped Readiness Check: Check for any job with status different than FIN\n\ud83d\udfe8 lab-fw1: Skipped Readiness Check: Check if NTP is synchronized\n\u2705 lab-fw1: Passed Readiness Check: Check if the clock is synchronized between dataplane and management plane\n\u2705 lab-fw1: Passed Readiness Check: Check connectivity with the Panorama appliance\n\ud83d\udfe8 lab-fw1: Skipped Readiness Check: Check if a critical session is present in the sessions table\n\u2705 lab-fw1: Readiness Checks completed\n\ud83d\ude80 lab-fw1: Checking if HA peer is in sync.\n\u2705 lab-fw1: HA peer sync test has been completed.\n\ud83d\ude80 lab-fw1: Performing backup of configuration to local filesystem.\n\ud83d\udcdd lab-fw1: Not a dry run, continue with upgrade.\n\ud83d\ude80 lab-fw1: Performing upgrade to version 10.1.3-h3.\n\ud83d\udcdd lab-fw1: The install will take several minutes, check for status details within the GUI.\n\ud83d\ude80 lab-fw1: Attempting upgrade to version 10.1.3-h3 (Attempt 1 of 3).\nDevice 007054000654321 installing version: 10.1.3-h3\n\u2705 lab-fw1: Upgrade completed successfully\n\ud83d\ude80 lab-fw1: Rebooting the target device.\n\ud83d\udfe7 lab-fw1: Retry attempt 1 due to error: 007054000654321 not connected\n\ud83d\udfe7 lab-fw1: Retry attempt 2 due to error: 007054000654321 not connected\n\ud83d\udfe7 lab-fw1: Retry attempt 3 due to error: 007054000654321 not connected\n\ud83d\udfe7 lab-fw1: Retry attempt 4 due to error: 007054000654321 not connected\n\ud83d\udfe7 lab-fw1: Retry attempt 5 due to error: 007054000654321 not connected\n\ud83d\udfe7 lab-fw1: Retry attempt 6 due to error: 007054000654321 not connected\n\ud83d\udfe7 lab-fw1: Retry attempt 7 due to error: 007054000654321 not connected\n\ud83d\udcdd lab-fw1: Current device version: 10.1.3-h3\n\u2705 lab-fw1: Device rebooted to the target version successfully.\n\ud83d\ude80 lab-fw1: Performing backup of configuration to local filesystem.\n\ud83d\udd27 lab-fw1: Waiting for the device to become ready for the post upgrade snapshot.\n\ud83d\ude80 lab-fw1: Performing snapshot of network state information.\n\ud83d\ude80 lab-fw1: Attempting to capture network state snapshot (Attempt 1 of 3).\n\u2705 lab-fw1: Network snapshot created successfully on attempt 1.\n\ud83d\udcbe lab-fw1: Network state snapshot collected and saved to assurance/snapshots/lab-fw1/post/2024-02-25_04-50-28.json\n\ud83d\udcbe lab-fw1: Snapshot comparison PDF report saved to assurance/snapshots/lab-fw1/diff/2024-02-25_04-50-29_report.pdf\n\u2705 panorama1.cdot.io: Completed revisiting firewalls\n\n```\n\n</div>\n\nHere's an example of the PDF diff report that's generated:\n\n<img src=\"https://github.com/cdot65/pan-os-upgrade/blob/main/docs/images/report.png?raw=true\" alt=\"PDF\">\n\n<p align=\"right\">(<a href=\"#readme-top\">back to top</a>)</p>\n\n<!-- USAGE -->\n## Usage\n\nThere are two primary methods to utilize the `pan-os-upgrade` tool: through a Python virtual environment or via a Docker container.\n\nPlease refer to the dedicated documentation website to understand how to use this tool.\n\nDocumentation Site: [https://cdot65.github.io/pan-os-upgrade/](https://cdot65.github.io/pan-os-upgrade/)\n\n<!-- CONTRIBUTING -->\n## Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\nIf 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!\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\nSee [Contributing Guidelines](https://cdot65.github.io/pan-os-upgrade/about/contributing/) for detailed instructions.\n\n<p align=\"right\">(<a href=\"#readme-top\">back to top</a>)</p>\n\n<!-- LICENSE -->\n## License\n\nThis project is licensed under the Apache 2.0 License - see the [LICENSE](https://cdot65.github.io/pan-os-upgrade/about/license/) file for details.\n\n<p align=\"right\">(<a href=\"#readme-top\">back to top</a>)</p>\n\n<!-- CONTACT -->\n## Contact\n\nEmail Address - cremsburg.dev at gmail.com\n\n<p align=\"right\">(<a href=\"#readme-top\">back to top</a>)</p>\n\n<!-- ACKNOWLEDGMENTS -->\n## Acknowledgments\n\nThis 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.\n\n- [pan-os-python](https://pan-os-python.readthedocs.io/en/stable/)\n- [panos-upgrade-assurance](https://github.com/PaloAltoNetworks/pan-os-upgrade-assurance/)\n\n<p align=\"right\">(<a href=\"#readme-top\">back to top</a>)</p>\n\n<!-- MARKDOWN LINKS & IMAGES -->\n[contributors-shield]: https://img.shields.io/github/contributors/cdot65/pan-os-upgrade.svg?style=for-the-badge\n[contributors-url]: https://github.com/cdot65/pan-os-upgrade/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/cdot65/pan-os-upgrade.svg?style=for-the-badge\n[forks-url]: https://github.com/cdot65/pan-os-upgrade/network/members\n[stars-shield]: https://img.shields.io/github/stars/cdot65/pan-os-upgrade.svg?style=for-the-badge\n[stars-url]: https://github.com/cdot65/pan-os-upgrade/stargazers\n[issues-shield]: https://img.shields.io/github/issues/cdot65/pan-os-upgrade.svg?style=for-the-badge\n[issues-url]: https://github.com/cdot65/pan-os-upgrade/issues\n[license-shield]: https://img.shields.io/github/license/cdot65/pan-os-upgrade.svg?style=for-the-badge\n[license-url]: https://github.com/cdot65/pan-os-upgrade/blob/main/LICENSE\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "Python script to automate the upgrade process of PAN-OS firewalls.",
    "version": "1.3.10",
    "project_urls": {
        "Documentation": "https://cdot65.github.io/pan-os-upgrade/"
    },
    "split_keywords": [
        "paloaltonetworks",
        " panos",
        " firewall",
        " upgrade",
        " automation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "57581605e379086b5705e38f7ddb00dda43cae7bbd92fc1f48419ab4d154f0da",
                "md5": "bbffd71dbde42319a595a5b498eb5f3a",
                "sha256": "ed2486ac8ac2ac8d7ded13799da3530a58a48dbb4fab280e5539cbec2fdf9b5b"
            },
            "downloads": -1,
            "filename": "pan_os_upgrade-1.3.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bbffd71dbde42319a595a5b498eb5f3a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.11",
            "size": 75854,
            "upload_time": "2024-03-20T01:43:38",
            "upload_time_iso_8601": "2024-03-20T01:43:38.239779Z",
            "url": "https://files.pythonhosted.org/packages/57/58/1605e379086b5705e38f7ddb00dda43cae7bbd92fc1f48419ab4d154f0da/pan_os_upgrade-1.3.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5f52bb125945a4c88e712d2dd4800456f8bea7523d53413fc56521403bb27038",
                "md5": "bf0f0823d5106335f6f0aed4abfdd756",
                "sha256": "3f5fb88e7dbd4343a4798465aea8d761a824adcb1209bd7a64ade0d6f317866a"
            },
            "downloads": -1,
            "filename": "pan_os_upgrade-1.3.10.tar.gz",
            "has_sig": false,
            "md5_digest": "bf0f0823d5106335f6f0aed4abfdd756",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.11",
            "size": 72900,
            "upload_time": "2024-03-20T01:43:40",
            "upload_time_iso_8601": "2024-03-20T01:43:40.347660Z",
            "url": "https://files.pythonhosted.org/packages/5f/52/bb125945a4c88e712d2dd4800456f8bea7523d53413fc56521403bb27038/pan_os_upgrade-1.3.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-20 01:43:40",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pan-os-upgrade"
}
        
Elapsed time: 0.19355s