Commit Graph

94 Commits

Author SHA1 Message Date
Brian De Wolf
3bb33fa8d4 Fix syntax errors in L3 changes
Fix some syntax errors in my improvement code for L3 so that it actually runs.
2011-06-27 16:06:56 -07:00
Brian De Wolf
30a73c035a Prefer OSPF router ID in L3 root_ip
The previous behavior of root_ip meant that whatever /32 hosted by the device
that got listed first would be chosen as the root_ip.  If the device only
serves one /32 this works fine, but if there are multiple /32s we could easily
pick the one that is not the intended address meant for management.

Instead, before we pick whatever /32 may exist, we now try to pick the /32 that
is also the OSPF router ID (the router ID is a 32-bit unique identifier which,
while not guaranteed, tends to be an IPv4 address unique to the device).
Otherwise we fall back to the previous method of finding the root_ip.
2011-06-24 01:44:20 -07:00
Oliver Gorwits
631010ed3f prep for 2.05 CPAN release 2011-06-23 21:12:27 +01:00
Oliver Gorwits
bc8c8a6061 prep for 2.04 release 2011-03-31 08:34:57 +00:00
Oliver Gorwits
1df1bda641 change from Ipv6 to IPv6 everywhere 2011-03-31 08:04:52 +00:00
Brian de Wolf
a77c539f38 These are actually listed as not-accessible so they shoudn't be defined. Their information has to be extracted from n2p_paddr instead. 2011-01-19 00:04:07 +00:00
Jeroen van Ingen
8748932460 Enable IPv6 support in Layer3 base class by including Layer3::Ipv6 2010-10-21 10:29:57 +00:00
Brian de Wolf
e7b289c399 Add L3::CiscoFWSM for Cisco Firewall Services Modules. 2010-04-28 17:08:32 +00:00
Max Baker
c88449151e up version to 2.01 2009-06-12 22:24:25 +00:00
Max Baker
98eceb7c57 add cisco id by OID for vendor for some problem devices. c/o Sam Stickland 2009-06-07 22:50:04 +00:00
Eric Miller
0eebef47b0 Prep 2.00 2008-08-02 03:22:04 +00:00
Eric Miller
158596cede perltidy 2008-07-20 03:30:56 +00:00
Eric Miller
a70a895a29 PBP always return via an explicit return 2008-07-09 01:37:19 +00:00
Eric Miller
2c5301b676 - PBP compliance via Perl::Critic
- Use bare return to return failure
- No code before strictures are enabled
2008-07-09 00:32:47 +00:00
Eric Miller
ba85dc670b - POD Validation
- POD spell check
- Prep 1.09
2008-07-07 04:10:39 +00:00
Eric Miller
e1ab8a43ba Prep 1.07 beta release 2007-11-26 04:24:52 +00:00
Bill Fenner
840d8a48ba Add PowerEthernet support. 2007-07-30 15:27:35 +00:00
Bill Fenner
d460c5a473 Some of the links were broken since some pages used
TABLE ENTRIES and others used TABLE METHODS.  Since
README says TABLE METHODS, let's standardize on that.
2006-11-18 00:23:26 +00:00
Eric Miller
c5a0e40065 - Add OSPF Neighbor Table, SF Patch 1577918 by Andrew Herrick
- Add OSPF Interface Table
- Documentation updates
2006-10-28 03:21:31 +00:00
Eric Miller
9d530e2a62 Enable partial table fetches in overridden methods - Justin Hunter SF Patch ID 1542883. 2006-08-22 19:32:00 +00:00
Eric Miller
b55e15a568 prep 1.04 2006-06-30 21:33:47 +00:00
Eric Miller
23dd87c294 prep 1.03-beta 2006-04-14 03:09:14 +00:00
Bill Fenner
bd6cc8d7f4 Default to using the ipNetToMediaTable to get arp entries.
The old atTable has been deprecated since 1991; many newer
 devices don't implement it at all.  Fall back to the old
 atTable if the device doesn't implement ipNetToMediaTable
 (but I find it hard to imagine that there are any such devices)
2006-04-13 04:01:24 +00:00
Eric Miller
5134f4163c rev version for beta 2006-04-08 02:54:55 +00:00
Eric Miller
eeac8fd9a2 fix namespace snmp_connect_ip() 2006-04-07 02:46:04 +00:00
Eric Miller
4b70bfa7c8 check for unreachable root ip before assignment 2006-04-05 02:09:06 +00:00
Eric Miller
325b087bd1 Carlos Vicente's BGP patch - SF 1431212 2006-02-16 03:42:20 +00:00
Max Baker
9a5135b9e1 Prep for 1.0:
- removed all references to $DEBUG, $INIT and $SNMP::debugging
- rev'd version number
- doc updates
- added cdp_run() to FDP.pm
- removed my email addr from all over the place
2005-01-28 08:55:51 +00:00
Max Baker
a7570d9e58 cleanup 2005-01-18 02:42:19 +00:00
Max Baker
b6989e8ada added entity-mib to l2 and l3 classes. abstracted non cisco stuff from L3 to L3::Cisco and CiscoStats 2005-01-18 01:59:19 +00:00
Max Baker
36f84e357e added RCS id tag and rev'd all version numbers to 0.9 2004-10-28 21:53:15 +00:00
Max Baker
96393d5781 added check for root_ip() addresses of all zeros 2004-06-19 23:21:01 +00:00
Max Baker
6dd3f4b21a a little undef checking gets rid of warnings 2004-03-14 17:31:20 +00:00
Max Baker
b46aa416a0 order of precedence on serial no. entry 2004-02-13 06:18:57 +00:00
Max Baker
a0e0be2d68 added more serial() support for L2 and L3 2004-02-12 21:16:37 +00:00
Max Baker
5c6a8f3c45 checked for empty id in model() 2004-01-28 06:41:19 +00:00
Max Baker
766f14d2bf ver 0.7 prep 2003-08-14 18:24:56 +00:00
Max Baker
e296e93b23 push ver_0_6 2003-06-18 16:26:39 +00:00
Max Baker
f988cecc4d version 0.5 prep 2003-06-10 16:50:44 +00:00
Max Baker
f0dc4c4b31 added CiscoStats as superclass; doc style to 0.4; removed HP mibs are requirement 2003-04-29 18:12:52 +00:00
Max Baker
b86cf86fa6 ver_03 2003-03-06 21:12:46 +00:00
Max Baker
556441ba09 ver_02_prep 2003-02-19 17:50:56 +00:00
Max Baker
7d29cf4c13 removed cat/catalyst from model() 2003-02-13 19:43:53 +00:00
Max Baker
3f4d6fb21c Initial Import. Ver 0.1 2002-12-30 20:17:46 +00:00