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 oriented and mimics the traditional interaction with the device via the GUI or CLI/API.
Traceback (most recent call last):
File "C:\Users\muravkir\Git projects\PANPython\venv\lib\site-packages\panos\base.py", line 3878, in method
super_method(self, *args, **kwargs)
File "C:\Users\muravkir\Git projects\PANPython\venv\lib\site-packages\pan\xapi.py", line 951, in op
self.__type_op(cmd, vsys, extra_qs)
File "C:\Users\muravkir\Git projects\PANPython\venv\lib\site-packages\pan\xapi.py", line 974, in __type_op
raise PanXapiError(self.status_detail)
pan.xapi.PanXapiError: debug not available to xmlapi client
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\muravkir\Git projects\PANPython\operational_commands.py", line 4, in <module>
response = fw.op('debug log-receiver statistics', xml=False)
File "C:\Users\muravkir\Git projects\PANPython\venv\lib\site-packages\panos\firewall.py", line 242, in op
return super(Firewall, self).op(
File "C:\Users\muravkir\Git projects\PANPython\venv\lib\site-packages\panos\base.py", line 4047, in op
element = self.xapi.op(cmd, vsys, False, extra_qs, retry_on_peer=retry_on_peer)
File "C:\Users\muravkir\Git projects\PANPython\venv\lib\site-packages\panos\base.py", line 3899, in method
raise the_exception
Possible solution
Steps to reproduce
firewall 9 or 10 version
perform "debug log-receiver statistics" op command from script
Screenshots
Context
Your Environment
Version used:
Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3):
Describe the bug
I am doing a simple operational state command query from the documentation:
Expected behavior
Should receive the result of the command
Current behavior
Possible solution
Steps to reproduce
Screenshots
Context
Your Environment