From c8eff78d34d07503c139d6515925ae1622ba7bf2 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sun, 28 Jan 2018 19:57:29 +0000 Subject: [PATCH] change Checkpoint to CheckPoint --- Changes | 2 +- MANIFEST | 2 +- META.json | 4 ++-- META.yml | 4 ++-- lib/SNMP/Info.pm | 8 ++++---- .../Info/Layer3/{Checkpoint.pm => CheckPoint.pm} | 16 ++++++++-------- 6 files changed, 18 insertions(+), 18 deletions(-) rename lib/SNMP/Info/Layer3/{Checkpoint.pm => CheckPoint.pm} (95%) diff --git a/Changes b/Changes index 43916637..5585df31 100644 --- a/Changes +++ b/Changes @@ -2,7 +2,7 @@ version 3.40 (2018-01-28) [ENHANCEMENTS] - * #240 Support for Checkpoint devies through SNMP + * #240 Support for CheckPoint devies through SNMP * #240 Cisco SB switches fixup * #244 Add Adtran support * #241 Vyatta/VyOS support diff --git a/MANIFEST b/MANIFEST index 03e1df76..f2637d08 100644 --- a/MANIFEST +++ b/MANIFEST @@ -75,7 +75,7 @@ lib/SNMP/Info/Layer3/BlueCoatSG.pm lib/SNMP/Info/Layer3/C3550.pm lib/SNMP/Info/Layer3/C4000.pm lib/SNMP/Info/Layer3/C6500.pm -lib/SNMP/Info/Layer3/Checkpoint.pm +lib/SNMP/Info/Layer3/CheckPoint.pm lib/SNMP/Info/Layer3/Cisco.pm lib/SNMP/Info/Layer3/CiscoASA.pm lib/SNMP/Info/Layer3/CiscoFWSM.pm diff --git a/META.json b/META.json index b0d4e602..5b98525f 100644 --- a/META.json +++ b/META.json @@ -304,8 +304,8 @@ "file" : "lib/SNMP/Info/Layer3/C6500.pm", "version" : "3.40" }, - "SNMP::Info::Layer3::Checkpoint" : { - "file" : "lib/SNMP/Info/Layer3/Checkpoint.pm", + "SNMP::Info::Layer3::CheckPoint" : { + "file" : "lib/SNMP/Info/Layer3/CheckPoint.pm", "version" : "3.40" }, "SNMP::Info::Layer3::Cisco" : { diff --git a/META.yml b/META.yml index fa988ad8..fa58d502 100644 --- a/META.yml +++ b/META.yml @@ -218,8 +218,8 @@ provides: SNMP::Info::Layer3::C6500: file: lib/SNMP/Info/Layer3/C6500.pm version: '3.40' - SNMP::Info::Layer3::Checkpoint: - file: lib/SNMP/Info/Layer3/Checkpoint.pm + SNMP::Info::Layer3::CheckPoint: + file: lib/SNMP/Info/Layer3/CheckPoint.pm version: '3.40' SNMP::Info::Layer3::Cisco: file: lib/SNMP/Info/Layer3/Cisco.pm diff --git a/lib/SNMP/Info.pm b/lib/SNMP/Info.pm index 3f3cd2ba..b59ab898 100644 --- a/lib/SNMP/Info.pm +++ b/lib/SNMP/Info.pm @@ -730,11 +730,11 @@ This class covers Catalyst 6500s in native mode, hybrid mode. Catalyst See documentation in L for details. -=item SNMP::Info::Layer3::Checkpoint +=item SNMP::Info::Layer3::CheckPoint -Subclass for Checkpoint devices +Subclass for CheckPoint devices -See documentation in L for details. +See documentation in L for details. =item SNMP::Info::Layer3::Cisco @@ -1553,7 +1553,7 @@ sub device_type { 2011 => 'SNMP::Info::Layer3::Huawei', 2021 => 'SNMP::Info::Layer3::NetSNMP', 2272 => 'SNMP::Info::Layer3::Passport', - 2620 => 'SNMP::Info::Layer3::Checkpoint', + 2620 => 'SNMP::Info::Layer3::CheckPoint', 2636 => 'SNMP::Info::Layer3::Juniper', 2925 => 'SNMP::Info::Layer1::Cyclades', 3076 => 'SNMP::Info::Layer3::Altiga', diff --git a/lib/SNMP/Info/Layer3/Checkpoint.pm b/lib/SNMP/Info/Layer3/CheckPoint.pm similarity index 95% rename from lib/SNMP/Info/Layer3/Checkpoint.pm rename to lib/SNMP/Info/Layer3/CheckPoint.pm index ae245484..f054ea36 100644 --- a/lib/SNMP/Info/Layer3/Checkpoint.pm +++ b/lib/SNMP/Info/Layer3/CheckPoint.pm @@ -1,4 +1,4 @@ -# SNMP::Info::Layer3::Checkpoint +# SNMP::Info::Layer3::CheckPoint # $Id$ # # Copyright (c) 2008 Bill Fenner @@ -28,15 +28,15 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. -package SNMP::Info::Layer3::Checkpoint; +package SNMP::Info::Layer3::CheckPoint; use strict; use Exporter; use SNMP::Info::Layer3; use SNMP::Info::LLDP; -@SNMP::Info::Layer3::Checkpoint::ISA = qw/SNMP::Info::LLDP SNMP::Info::Layer3 Exporter/; -@SNMP::Info::Layer3::Checkpoint::EXPORT_OK = qw//; +@SNMP::Info::Layer3::CheckPoint::ISA = qw/SNMP::Info::LLDP SNMP::Info::Layer3 Exporter/; +@SNMP::Info::Layer3::CheckPoint::EXPORT_OK = qw//; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; @@ -64,7 +64,7 @@ $VERSION = '3.40'; %SNMP::Info::Layer3::FUNCS, %SNMP::Info::LLDP::FUNCS, - # Net-SNMP Extend table that could but customize to add a the Checkpoint version + # Net-SNMP Extend table that could but customize to add a the CheckPoint version 'extend_output_table' => 'nsExtendOutputFull', ); @@ -176,7 +176,7 @@ __END__ =head1 NAME -SNMP::Info::Layer3::Checkpoint - SNMP Interface to Checkpoint Devices +SNMP::Info::Layer3::CheckPoint - SNMP Interface to CheckPoint Devices =head1 AUTHORS @@ -203,7 +203,7 @@ Subclass for Generic Net-SNMP devices =head2 WARNING -To correctly and completelly work, you should add the following line in the file C on each of your Checkpoint devices: +To correctly and completelly work, you should add the following line in the file C on each of your CheckPoint devices: # Netdisco SNMP configuration extend ckpVersion /opt/CPsuite-R77/fw1/bin/fw ver @@ -247,7 +247,7 @@ Returns 'checkpoint'. =item $ckp>model() -Return the model type of the Checkpoint device (Based on the sysObjectOID translation). +Return the model type of the CheckPoint device (Based on the sysObjectOID translation). =item $ckp->os()