feat(panos-upgrade-assurance): upgrade assurance modules introduction #510
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
this is a cleaner version of #437
all suggestions from that PR were taken into consideration
Description
Introducing Ansible modules that wrap the PanOS Upgrade Assurance package.
Motivation and Context
The PanOS Upgrade Assurance package is just a set of libs that have to be wrapped with some code. One way of doing this are Ansible modules. This PR introduces 4 modules:
panos_readiness_checks
- runs readiness checks on a devicepanos_state_snapshot
- take a snapshot of a device's statepanos_snapshot_report
- produces a report from a comparison of two snapshot in a form of a dictionarypanos_active_in_ha
- a helper module to quickly verify if a given node in an HA pair is active or passive.Since the package itself is based on
pan-os-python
, these modules follow the provider block standard used widely in this collection.How Has This Been Tested?
Already used on production as local modules.
Screenshots (if appropriate)
Types of changes
Checklist