pan-os-python
pan-os-python copied to clipboard
Modifier calls fail on DeviceGroup when FW is a child
Describe the bug
When trying to do a call for a devicegroup that modifies the live device and a Firewall object is attached it errors out TypeError: Firewall.element() got an unexpected keyword argument 'comparable'
Expected behavior
update the device
Current behavior
Even a simple refresh and apply fails
Possible solution
Steps to reproduce
devicegroup= DeviceGroup('dg-name') panorama.add(devicegroup) devicegroup.refresh() devicegroup.apply()
Screenshots
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 2022.2\plugins\python\helpers\pydev_pydevd_bundle\pydevd_exec2.py", line 3, in Exec
exec(exp, global_vars, local_vars)
File "", line 1, in
Your Environment
Using Anaconda3
- Version used: 1.7.3
- Environment name and version: python 3.11.2
- Operating System and version (desktop or mobile): Windows10
:tada: Thanks for opening your first issue here! Welcome to the community!