cdot65 / pan-os-upgrade

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.
https://cdot65.github.io/pan-os-upgrade/
Apache License 2.0
39 stars 7 forks source link

78 enhance batch subcommand with interactive firewall selection mechanism #79

Closed cdot65 closed 6 months ago

cdot65 commented 6 months ago

Overview

This PR introduces a significant enhancement to the batch subcommand, focusing on improving user interaction by simplifying the process of selecting firewalls for batch operations. This change addresses the limitations of the previous mechanism that relied on users specifying firewalls using filter strings, which was not only cumbersome but also inefficient in environments with a large number of devices.

Key Changes Implemented

Inventory Selection Overhaul: We've revamped the selection process in batch mode, providing an automatic discovery feature that fetches and displays a comprehensive list of all available firewalls connected to the system or network.

Interactive Interface: An interactive interface has been implemented, allowing users to easily select one or multiple firewalls from the displayed list. This interface provides essential details for each firewall, such as hostname, serial number, and current software version, aiding users in making informed decisions.

Refinements and Updates:

Benefits

Considerations

This enhancement is part of our ongoing commitment to streamlining operations and improving the efficiency and user-friendliness of the pan-os-upgrade tool. We welcome feedback and suggestions from the community to further refine and enhance this feature.