pan-os-python 1.12.2__tar.gz → 1.12.4__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.2 → pan_os_python-1.12.4}/PKG-INFO +1 -1
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/panos/__init__.py +1 -1
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/panos/base.py +3 -1
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/panos/device.py +5 -0
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/panos/network.py +9 -10
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/pyproject.toml +1 -1
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/LICENSE +0 -0
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/README.md +0 -0
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/panos/errors.py +0 -0
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/panos/firewall.py +0 -0
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/panos/ha.py +0 -0
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/panos/objects.py +0 -0
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/panos/panorama.py +0 -0
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/panos/plugins.py +0 -0
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/panos/policies.py +0 -0
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/panos/predefined.py +0 -0
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/panos/updater.py +0 -0
- {pan_os_python-1.12.2 → pan_os_python-1.12.4}/panos/userid.py +0 -0
|
@@ -3479,6 +3479,7 @@ class VsysOperations(VersionedPanObject):
|
|
|
3479
3479
|
"vlan": "vlans",
|
|
3480
3480
|
"virtual-wire": "virtual_wires",
|
|
3481
3481
|
"virtual-router": "virtual_routers",
|
|
3482
|
+
"logical-router": "logical_routers",
|
|
3482
3483
|
"interface": "interface",
|
|
3483
3484
|
}
|
|
3484
3485
|
for key, param_name in import_to_vsys_param.items():
|
|
@@ -4900,7 +4901,7 @@ class PanDevice(PanObject):
|
|
|
4900
4901
|
except AttributeError:
|
|
4901
4902
|
if exception:
|
|
4902
4903
|
raise err.PanCommitNotNeeded("Commit not needed", pan_device=self)
|
|
4903
|
-
|
|
4904
|
+
elif commit_response.find("./msg/line") is not None:
|
|
4904
4905
|
# By getting here, there was no "./result/job" in the commit response,
|
|
4905
4906
|
# and there was no exception raised either, so capture the response message
|
|
4906
4907
|
commit_response_msg = commit_response.find("./msg/line").text
|
|
@@ -4921,6 +4922,7 @@ class PanDevice(PanObject):
|
|
|
4921
4922
|
"messages": [commit_response_msg],
|
|
4922
4923
|
}
|
|
4923
4924
|
return log_collector_group_push_result
|
|
4925
|
+
else:
|
|
4924
4926
|
return
|
|
4925
4927
|
if not sync:
|
|
4926
4928
|
# Don't synchronize, just return
|
|
@@ -99,6 +99,7 @@ class Vsys(VersionedPanObject):
|
|
|
99
99
|
vlans (list): A list of strings of VLANs
|
|
100
100
|
virtual_wires (list): A list of strings of virtual wires
|
|
101
101
|
virtual_routers (list): A list of strings of virtual routers
|
|
102
|
+
logical_routers (list): (10.2+) A list of strings of logical routers
|
|
102
103
|
visible_vsys (list): A list of strings of the vsys visible
|
|
103
104
|
dns_proxy (str): DNS Proxy server
|
|
104
105
|
decrypt_forwarding (bool): Allow forwarding of decrypted content
|
|
@@ -188,6 +189,10 @@ class Vsys(VersionedPanObject):
|
|
|
188
189
|
path="import/network/virtual-router",
|
|
189
190
|
)
|
|
190
191
|
)
|
|
192
|
+
params.append(VersionedParamPath("logical_routers", exclude=True))
|
|
193
|
+
params[-1].add_profile(
|
|
194
|
+
"10.2.0", path="import/network/logical-router", vartype="member"
|
|
195
|
+
)
|
|
191
196
|
params.append(
|
|
192
197
|
VersionedParamPath(
|
|
193
198
|
"visible_vsys", vartype="member", path="import/visible-vsys"
|
|
@@ -3017,10 +3017,9 @@ class BgpPeerGroup(VersionedPanObject):
|
|
|
3017
3017
|
aggregated_confed_as_path (bool): the peers understand aggregated confederation AS path
|
|
3018
3018
|
soft_reset_with_stored_info (bool): soft reset with stored info
|
|
3019
3019
|
type (str): peer group type I('ebgp')/I('ibgp')/I('ebgp-confed')/I('ibgp-confed')
|
|
3020
|
-
export_nexthop (str): export locally resolved nexthop I('resolve')/I('use-self')
|
|
3021
|
-
import_nexthop (str): override nexthop with peer address I('original')/I('use-peer'), only with 'ebgp'
|
|
3022
3020
|
remove_private_as (bool): remove private AS when exporting route, only with 'ebgp'
|
|
3023
|
-
|
|
3021
|
+
import_nexthop (str): override nexthop with peer address I('original')/I('use-peer'), only with 'ebgp'
|
|
3022
|
+
export_nexthop (str): export locally resolved nexthop I('resolve')/I('use-self')
|
|
3024
3023
|
"""
|
|
3025
3024
|
|
|
3026
3025
|
SUFFIX = ENTRY
|
|
@@ -3046,9 +3045,10 @@ class BgpPeerGroup(VersionedPanObject):
|
|
|
3046
3045
|
)
|
|
3047
3046
|
params.append(
|
|
3048
3047
|
VersionedParamPath(
|
|
3049
|
-
"
|
|
3050
|
-
|
|
3051
|
-
|
|
3048
|
+
"remove_private_as",
|
|
3049
|
+
condition={"type": "ebgp"},
|
|
3050
|
+
path="type/{type}/remove-private-as",
|
|
3051
|
+
vartype="yesno",
|
|
3052
3052
|
)
|
|
3053
3053
|
)
|
|
3054
3054
|
params.append(
|
|
@@ -3061,10 +3061,9 @@ class BgpPeerGroup(VersionedPanObject):
|
|
|
3061
3061
|
)
|
|
3062
3062
|
params.append(
|
|
3063
3063
|
VersionedParamPath(
|
|
3064
|
-
"
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
vartype="yesno",
|
|
3064
|
+
"export_nexthop",
|
|
3065
|
+
path="type/{type}/export-nexthop",
|
|
3066
|
+
values=("resolve", "use-self"),
|
|
3068
3067
|
)
|
|
3069
3068
|
)
|
|
3070
3069
|
|
|
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
|