The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Device::Firewall::PaloAlto::Op::HA - Palo Alto high availability information.

VERSION

version 0.1.9

SYNOPSIS

DESCRIPTION

ERRORS

METHODS

enabled

Returns true if HA is enabled on the firewall, otherwise returns false

state

Returns a list containing both the local and remote states of the firewalls.

initial
active
passive
active-primary
active-secondary
tentative
non-functional
suspended
unknown
    my ($local_state, remote_state) = $fw->ha->state;

Returns false if HA is not enabled on the firewall.

connection_status

Returns true if the firewall has a HA connection to its peer, otherwise if there is no connection or HA is not enabled, returns false.

compatibility

Returns a list the compatibility state between the HA pairs.

    my %compat_state = $fw->op->ha->compatibility;

The hash is structured as follows:

    {
        app         => '',
        av          => '',
        build       => '',
        gpclient    => '',
        threat      => '',
        url         => '',
        vpnclient   => ''
    }

If HA is not enabled on the firewall, returns an empty list.

AUTHOR

Greg Foletta <greg@foletta.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019 by Greg Foletta.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.