| 1 | # SNMP::Info::Layer2::Cisco | ||
| 2 | # | ||
| 3 | # Copyright (c) 2008 Max Baker | ||
| 4 | # All rights reserved. | ||
| 5 | # | ||
| 6 | # Redistribution and use in source and binary forms, with or without | ||
| 7 | # modification, are permitted provided that the following conditions are met: | ||
| 8 | # | ||
| 9 | # * Redistributions of source code must retain the above copyright notice, | ||
| 10 | # this list of conditions and the following disclaimer. | ||
| 11 | # * Redistributions in binary form must reproduce the above copyright | ||
| 12 | # notice, this list of conditions and the following disclaimer in the | ||
| 13 | # documentation and/or other materials provided with the distribution. | ||
| 14 | # * Neither the name of the University of California, Santa Cruz nor the | ||
| 15 | # names of its contributors may be used to endorse or promote products | ||
| 16 | # derived from this software without specific prior written permission. | ||
| 17 | # | ||
| 18 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
| 19 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 20 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 21 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | ||
| 22 | # LIABLE FOR # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
| 23 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
| 24 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
| 25 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
| 26 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
| 27 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
| 28 | # POSSIBILITY OF SUCH DAMAGE. | ||
| 29 | |||
| 30 | package SNMP::Info::Layer2::Cisco; | ||
| 31 | |||
| 32 | use strict; | ||
| 33 | use warnings; | ||
| 34 | use Exporter; | ||
| 35 | use SNMP::Info::CiscoVTP; | ||
| 36 | use SNMP::Info::CDP; | ||
| 37 | use SNMP::Info::CiscoStats; | ||
| 38 | use SNMP::Info::CiscoRTT; | ||
| 39 | use SNMP::Info::CiscoConfig; | ||
| 40 | use SNMP::Info::CiscoPortSecurity; | ||
| 41 | use SNMP::Info::CiscoStpExtensions; | ||
| 42 | use SNMP::Info::CiscoAgg; | ||
| 43 | use SNMP::Info::Layer2; | ||
| 44 | |||
| 45 | @SNMP::Info::Layer2::Cisco::ISA = qw/SNMP::Info::CiscoVTP SNMP::Info::CDP | ||
| 46 | SNMP::Info::CiscoStats SNMP::Info::CiscoRTT | ||
| 47 | SNMP::Info::CiscoConfig SNMP::Info::CiscoPortSecurity | ||
| 48 | SNMP::Info::CiscoStpExtensions SNMP::Info::CiscoAgg | ||
| 49 | SNMP::Info::Layer2 | ||
| 50 | Exporter/; | ||
| 51 | @SNMP::Info::Layer2::Cisco::EXPORT_OK = qw//; | ||
| 52 | |||
| 53 | our ($VERSION, %GLOBALS, %MIBS, %FUNCS, %MUNGE); | ||
| 54 | |||
| 55 | $VERSION = '3.985003'; | ||
| 56 | |||
| 57 | %MIBS = ( | ||
| 58 | %SNMP::Info::Layer2::MIBS, | ||
| 59 | %SNMP::Info::CiscoAgg::MIBS, | ||
| 60 | %SNMP::Info::CiscoStpExtensions::MIBS, | ||
| 61 | %SNMP::Info::CiscoPortSecurity::MIBS, | ||
| 62 | %SNMP::Info::CiscoConfig::MIBS, | ||
| 63 | %SNMP::Info::CiscoRTT::MIBS, | ||
| 64 | %SNMP::Info::CiscoStats::MIBS, | ||
| 65 | %SNMP::Info::CDP::MIBS, | ||
| 66 | %SNMP::Info::CiscoVTP::MIBS, | ||
| 67 | ); | ||
| 68 | |||
| 69 | %GLOBALS = ( | ||
| 70 | %SNMP::Info::Layer2::GLOBALS, | ||
| 71 | %SNMP::Info::CiscoAgg::GLOBALS, | ||
| 72 | %SNMP::Info::CiscoStpExtensions::GLOBALS, | ||
| 73 | %SNMP::Info::CiscoPortSecurity::GLOBALS, | ||
| 74 | %SNMP::Info::CiscoConfig::GLOBALS, | ||
| 75 | %SNMP::Info::CiscoRTT::GLOBALS, | ||
| 76 | %SNMP::Info::CiscoStats::GLOBALS, | ||
| 77 | %SNMP::Info::CDP::GLOBALS, | ||
| 78 | %SNMP::Info::CiscoVTP::GLOBALS, | ||
| 79 | ); | ||
| 80 | |||
| 81 | %FUNCS = ( | ||
| 82 | %SNMP::Info::Layer2::FUNCS, | ||
| 83 | %SNMP::Info::CiscoAgg::FUNCS, | ||
| 84 | %SNMP::Info::CiscoStpExtensions::FUNCS, | ||
| 85 | %SNMP::Info::CiscoPortSecurity::FUNCS, | ||
| 86 | %SNMP::Info::CiscoConfig::FUNCS, | ||
| 87 | %SNMP::Info::CiscoRTT::FUNCS, | ||
| 88 | %SNMP::Info::CiscoStats::FUNCS, | ||
| 89 | %SNMP::Info::CDP::FUNCS, | ||
| 90 | %SNMP::Info::CiscoVTP::FUNCS, | ||
| 91 | ); | ||
| 92 | |||
| 93 | %MUNGE = ( | ||
| 94 | %SNMP::Info::Layer2::MUNGE, | ||
| 95 | %SNMP::Info::CiscoAgg::MUNGE, | ||
| 96 | %SNMP::Info::CiscoStpExtensions::MUNGE, | ||
| 97 | %SNMP::Info::CiscoPortSecurity::MUNGE, | ||
| 98 | %SNMP::Info::CiscoConfig::MUNGE, | ||
| 99 | %SNMP::Info::CiscoRTT::MUNGE, | ||
| 100 | %SNMP::Info::CiscoStats::MUNGE, | ||
| 101 | %SNMP::Info::CDP::MUNGE, | ||
| 102 | %SNMP::Info::CiscoVTP::MUNGE, | ||
| 103 | ); | ||
| 104 | |||
| 105 | 1; | ||
| 106 | __END__ |