Send Netdot-devel mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."
Today's Topics:
1. [SCM] UNNAMED PROJECT branch netdot-1.0 updated.
netdot-1.0.1-34-g0ce6701 ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Wed, 12 Sep 2012 08:10:05 -0700
From: [email protected]
Subject: [Netdot-devel] [SCM] UNNAMED PROJECT branch netdot-1.0
updated. netdot-1.0.1-34-g0ce6701
To: [email protected]
Message-ID: <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, netdot-1.0 has been updated
via 0ce6701f9547503842314c0bc4cffa6427e7b689 (commit)
from 0f07eedbd74027e6401461ea9f9d87f32b8534c3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0ce6701f9547503842314c0bc4cffa6427e7b689
Author: Carlos Vicente <[email protected]>
Date: Wed Sep 12 11:09:43 2012 -0400
Deal with incomplete ipAdEntIfIndex info
diff --git a/lib/Netdot/Model/Device.pm b/lib/Netdot/Model/Device.pm
index 0cf2933..7e79634 100644
--- a/lib/Netdot/Model/Device.pm
+++ b/lib/Netdot/Model/Device.pm
@@ -1063,6 +1063,7 @@ sub get_snmp_info {
# IPv4 addresses and masks
#
while ( my($ip,$iid) = each %{ $hashes{'ip_index'} } ){
+ next unless (defined $dev{interface}{$iid});
next if &_check_if_status_down(\%dev, $iid);
next if Ipblock->is_loopback($ip);
next if ( $ip eq '0.0.0.0' || $ip eq '255.255.255.255' );
@@ -1103,6 +1104,7 @@ sub get_snmp_info {
$pfx = $self->_octet_string_to_v6($2);
}
if ( $iid && $addr && $pfx && $len ){
+ next unless (defined $dev{interface}{$iid});
next if &_check_if_status_down(\%dev, $iid);
next if ( Ipblock->is_link_local($addr) && $ignore_link_local );
$dev{interface}{$iid}{ips}{$addr}{address} = $addr;
-----------------------------------------------------------------------
Summary of changes:
lib/Netdot/Model/Device.pm | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT
------------------------------
_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
End of Netdot-devel Digest, Vol 66, Issue 9
*******************************************