Skip to content

Additional models, for additional Palo Alto models#3813

Open
athompson-merlin wants to merge 5 commits intoytti:masterfrom
athompson-merlin:master
Open

Additional models, for additional Palo Alto models#3813
athompson-merlin wants to merge 5 commits intoytti:masterfrom
athompson-merlin:master

Conversation

@athompson-merlin
Copy link
Copy Markdown

Pre-Request Checklist

Not a dev, so no idea what rubocop or rake are. (Obviously I can guess, but never seen them before.) Learning one iota more about Ruby than I need to is wildly out of scope for me, but I still wanted to upstream these models if possible.

  • Passes rubocop code analysis (try rubocop --auto-correct)
  • Tests added or adapted (try rake test)
  • Changes are reflected in the documentation
  • User-visible changes appended to CHANGELOG.md

Description

These three new models address two use cases the original Palo Alto models did not, (1) obtaining an XML output without needing to use the API, and (2) obtaining output in two different formats from the Panorama management server, which has slightly different syntax. The "XML" format can be used (with some work) to restore a firewall, but is largely un-parseable; the "set" format is more useful for every other scenario as it's parseable and pasteable.

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.

1 participant