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.
[x] Ensure you are submitting your pull request to a branch dedicated to a specific topic/feature/bugfix. Avoid using the master branch for pull requests.
[x] Target your pull request to the main development branch in this repository.
[x] Ensure your commit messages follow the project's preferred format.
[x] Check that your code additions do not fail any linting checks or unit tests.
Pull Request Description
Implemented a check to validate that Panorama appliances are active in their licenses before upgrading. Our dependency of Upgrade Assurance package prevents us from running the readiness checks on Panorama appliances, so we have instead used the op method to perform request license info and perform validation on the response object.
The script will gracefully exit if there is no license info:
Checklist for This Pull Request
🚨Please adhere to the guidelines for contributing to this repository.
Pull Request Description
Implemented a check to validate that Panorama appliances are active in their licenses before upgrading. Our dependency of
Upgrade Assurance
package prevents us from running the readiness checks on Panorama appliances, so we have instead used theop
method to performrequest license info
and perform validation on the response object.The script will gracefully exit if there is no license info:
Or if the license entries are expired
Otherwise the upgrade will continue.
What does this pull request accomplish?
Are there any breaking changes included?
Is there anything the reviewers should know?
Thank you for your contributions!