Skip to content

0.2.0

Compare
Choose a tag to compare
@kevinsteves kevinsteves released this 22 Mar 17:38
· 290 commits to master since this release
  • various PEP8 cleanup.

  • use HISTORY.rst for changes/release history vs. CHANGES.txt.

  • add panconf.py, a command line program for managing PAN-OS XML
    configurations.

  • add Panorama 5.1 (same as 5.0) for set CLI.

  • add PAN-OS 6.0 XPaths for set CLI.

  • pan.xapi: use pan.config for XML to Python conversion and remove
    duplicated code.

  • I am developing with Python 3.3 by default now so add as supported.

  • Rewrite XML response message parser to use xml.etree.ElementTree
    path/xpath to match each known format. This will make it easier to
    support additional message formats.

    Multi-line messages (multiple line elements) are now newline
    delimited.

  • operational command 'show jobs id nn' can have response with path
    './result/job/details/line'; if so set status_detail to text (can be
    multi-line).

  • pan.xapi: if an XML response message is an empty string set it to
    None vs. ''.

  • panxapi: print status line the same for exception/non-exception. We
    now quote message in non-exception case.

  • handle ./newjob/newmsg within ./result/job/details/line of 'show
    jobs xxx' response. the response message parser makes this easy
    now, but I'm still unsure if we really want to try to handle these
    things because the response formats are not documented.

  • panxapi: add path value to --capath and --cafile argument usage.

  • panxapi: don't print exception message if it's a null string.

  • add --timeout and --interval options for use with --log to panxapi.

  • rename pan.xapi log() sleep argument to interval and rework query
    interval processing slightly.

  • add synchronous commit capability.

    TODO: more complete show job message parsing, especially for commit-all.