NAME

Device::Firewall::PaloAlto::Op::Interface - Palo Alto firewall interface

VERSION

version 0.1.9

DESCRIPTION

This module represents a Palo Alo interface, both physical and logical.

METHODS

name

Returns the name of the interface.

state

State of the interface. Returns the either 'up' or 'down' depending on the interface state.

ip

Returns the IPv4 address and CIDR of the interface (e.g '192.0.2.0/24') or the empty string if there is no IPv4 address assigned to the interfaces.

vsys

Returns the vsys ID (1, 2, etc) of the vsys the interface is a member of.

zone

Returns the name of the zone the interface is in. If the interface is not a member of a zone, returns an empty string.

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.