-
Notifications
You must be signed in to change notification settings - Fork 186
PBF rules created with wrong path #577
Copy link
Copy link
Open
Labels
Description
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
Change " self._xpaths.add_profile(value="/pbf/rules") " to self._xpaths.add_profile(value="/rulebase/pbf/rules")
Any attempt to create a PBF
Firewall is running version 10.x
Reactions are currently unavailable