Automation/API Discussions

Threads in this discussion area are now read-only. If you have a question about Automation/API products please visit our product discussions.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.
Automation/API Discussions

Threads in this discussion area are now read-only. If you have a question about Automation/API products please visit our product discussions.

About Automation/API Discussions

Threads in this discussion area are now read-only. If you have a question about Automation/API products please visit our product discussions.

Discussions

OS Upgrade Script

Hiya!

 

Does anybody have a script that automates PAN OS Upgrade on firewall pairs? If so, can you share one with me? I need to be able to run a script that can upgrade 4 firewall pairs. We are using Panorama as well. 

Fr4nk4 by L2 Linker
  • 4068 Views
  • 1 replies
  • 0 Likes

Cannot add user to Security Rule by API

There is a good example how to add user by API

http://api-lab.paloaltonetworks.com/groups.html#example-add-user-to-group-mappings-groups

 

If I put the XML from the example to https://192.168.1.100/php/rest/browse.php/user-id


<uid-message>
<version>2.0</v

...

Снимок экрана 2019-09-30 в 19.07.18.png

Resolved! Rest calls from PowerShell failing

I have a script that I use that reads a copy of my palo's configuration that I manually export. I am looking to create a PowerShell script that can call the rest service instead of having to manually export the XML configuration file. I also want to

...

Panorama deployment in Ansible

Hi.

Im working with a customer using PANW/NSX that wants to automate Panorama/firewall deployment with ansible.

 

So far I have found a few stumbling blocks:

  1. The ESXi OVA file defines the VM with 4vCPUs and 8GB RAM. This wont work for Panorama mode, only
...

OysteinK by L3 Networker
  • 3062 Views
  • 1 replies
  • 0 Likes

License Firewall ESXi VM before bootstrapping

We are trying to do automated deployment of multiple VM firewalls, managed by Panorama and using bootstrapping for the initial setup. All appliances will be hosted on ESXi server.  

 

The problem we have is how to license the VM firewalls before bootst

...

BatD by L4 Transporter
  • 2635 Views
  • 1 replies
  • 0 Likes

IpsecTunnel api refresh

im trying to get a list of ipsec tunnels from each template stack i have. but anytime i attempt to use the class pandevice.network.IpsecTunnel i receive an error that pandevice doesnt have an attribute network....  according to the documentation here

...

Policy Optimizer API calls

I am trying to create a report and automate disabling rules that have not been used in the last 30 days.  

the report will run the 1 st of every month. 

 

So I am looking for API calls for the  Policy Optimizer "unused in 30 days"

or the CLI commands so

...