pan-os-python 1.12.4__tar.gz → 1.12.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/PKG-INFO +1 -1
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/panos/__init__.py +1 -1
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/panos/firewall.py +3 -6
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/panos/panorama.py +3 -6
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/pyproject.toml +1 -1
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/LICENSE +0 -0
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/README.md +0 -0
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/panos/base.py +0 -0
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/panos/device.py +0 -0
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/panos/errors.py +0 -0
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/panos/ha.py +0 -0
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/panos/network.py +0 -0
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/panos/objects.py +0 -0
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/panos/plugins.py +0 -0
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/panos/policies.py +0 -0
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/panos/predefined.py +0 -0
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/panos/updater.py +0 -0
- {pan_os_python-1.12.4 → pan_os_python-1.12.5}/panos/userid.py +0 -0
|
@@ -591,7 +591,6 @@ class FirewallCommit(object):
|
|
|
591
591
|
self.exclude_device_and_network,
|
|
592
592
|
self.exclude_shared_objects,
|
|
593
593
|
self.exclude_policy_and_objects,
|
|
594
|
-
self.force,
|
|
595
594
|
]
|
|
596
595
|
|
|
597
596
|
return any(x for x in pp_list)
|
|
@@ -622,11 +621,9 @@ class FirewallCommit(object):
|
|
|
622
621
|
ET.SubElement(partial, "shared-object").text = "excluded"
|
|
623
622
|
if self.exclude_policy_and_objects:
|
|
624
623
|
ET.SubElement(partial, "policy-and-objects").text = "excluded"
|
|
624
|
+
fe.append(partial)
|
|
625
625
|
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
fe.append(partial)
|
|
629
|
-
else:
|
|
630
|
-
root.append(partial)
|
|
626
|
+
if self.force:
|
|
627
|
+
fe = ET.SubElement(root, "force")
|
|
631
628
|
|
|
632
629
|
return root
|
|
@@ -990,7 +990,6 @@ class PanoramaCommit(object):
|
|
|
990
990
|
self.log_collector_groups,
|
|
991
991
|
self.exclude_device_and_network,
|
|
992
992
|
self.exclude_shared_objects,
|
|
993
|
-
self.force,
|
|
994
993
|
]
|
|
995
994
|
|
|
996
995
|
return any(x for x in pp_list)
|
|
@@ -1031,12 +1030,10 @@ class PanoramaCommit(object):
|
|
|
1031
1030
|
ET.SubElement(partial, "device-and-network").text = "excluded"
|
|
1032
1031
|
if self.exclude_shared_objects:
|
|
1033
1032
|
ET.SubElement(partial, "shared-object").text = "excluded"
|
|
1033
|
+
root.append(partial)
|
|
1034
1034
|
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
fe.append(partial)
|
|
1038
|
-
else:
|
|
1039
|
-
root.append(partial)
|
|
1035
|
+
if self.force:
|
|
1036
|
+
fe = ET.SubElement(root, "force")
|
|
1040
1037
|
|
|
1041
1038
|
return root
|
|
1042
1039
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|