PaloAltoNetworks / pan-os-python

The PAN-OS SDK for Python is a package to help interact with Palo Alto Networks devices (including physical and virtualized Next-generation Firewalls and Panorama). The pan-os-python SDK is object oriented and mimics the traditional interaction with the device via the GUI or CLI/API.
https://pan-os-python.readthedocs.io
ISC License
347 stars 172 forks source link

PanDevice cannot be created if the target device behind proxy #549

Open nikzeyn opened 9 months ago

nikzeyn commented 9 months ago

I am having an issue with running the following command for the device that is behind the proxy.

fw = PanDevice.create_from_device(hostname, user, password)

I know it works if you set the proxy in the venv but I cannot set proxy in the venv due to the following:

From my research, it seems this is currently not possible but I may be wrong. If you know how to do it, I'd love to know about it. Otherwise, it'd be great to know if this feature is requested by others and/or is it in the roadmap?