Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(panos-upgrade-assurance): upgrade assurance modules introduction #510

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

FoSix
Copy link
Contributor

@FoSix FoSix commented Oct 27, 2023

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 device
  • panos_state_snapshot - take a snapshot of a device's state
  • panos_snapshot_report - produces a report from a comparison of two snapshot in a form of a dictionary
  • panos_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

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

@FoSix FoSix force-pushed the introduce-upgrade-assurance-modules branch from be92300 to a480509 Compare October 27, 2023 12:37
@FoSix FoSix requested review from jamesholland-uk, shinmog, adambaumeister and horiagunica and removed request for jamesholland-uk October 27, 2023 12:37
@FoSix FoSix merged commit cdc339c into develop Oct 27, 2023
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants