NAME

Device::Firewall::PaloAlto::Test::NATPolicy - A Palo Alto NAT policy test result

VERSION

version 0.1.8

SYNOPSIS

use Test::More;
my $result = $fw->test->natpolicy( ... );

# Object returns true or false in boolean context depending on whether the
# flow hit a NAT policy or not.
ok( $result, "Flow allowed");

DESCRIPTION

This class represents the return value from a NAT policy test.

METHODS

rulename

Returns the name of the rule the flow hit in the NAT rulebase. If the flow hit not rule, an empty string is returned.

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.