Hello community,
here is the log from the commit of package python-pan-python for
openSUSE:Factory checked in at 2020-01-13 22:21:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pan-python (Old)
and /work/SRC/openSUSE:Factory/.python-pan-python.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pan-python"
Mon Jan 13 22:21:19 2020 rev:2 rq:763814 version:0.16.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pan-python/python-pan-python.changes
2019-10-28 16:59:07.457668306 +0100
+++
/work/SRC/openSUSE:Factory/.python-pan-python.new.6675/python-pan-python.changes
2020-01-13 22:21:28.962517070 +0100
@@ -1,0 +2,14 @@
+Sat Jan 11 18:27:39 UTC 2020 - Martin Hauke <[email protected]>
+
+- Update to version 0.16.0
+ * pan.config: Support 9.1.0 config for set format.
+ * pan.licapi: 'version' field in request header should use
+ version attribute and not int(). This was not noticed because
+ version:256 would previously use the current API version of 1.
+ * pan.licapi.rst: Document pan.licapi._ApiVersion int() layout
+ correctly.
+ panwfapi.py: Fix 'SyntaxWarning: "is" with a literal. Did you
+ mean "=="?' warning from Python 3.8.
+ * setup.py: Add Python 3.8.
+
+-------------------------------------------------------------------
Old:
----
pan-python-0.15.0.tar.gz
New:
----
pan-python-0.16.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pan-python.spec ++++++
--- /var/tmp/diff_new_pack.NQYVeE/_old 2020-01-13 22:21:29.702517413 +0100
+++ /var/tmp/diff_new_pack.NQYVeE/_new 2020-01-13 22:21:29.706517415 +0100
@@ -1,6 +1,7 @@
#
# spec file for package python-pan-python
#
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017-2019, Martin Hauke <[email protected]>
#
# All modifications and additions to the file contributed by third parties
@@ -18,11 +19,11 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pan-python
-Version: 0.15.0
+Version: 0.16.0
Release: 0
Summary: Multi-tool set for Palo Alto Networks PAN-OS, Panorama,
WildFire and AutoFocus
-Group: Development/Languages/Python
License: ISC
+Group: Development/Languages/Python
URL: https://github.com/kevinsteves/pan-python
Source:
https://files.pythonhosted.org/packages/source/p/pan-python/pan-python-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
++++++ pan-python-0.15.0.tar.gz -> pan-python-0.16.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/HISTORY.rst
new/pan-python-0.16.0/HISTORY.rst
--- old/pan-python-0.15.0/HISTORY.rst 2019-07-18 17:20:06.000000000 +0200
+++ new/pan-python-0.16.0/HISTORY.rst 2020-01-11 19:00:10.000000000 +0100
@@ -1,6 +1,26 @@
Release History
===============
+0.16.0 (2020-01-11)
+-------------------
+
+- pan.config: Support 9.1.0 config for set format.
+
+- pan.licapi: 'version' field in request header should use version
+ attribute and not int(). This was not noticed because version:256
+ would previously use the current API version of 1. Bug found by
+ Stacey Sheldon.
+
+- pan.licapi.rst: Document pan.licapi._ApiVersion int() layout
+ correctly.
+
+- Use 9.1 documentation links.
+
+- panwfapi.py: Fix 'SyntaxWarning: "is" with a literal. Did you mean
+ "=="?' warning from Python 3.8.
+
+- setup.py: Add Python 3.8.
+
0.15.0 (2019-07-18)
-------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/PKG-INFO
new/pan-python-0.16.0/PKG-INFO
--- old/pan-python-0.15.0/PKG-INFO 2019-07-18 17:21:41.000000000 +0200
+++ new/pan-python-0.16.0/PKG-INFO 2020-01-11 19:01:23.000000000 +0100
@@ -1,12 +1,11 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: pan-python
-Version: 0.15.0
+Version: 0.16.0
Summary: Multi-tool set for Palo Alto Networks PAN-OS, Panorama, WildFire and
AutoFocus
Home-page: https://github.com/kevinsteves/pan-python
Author: Kevin Steves
Author-email: [email protected]
License: UNKNOWN
-Description-Content-Type: text/x-rst
Description: pan-python
==========
@@ -57,3 +56,5 @@
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Description-Content-Type: text/x-rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/bin/panwfapi.py
new/pan-python-0.16.0/bin/panwfapi.py
--- old/pan-python-0.15.0/bin/panwfapi.py 2019-07-18 17:20:06.000000000
+0200
+++ new/pan-python-0.16.0/bin/panwfapi.py 2020-01-11 19:00:10.000000000
+0100
@@ -533,11 +533,11 @@
def print_response(wfapi, options):
- if wfapi.response_type is 'html' and wfapi.response_body is not None:
+ if wfapi.response_type == 'html' and wfapi.response_body is not None:
if options['print_html']:
print(wfapi.response_body.rstrip())
- elif wfapi.response_type is 'xml' and wfapi.response_body is not None:
+ elif wfapi.response_type == 'xml' and wfapi.response_body is not None:
if options['print_xml']:
print(wfapi.response_body.rstrip())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/doc/pan.afapi.html
new/pan-python-0.16.0/doc/pan.afapi.html
--- old/pan-python-0.15.0/doc/pan.afapi.html 2019-07-18 17:20:54.000000000
+0200
+++ new/pan-python-0.16.0/doc/pan.afapi.html 2020-01-11 19:01:07.000000000
+0100
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.14:
http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.15.2:
http://docutils.sourceforge.net/" />
<title>pan.afapi</title>
<style type="text/css">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/doc/pan.licapi.html
new/pan-python-0.16.0/doc/pan.licapi.html
--- old/pan-python-0.15.0/doc/pan.licapi.html 2019-07-18 17:20:55.000000000
+0200
+++ new/pan-python-0.16.0/doc/pan.licapi.html 2020-01-11 19:01:08.000000000
+0100
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.14:
http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.15.2:
http://docutils.sourceforge.net/" />
<title>pan.licapi</title>
<style type="text/css">
@@ -683,13 +683,13 @@
</tr>
</thead>
<tbody valign="top">
-<tr><td>0-15</td>
+<tr><td>0-7</td>
<td>unused</td>
</tr>
-<tr><td>16-23</td>
+<tr><td>8-15</td>
<td>version</td>
</tr>
-<tr><td>24-31</td>
+<tr><td>16-31</td>
<td>reserved for future use</td>
</tr>
</tbody>
@@ -762,7 +762,7 @@
<p>panlicapi.py</p>
<dl class="docutils">
<dt>Licensing API</dt>
-<dd><a class="reference external"
href="https://docs.paloaltonetworks.com/vm-series/9-0/vm-series-deployment/license-the-vm-series-firewall/licensing-api.html">https://docs.paloaltonetworks.com/vm-series/9-0/vm-series-deployment/license-the-vm-series-firewall/licensing-api.html</a></dd>
+<dd><a class="reference external"
href="https://docs.paloaltonetworks.com/vm-series/9-1/vm-series-deployment/license-the-vm-series-firewall/licensing-api.html">https://docs.paloaltonetworks.com/vm-series/9-1/vm-series-deployment/license-the-vm-series-firewall/licensing-api.html</a></dd>
</dl>
</blockquote>
</div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/doc/pan.licapi.rst
new/pan-python-0.16.0/doc/pan.licapi.rst
--- old/pan-python-0.15.0/doc/pan.licapi.rst 2019-07-18 17:20:06.000000000
+0200
+++ new/pan-python-0.16.0/doc/pan.licapi.rst 2020-01-11 19:00:10.000000000
+0100
@@ -249,9 +249,9 @@
================== ===========
Bits (MSB 0 order) Description
================== ===========
- 0-15 unused
- 16-23 version
- 24-31 reserved for future use
+ 0-7 unused
+ 8-15 version
+ 16-31 reserved for future use
================== ===========
Sample Usage
@@ -317,7 +317,7 @@
panlicapi.py
Licensing API
-
https://docs.paloaltonetworks.com/vm-series/9-0/vm-series-deployment/license-the-vm-series-firewall/licensing-api.html
+
https://docs.paloaltonetworks.com/vm-series/9-1/vm-series-deployment/license-the-vm-series-firewall/licensing-api.html
AUTHORS
=======
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/doc/pan.wfapi.html
new/pan-python-0.16.0/doc/pan.wfapi.html
--- old/pan-python-0.15.0/doc/pan.wfapi.html 2019-07-18 17:20:53.000000000
+0200
+++ new/pan-python-0.16.0/doc/pan.wfapi.html 2020-01-11 19:01:06.000000000
+0100
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.14:
http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.15.2:
http://docutils.sourceforge.net/" />
<title>pan.wfapi</title>
<style type="text/css">
@@ -865,7 +865,7 @@
<p>panwfapi.py</p>
<dl class="docutils">
<dt>WildFire Administrator's Guide</dt>
-<dd><a class="reference external"
href="https://docs.paloaltonetworks.com/wildfire/9-0/wildfire-admin.html">https://docs.paloaltonetworks.com/wildfire/9-0/wildfire-admin.html</a></dd>
+<dd><a class="reference external"
href="https://docs.paloaltonetworks.com/wildfire/9-1/wildfire-admin.html">https://docs.paloaltonetworks.com/wildfire/9-1/wildfire-admin.html</a></dd>
<dt>WildFire API Reference</dt>
<dd><a class="reference external"
href="https://docs.paloaltonetworks.com/wildfire/9-0/wildfire-api.html">https://docs.paloaltonetworks.com/wildfire/9-0/wildfire-api.html</a></dd>
</dl>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/doc/pan.wfapi.rst
new/pan-python-0.16.0/doc/pan.wfapi.rst
--- old/pan-python-0.15.0/doc/pan.wfapi.rst 2019-07-18 17:20:06.000000000
+0200
+++ new/pan-python-0.16.0/doc/pan.wfapi.rst 2020-01-11 19:00:10.000000000
+0100
@@ -383,7 +383,7 @@
panwfapi.py
WildFire Administrator's Guide
- https://docs.paloaltonetworks.com/wildfire/9-0/wildfire-admin.html
+ https://docs.paloaltonetworks.com/wildfire/9-1/wildfire-admin.html
WildFire API Reference
https://docs.paloaltonetworks.com/wildfire/9-0/wildfire-api.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/doc/pan.xapi.html
new/pan-python-0.16.0/doc/pan.xapi.html
--- old/pan-python-0.15.0/doc/pan.xapi.html 2019-07-18 17:20:52.000000000
+0200
+++ new/pan-python-0.16.0/doc/pan.xapi.html 2020-01-11 19:01:04.000000000
+0100
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.14:
http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.15.2:
http://docutils.sourceforge.net/" />
<title>pan.xapi</title>
<style type="text/css">
@@ -1017,7 +1017,7 @@
<p>panxapi.py</p>
<dl class="docutils">
<dt>PAN-OS and Panorama API Guide</dt>
-<dd><a class="reference external"
href="https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-panorama-api.html">https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-panorama-api.html</a></dd>
+<dd><a class="reference external"
href="https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-panorama-api.html">https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-panorama-api.html</a></dd>
</dl>
</blockquote>
</div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/doc/pan.xapi.rst
new/pan-python-0.16.0/doc/pan.xapi.rst
--- old/pan-python-0.15.0/doc/pan.xapi.rst 2019-07-18 17:20:06.000000000
+0200
+++ new/pan-python-0.16.0/doc/pan.xapi.rst 2020-01-11 19:00:10.000000000
+0100
@@ -656,7 +656,7 @@
panxapi.py
PAN-OS and Panorama API Guide
- https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-panorama-api.html
+ https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-panorama-api.html
AUTHORS
=======
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/doc/panafapi.html
new/pan-python-0.16.0/doc/panafapi.html
--- old/pan-python-0.15.0/doc/panafapi.html 2019-07-18 17:20:53.000000000
+0200
+++ new/pan-python-0.16.0/doc/panafapi.html 2020-01-11 19:01:06.000000000
+0100
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.14:
http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.15.2:
http://docutils.sourceforge.net/" />
<title>panafapi.py</title>
<style type="text/css">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/doc/panconf.html
new/pan-python-0.16.0/doc/panconf.html
--- old/pan-python-0.15.0/doc/panconf.html 2019-07-18 17:20:52.000000000
+0200
+++ new/pan-python-0.16.0/doc/panconf.html 2020-01-11 19:01:05.000000000
+0100
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.14:
http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.15.2:
http://docutils.sourceforge.net/" />
<title>panconf.py</title>
<style type="text/css">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/doc/panlicapi.html
new/pan-python-0.16.0/doc/panlicapi.html
--- old/pan-python-0.15.0/doc/panlicapi.html 2019-07-18 17:20:54.000000000
+0200
+++ new/pan-python-0.16.0/doc/panlicapi.html 2020-01-11 19:01:07.000000000
+0100
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.14:
http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.15.2:
http://docutils.sourceforge.net/" />
<title>panlicapi.py</title>
<style type="text/css">
@@ -718,9 +718,9 @@
<p>pan.licapi, panxapi.py</p>
<dl class="docutils">
<dt>VM-Series Deployment Guide</dt>
-<dd><a class="reference external"
href="https://docs.paloaltonetworks.com/vm-series/9-0/vm-series-deployment.html">https://docs.paloaltonetworks.com/vm-series/9-0/vm-series-deployment.html</a></dd>
+<dd><a class="reference external"
href="https://docs.paloaltonetworks.com/vm-series/9-1/vm-series-deployment.html">https://docs.paloaltonetworks.com/vm-series/9-1/vm-series-deployment.html</a></dd>
<dt>Licensing API</dt>
-<dd><a class="reference external"
href="https://docs.paloaltonetworks.com/vm-series/9-0/vm-series-deployment/license-the-vm-series-firewall/licensing-api.html">https://docs.paloaltonetworks.com/vm-series/9-0/vm-series-deployment/license-the-vm-series-firewall/licensing-api.html</a></dd>
+<dd><a class="reference external"
href="https://docs.paloaltonetworks.com/vm-series/9-1/vm-series-deployment/license-the-vm-series-firewall/licensing-api.html">https://docs.paloaltonetworks.com/vm-series/9-1/vm-series-deployment/license-the-vm-series-firewall/licensing-api.html</a></dd>
</dl>
</blockquote>
</div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/doc/panlicapi.rst
new/pan-python-0.16.0/doc/panlicapi.rst
--- old/pan-python-0.15.0/doc/panlicapi.rst 2019-07-18 17:20:06.000000000
+0200
+++ new/pan-python-0.16.0/doc/panlicapi.rst 2020-01-11 19:00:10.000000000
+0100
@@ -382,10 +382,10 @@
pan.licapi, panxapi.py
VM-Series Deployment Guide
- https://docs.paloaltonetworks.com/vm-series/9-0/vm-series-deployment.html
+ https://docs.paloaltonetworks.com/vm-series/9-1/vm-series-deployment.html
Licensing API
-
https://docs.paloaltonetworks.com/vm-series/9-0/vm-series-deployment/license-the-vm-series-firewall/licensing-api.html
+
https://docs.paloaltonetworks.com/vm-series/9-1/vm-series-deployment/license-the-vm-series-firewall/licensing-api.html
AUTHORS
=======
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/doc/panrc.html
new/pan-python-0.16.0/doc/panrc.html
--- old/pan-python-0.15.0/doc/panrc.html 2019-07-18 17:20:51.000000000
+0200
+++ new/pan-python-0.16.0/doc/panrc.html 2020-01-11 19:01:03.000000000
+0100
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.14:
http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.15.2:
http://docutils.sourceforge.net/" />
<title>.panrc</title>
<style type="text/css">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/doc/panwfapi.html
new/pan-python-0.16.0/doc/panwfapi.html
--- old/pan-python-0.15.0/doc/panwfapi.html 2019-07-18 17:20:53.000000000
+0200
+++ new/pan-python-0.16.0/doc/panwfapi.html 2020-01-11 19:01:05.000000000
+0100
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.14:
http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.15.2:
http://docutils.sourceforge.net/" />
<title>panwfapi.py</title>
<style type="text/css">
@@ -702,7 +702,7 @@
<p>pan.wfapi</p>
<dl class="docutils">
<dt>WildFire Administrator's Guide</dt>
-<dd><a class="reference external"
href="https://docs.paloaltonetworks.com/wildfire/9-0/wildfire-admin.html">https://docs.paloaltonetworks.com/wildfire/9-0/wildfire-admin.html</a></dd>
+<dd><a class="reference external"
href="https://docs.paloaltonetworks.com/wildfire/9-1/wildfire-admin.html">https://docs.paloaltonetworks.com/wildfire/9-1/wildfire-admin.html</a></dd>
<dt>WildFire API Reference</dt>
<dd><a class="reference external"
href="https://docs.paloaltonetworks.com/wildfire/9-0/wildfire-api.html">https://docs.paloaltonetworks.com/wildfire/9-0/wildfire-api.html</a></dd>
</dl>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/doc/panwfapi.rst
new/pan-python-0.16.0/doc/panwfapi.rst
--- old/pan-python-0.15.0/doc/panwfapi.rst 2019-07-18 17:20:06.000000000
+0200
+++ new/pan-python-0.16.0/doc/panwfapi.rst 2020-01-11 19:00:10.000000000
+0100
@@ -359,7 +359,7 @@
pan.wfapi
WildFire Administrator's Guide
- https://docs.paloaltonetworks.com/wildfire/9-0/wildfire-admin.html
+ https://docs.paloaltonetworks.com/wildfire/9-1/wildfire-admin.html
WildFire API Reference
https://docs.paloaltonetworks.com/wildfire/9-0/wildfire-api.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/doc/panxapi.html
new/pan-python-0.16.0/doc/panxapi.html
--- old/pan-python-0.15.0/doc/panxapi.html 2019-07-18 17:20:51.000000000
+0200
+++ new/pan-python-0.16.0/doc/panxapi.html 2020-01-11 19:01:04.000000000
+0100
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.14:
http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.15.2:
http://docutils.sourceforge.net/" />
<title>panxapi.py</title>
<style type="text/css">
@@ -1007,7 +1007,7 @@
<p>pan.xapi, panconf.py</p>
<dl class="docutils">
<dt>PAN-OS and Panorama API Guide</dt>
-<dd><a class="reference external"
href="https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-panorama-api.html">https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-panorama-api.html</a></dd>
+<dd><a class="reference external"
href="https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-panorama-api.html">https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-panorama-api.html</a></dd>
<dt>PAN-OS XML API Labs with pan-python</dt>
<dd><a class="reference external"
href="http://api-lab.paloaltonetworks.com/">http://api-lab.paloaltonetworks.com/</a></dd>
</dl>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/doc/panxapi.rst
new/pan-python-0.16.0/doc/panxapi.rst
--- old/pan-python-0.15.0/doc/panxapi.rst 2019-07-18 17:20:06.000000000
+0200
+++ new/pan-python-0.16.0/doc/panxapi.rst 2020-01-11 19:00:10.000000000
+0100
@@ -722,7 +722,7 @@
pan.xapi, panconf.py
PAN-OS and Panorama API Guide
- https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-panorama-api.html
+ https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-panorama-api.html
PAN-OS XML API Labs with pan-python
http://api-lab.paloaltonetworks.com/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/lib/pan/__init__.py
new/pan-python-0.16.0/lib/pan/__init__.py
--- old/pan-python-0.15.0/lib/pan/__init__.py 2019-07-18 17:20:06.000000000
+0200
+++ new/pan-python-0.16.0/lib/pan/__init__.py 2020-01-11 19:00:10.000000000
+0100
@@ -16,7 +16,7 @@
import logging
-__version__ = '0.15.0'
+__version__ = '0.16.0'
DEBUG1 = logging.DEBUG
DEBUG2 = DEBUG1 - 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/lib/pan/config.py
new/pan-python-0.16.0/lib/pan/config.py
--- old/pan-python-0.15.0/lib/pan/config.py 2019-07-18 17:20:06.000000000
+0200
+++ new/pan-python-0.16.0/lib/pan/config.py 2020-01-11 19:00:10.000000000
+0100
@@ -486,6 +486,13 @@
x.insert(35, s)
xpaths_panos_8_0 = '\n'.join(x)
+ s =
'''./devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/sdwan-interface-profile'''
+ x = xpaths_panos_8_0.split('\n')
+ x.insert(18, s)
+ s =
'''./devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/dynamic-user-group'''
+ x.insert(33, s)
+ xpaths_panos_9_1 = '\n'.join(x)
+
xpaths_panos_multi_vsys_4_1 = '''
./devices/entry[@name='localhost.localdomain']/deviceconfig
./devices/entry[@name='localhost.localdomain']/network
@@ -597,6 +604,9 @@
elif self.config_version() in ['8.0.0', '8.1.0', '9.0.0']:
xpaths_panos = xpaths_panos_8_0
xpaths_panorama = xpaths_panorama_8_0
+ elif self.config_version() in ['9.1.0']:
+ xpaths_panos = xpaths_panos_9_1
+ xpaths_panorama = xpaths_panorama_8_0
if self.config_multi_vsys():
xpaths = xpaths_panos_multi_vsys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/lib/pan/licapi/v1.py
new/pan-python-0.16.0/lib/pan/licapi/v1.py
--- old/pan-python-0.15.0/lib/pan/licapi/v1.py 2019-07-18 17:20:06.000000000
+0200
+++ new/pan-python-0.16.0/lib/pan/licapi/v1.py 2020-01-11 19:00:10.000000000
+0100
@@ -130,7 +130,7 @@
'apikey': self.api_key,
# requests header value must be str:
# https://github.com/kennethreitz/requests/issues/3477
- 'version': str(int(api_version)),
+ 'version': str(api_version.version),
}
try:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/lib/pan_python.egg-info/PKG-INFO
new/pan-python-0.16.0/lib/pan_python.egg-info/PKG-INFO
--- old/pan-python-0.15.0/lib/pan_python.egg-info/PKG-INFO 2019-07-18
17:21:40.000000000 +0200
+++ new/pan-python-0.16.0/lib/pan_python.egg-info/PKG-INFO 2020-01-11
19:01:22.000000000 +0100
@@ -1,12 +1,11 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: pan-python
-Version: 0.15.0
+Version: 0.16.0
Summary: Multi-tool set for Palo Alto Networks PAN-OS, Panorama, WildFire and
AutoFocus
Home-page: https://github.com/kevinsteves/pan-python
Author: Kevin Steves
Author-email: [email protected]
License: UNKNOWN
-Description-Content-Type: text/x-rst
Description: pan-python
==========
@@ -57,3 +56,5 @@
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Description-Content-Type: text/x-rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pan-python-0.15.0/setup.py
new/pan-python-0.16.0/setup.py
--- old/pan-python-0.15.0/setup.py 2019-07-18 17:20:06.000000000 +0200
+++ new/pan-python-0.16.0/setup.py 2020-01-11 19:00:10.000000000 +0100
@@ -34,6 +34,7 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
],
package_dir={'': 'lib'},
packages=[