ice::Firewall::PaloAlto::JSON;
$Device::Firewall::PaloAlto::JSON::VERSION = '0.1.9';
use strict;
use warnings;
use 5.010;
# We don't want all of the automatic imports
use JSON qw();
use Data::Struct
ODNAME
# ABSTRACT: JSON parent class for Device::Firewall::PaloAlto modules.
sub to_json {
my ($self, $filename) = @_;
my $output_fh;
my $structure = $self->pre_json_transform();
_fh;
}
$output_fh //= *STDOUT;
my $json_text = JSON->new->pretty->encode($structure);
print {$output_fh} $json_text;
}
sub pre_json_transform {
my $self = shift;
return un
ERSION = '0.1.9';
use strict;
use warnings;
use 5.010;
use parent qw(Device::Firewall::PaloAlto::JSON);
use overload 'bool' => 'bool_overload';
# VERSION
# PODNAME
# ABSTRACT: A Palo Alto NAT polic
se Device::Firewall::PaloAlto::Errors qw(fatal_error);
use parent qw(Device::Firewall::PaloAlto::JSON);
use List::Util qw(first);
use Class::Error;
# VERSION
# PODNAME
# ABSTRACT: new module
sub
ERSION = '0.1.9';
use strict;
use warnings;
use 5.010;
use parent qw(Device::Firewall::PaloAlto::JSON);
use Device::Firewall::PaloAlto::Errors qw(ERROR);
# VERSION
# PODNAME
# ABSTRACT: NTP synchro
ERSION = '0.1.9';
use strict;
use warnings;
use 5.010;
use parent qw(Device::Firewall::PaloAlto::JSON);
use Device::Firewall::PaloAlto::Errors qw(ERROR);
use Regexp::Common qw(time);
use DateTime;
new module
use Device::Firewall::PaloAlto::Op::Route;
use parent qw(Device::Firewall::PaloAlto::JSON);
sub _new {
my $class = shift;
my ($api_return) = @_;
my %virtual_router;
# R
ION
# PODNAME
# ABSTRACT: Palo Alto firewall interface
use parent qw(Device::Firewall::PaloAlto::JSON);
sub _new {
my $class = shift;
my ($api_return) = @_;
return $api_return unless $
NAME
# ABSTRACT: Palo Alto firewall system information
use parent qw(Device::Firewall::PaloAlto::JSON);
sub _new {
my $class = shift;
my ($api_return) = @_;
my %system_info = %{$api_ret
se 5.010;
use Device::Firewall::PaloAlto::Op::Tunnel;
use parent qw(Device::Firewall::PaloAlto::JSON);
# VERSION
# PODNAME
# ABSTRACT: Palo Alto IPSEC security associations
sub _new {
my $cla
E
# ABSTRACT: Palo Alto firewall interface statistics.
use parent qw(Device::Firewall::PaloAlto::JSON);
sub _new {
my $class = shift;
my ($api_return) = @_;
# Return the Class::Error o
ODNAME
# ABSTRACT: Palo Alto IP to user mapping entry.
use parent qw(Device::Firewall::PaloAlto::JSON);
sub _new {
my $class = shift;
my ($api_response) = @_;
my %userid_entry = %{$api_
ERSION = '0.1.9';
use strict;
use warnings;
use 5.010;
use parent qw(Device::Firewall::PaloAlto::JSON);
# VERSION
# PODNAME
# ABSTRACT: Palo Alto firewall global system counter
sub _new {
my $
ERSION = '0.1.9';
use strict;
use warnings;
use 5.010;
use parent qw(Device::Firewall::PaloAlto::JSON);
use overload 'bool' => 'bool_overload';
# VERSION
# PODNAME
# ABSTRACT: A Palo Alto rulebase
warnings;
use 5.010;
use DateTime::Format::Strptime;
use parent qw(Device::Firewall::PaloAlto::JSON);
# VERSION
# PODNAME
# ABSTRACT: Palo Alto IPSEC tunnel
sub _new {
my $class = shift;
# ABSTRACT: Representation of a Palo Alto FIB object.
use parent qw(Device::Firewall::PaloAlto::JSON);
sub _new {
my $class = shift;
my ($api_response) = @_;
my %obj;
# Return the
ERSION = '0.1.9';
use strict;
use warnings;
use 5.010;
use parent qw(Device::Firewall::PaloAlto::JSON);
use Device::Firewall::PaloAlto::Op::IPUserMap;
use Device::Firewall::PaloAlto::Errors qw(ERROR
ERSION = '0.1.9';
use strict;
use warnings;
use 5.010;
use parent qw(Device::Firewall::PaloAlto::JSON);
use Device::Firewall::PaloAlto::Op::GlobalCounter;
use Device::Firewall::PaloAlto::Errors qw(E
ION
# PODNAME
# ABSTRACT: Palo Alto firewall ARP entry
use parent qw(Device::Firewall::PaloAlto::JSON);
sub _new {
my $class = shift;
my ($api_return) = @_;
# Clean up the status field
ERSION = '0.1.9';
use strict;
use warnings;
use 5.010;
use parent qw(Device::Firewall::PaloAlto::JSON);
# VERSION
# PODNAME
# ABSTRACT: Palo Alto high availability information.
sub _new {
my
ERSION
# PODNAME
# ABSTRACT: Palto Alto firewall route
use parent qw(Device::Firewall::PaloAlto::JSON);
use Regexp::Common qw(net);
sub _new {
my $class = shift;
my ($api_return) = @_;