Replies: 2 comments
-
Can someone help? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Will happen eventually, but this will require a bit of plumbing for pan-os-python to support. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a script which is doing report on multple Panorama securirty policies. It is working ok using the API, but I need run it offline using the panorama config file.
My understanding is that I should be able to do it using the refresh_from_xml() module, but I am keep on getting errors when using it.
As an example refreshall() is working fine:
device_groups = panorama.DeviceGroup.refreshall(pano, add=True)
but refresh_from_xml returns differenet errors:
device_groups = panorama.DeviceGroup.refreshall_from_xml(xml = 'running-config.xml', refresh_children = True) TypeError: refreshall_from_xml() missing 1 required positional argument: 'self'
Did you have any success running the framwork with a config file? Any guidance will be helpful.
Beta Was this translation helpful? Give feedback.
All reactions