Automation Python or API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Automation Python or API

L4 Transporter

What is the difference between API vs Python for scripting? Whats benefit of one over ther other Does anyone a actaull working pything script i can mimic? I have followed all instrcitions and cant seem to get python to work

1 accepted solution

Accepted Solutions

L7 Applicator

The REST API makes web services requests to perform functions outlined in the API guide.

 

Think of python as an automated way to wrap normal CLI usage into the device.  So your python scripts follow along what you would do manually if you logged into the device and follow entered the commands.

 

Have you seen this tool kit?

https://github.com/kevinsteves/pan-python

Steve Puluka BSEET - IP Architect - DQE Communications (Metro Ethernet/ISP)
ACE PanOS 6; ACE PanOS 7; ASE 3.0; PSE 7.0 Foundations & Associate in Platform; Cyber Security; Data Center

View solution in original post

2 REPLIES 2

L7 Applicator

The REST API makes web services requests to perform functions outlined in the API guide.

 

Think of python as an automated way to wrap normal CLI usage into the device.  So your python scripts follow along what you would do manually if you logged into the device and follow entered the commands.

 

Have you seen this tool kit?

https://github.com/kevinsteves/pan-python

Steve Puluka BSEET - IP Architect - DQE Communications (Metro Ethernet/ISP)
ACE PanOS 6; ACE PanOS 7; ASE 3.0; PSE 7.0 Foundations & Associate in Platform; Cyber Security; Data Center

Hey Steve just played with configurator pretty neat tool. Thank you
  • 1 accepted solution
  • 2496 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!