pan-os-python
pan-os-python copied to clipboard
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 ori...
## Description Add conditions to `StaticRoute` nexthop and nexthop_type params as well as accepting 'none' value as an input for nexthop_type. ## Motivation and Context Providing `None` vs a `'none'`...
## The import for PolicyBaseFordwarding uses wong xpath to try creating rules ## The xpath to use should be /config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/rulebase/pbf/rules" ## It tries on config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/pbf/rules which is documented on https://github.com/PaloAltoNetworks/pan-os-python/blob/develop/panos/policies.py...
## Describe the bug ## Expected behavior ## Current behavior ## Possible solution ## Steps to reproduce 1. 2. 3. 4. ## Screenshots ## Context ## Your Environment - Version...
## Describe the bug Partial XPath support was dropped in PAN-OS 11.0. The `create()` function in pan-os-python issues `set` commands with a partial XPath value for the newly created configuration...
## Describe the bug Below is the script I am using to upgrade from 9.1.16 to 11.1.3 code: ---------------------------------------------------------------------------------------------------------------------------- from panos.firewall import Firewall fw = Firewall("", "Username of PA Firewall...
## Documentation link https://pan-os-python.readthedocs.io/en/latest/getting-started.html#the-opstate-namespace ## Describe the problem hit_count.refresh() reliably is resulting in hit_count still being None, with no values being populated ``` rulebase = panos.policies.Rulebase() fw = ce.nodes["nat-gw1.iad.internal-domain"].interactor.obj fw.add(rulebase)...
### Is your feature request related to a problem? I have around 100s of firewalls running I'm looking to automate rule addition on them but logging into panorama and fetching...
## Describe the bug The panos library is incompatible with Python 3.12 and newer, because it uses the deprecated distutils library. Distutils library was removed in python version 3.12 ##...
### Is your feature request related to a problem? I need to enable ECMP and Symmetric Return on the default Virtual Router with pan-os-python. This does not seem to be...
## Description Fix exception due to method signature mismatch. ## Motivation and Context While using ansible at work last week I got an exception due to the Firewall.element() method not...