cdot65/pan-os-upgrade

Enhance Batch Subcommand with Interactive Firewall Selection Mechanism

Closed this issue · 0 comments

This issue proposes the development of a new mechanism to enhance user interaction with the batch subcommand, specifically aimed at simplifying the process of selecting firewalls for batch operations.

Current Mechanism Limitations:
The existing approach requires users to specify firewalls using a filter string, which demands prior knowledge of firewall hostnames or serial numbers. This method can be cumbersome and inefficient, especially in environments with a large number of devices.

Proposed Enhancement:
We suggest implementing a feature that automatically retrieves a list of all available firewalls, along with their pertinent details such as hostnames, serial numbers, and version numbers. Post-retrieval, users should be presented with an interactive interface that allows them to easily select one or multiple firewalls to target for upgrades or other batch operations.

Key Features of the New Mechanism:

  • Automatic Discovery: Fetch and display a comprehensive list of firewalls connected to the system or network.
  • Detailed Information: Provide essential information for each firewall, including hostname, serial number, and current software version, to assist users in making informed decisions.
  • Interactive Selection: Enable users to interactively select firewalls from the list for batch operations, improving usability and reducing the potential for errors.
  • Flexibility: Allow both single and multiple selections, catering to various operational needs and scenarios.

Benefits:

  • User-Friendly: Significantly enhances user experience by providing a straightforward and intuitive selection process.
  • Efficiency: Reduces the time and effort required to identify and select target firewalls, especially in large-scale environments.
  • Accuracy: Minimizes the risk of targeting incorrect devices by providing clear and detailed information for each selectable firewall.

Implementation Considerations:

  • Ensure compatibility with existing systems and workflows to avoid disrupting current operations.
  • Prioritize security and integrity of the selection process to prevent unauthorized actions or access.
  • Develop comprehensive documentation and user guides to facilitate the adoption of the new mechanism.

This enhancement is aimed at streamlining operations and improving the efficiency and user-friendliness of the batch subcommand. Feedback and suggestions from the community are highly encouraged to refine this proposal further.