Tag Archives: pan-python

[python]Exception handling with pan-python

pan.xapi has its own error handling, so on previous post i updated the code with exception handling. I actually tested with wrong credential, I could see the http 403 forbidden error raised. Which is good, as I would know what … Continue reading

Posted in Python, Scripting | Tagged , , , , | Leave a comment

[python]Working with Palo Alto firewall API with pan-python module

This is another demonstration on the use of pan-python module. The usage documentation can be found in github. This is a simple demonstration on using the pan.xapi module from pan-python. Only changes the device configuration time settings. The demo uses … Continue reading

Posted in Python, Scripting | Tagged , , | Leave a comment

[python]working with pan-python module. Module that calls Palo Alto API

I found the example of usage in here. The code will not work on python3. In fact i am not sure why the print(credentials) in the code is necessary, there is no arg passed into the PanXapi which puzzles me … Continue reading

Posted in Python, Scripting | Tagged | Leave a comment