Automation/API Discussions
cancel
Showing results for 
Search instead for 
Did you mean: 
Automation/API Discussions

Discussions

Ansible beginner ping to PA firewall

I am new to ansible and i am trying to do a simple ping test to a host that i want to test. I enter the command "ansible all -m ping" and got this error

 

10.2x.x.x | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: This

...

Resolved! Panorama API URL log job limit

Hello,
I am trying to use API calls to retrieve url logs from Panorama following guide:

https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-panorama-api/pan-os-xml-api-request-types/retrieve-logs-api/example-use-the-api-to-retrieve-traffic-logs.html

I h

...

Pulling interface details using python SDK

Hi All ,

 

I am trying to pull interface details using Python SDK . However getting below error :

 

PanDeviceXapiError: show -> interface -> all needs to have non NULL value

 

 

Trying to run below query :

 

Intedetails = fw.op("show interface all", xml=True)

deepak12 by L3 Networker
  • 1563 Views
  • 2 replies
  • 0 Likes

Resolved! API Key for HA Pair

I have a HA pair (PA-3020) and have generated a API key on the active node using the url and the admin username and password. 

 

Will this API key be applicable for both nodes?

 

Thanks for your help.

Lesgall by L1 Bithead
  • 1475 Views
  • 2 replies
  • 0 Likes

Destination zone shows as ****

The API command "/api/?key={KEY}&type=config&action=get&xpath=/config/panorama&target={SERIAL}" generates an XML dump of the firewall's configuration. However, the XML contains "*****" instead of the destination zone name.

snimshad by L1 Bithead
  • 956 Views
  • 0 replies
  • 0 Likes
Top Liked Authors