PaloAltoNetworks / PaloAltoNetworks/pan-os-python
PanDevice cannot be created if the target device behind proxy
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 400
- Forks
- 199
- PR merge metrics
- No merged PRs in 30d
Description
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:
- this is part pf a bigger tool/system where the connection to each device need explicitly to mention/provide the proxy
- there are more than 1 proxy
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the PanDevice.create_from_device entry point and trace how device connections are configured. Determine whether a proxy can be supplied per device, including support for multiple proxies; done means the command can connect through an explicitly provided proxy without configuring the virtual environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100