From 543072ca259a21c7f9f3f852b6b6df9f7acbbfb8 Mon Sep 17 00:00:00 2001 From: nick n <39005454+inphobia@users.noreply.github.com> Date: Mon, 27 Jan 2020 22:36:16 +0100 Subject: [PATCH] update manpage after reading netdisco/netdisco#693 and checking the code it seems layers() does not return l2 support. while here add required mibs and move layers() manpage to globals, not table entries --- lib/SNMP/Info/Layer3/PaloAlto.pm | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/lib/SNMP/Info/Layer3/PaloAlto.pm b/lib/SNMP/Info/Layer3/PaloAlto.pm index 585fc4ae..21531f29 100644 --- a/lib/SNMP/Info/Layer3/PaloAlto.pm +++ b/lib/SNMP/Info/Layer3/PaloAlto.pm @@ -129,6 +129,10 @@ Subclass for Palo Alto devices =over +=item F + +=item F + =item Inherited Classes' MIBs See L for its own MIB requirements. @@ -163,6 +167,17 @@ Returns the value of C. =back +=head2 Overrides + +=over + +=item $pa->layers() + +Returns 01001100. Palo Alto doesn't report layers, modified to reflect +Layer 3,4,7 functionality. + +=back + =head2 Globals imported from SNMP::Info::Layer3 See documentation in L for details. @@ -172,20 +187,8 @@ See documentation in L for details. These are methods that return tables of information in the form of a reference to a hash. -=head2 Overrides - -=over - -=item $pa->layers() - -Returns 01001110. Palo Alto doesn't report layers, modified to reflect -Layer 2,3,4,7 functionality. - -=back - =head2 Table Methods imported from SNMP::Info::Layer3 See documentation in L for details. - =cut