help installing PAN::API?

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

help installing PAN::API?

Not applicable

I am trying to run a perl script which uses “PAN::API” module to connect to Palo Alto firewall. I downloaded “Perl User-ID XML API.zip” and I tried to install PAN::API module by copying “API.pm” to “/usr/lib/perl5/5.10.0/”

But it complaining that PAN::API is not installed, error message: “Can't locate PAN/API.pm”

My platform is SUSE Linux Enterprise Server 11

What am I doing wrong? Can you help please?

6 REPLIES 6

L1 Bithead

The README file says:

To install perform the following:
  $ perl Makefile.PL

  $ make

  $ make test

  $ sudo make install

worked for me.

I think I must have downloaded the wrong package (Perl User-ID XML API.zip).

There is neither “Makefile.PL” nor a “README” file in the package. Can someone kindly direct me to where I can download the “PAN::API” Perl module?

Thanks for your response however after installing “PAN-perl-20111226” as instructed, my script still complain that “PAN::API” is not installed.

Package “PAN-perl-20111226” provide “PAN::XAPI” not “PAN::API”

But my script requires “PAN::API” where can I download this from?

please check this link -  https://live.paloaltonetworks.com/docs/DOC-2485 . I have updated the doc with the steps to create a perl environment before we install the PAN Perl API.

L0 Member

Copy “API.pm” to “/usr/lib/perl5/5.10.0/PAN

  • 9002 Views
  • 6 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!