Send Netdot-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-users
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-users digest..."


Today's Topics:

   1. Re: Duplicate Cisco Nexus Serial Numbers
      ([email protected])
   2. Re: Duplicate Cisco Nexus Serial Numbers (Wim Vandersmissen)


----------------------------------------------------------------------

Message: 1
Date: Fri, 16 Oct 2015 11:23:30 +0000
From: <[email protected]>
Subject: Re: [Netdot-users] Duplicate Cisco Nexus Serial Numbers
To: <[email protected]>
Message-ID:
        
<0012440aaa08484eabb35da1b715b8f909f29...@ar183mbx01.ads.muellergroup.com>
        
Content-Type: text/plain; charset="utf-8"

Hi Chip,

May you provide some information about your environmtent.

Which version of netdot do you use? Do your nexus run VSS? How many device 
records do you have in Netdot for your Nexus?

Regards,
Moe


From: [email protected] 
[mailto:[email protected]] On Behalf Of Chip Pleasants
Sent: Mittwoch, 14. Oktober 2015 21:46
To: [email protected]
Subject: Re: [Netdot-users] Duplicate Cisco Nexus Serial Numbers

Hi all,

I've only received one reply from my message about our change in the 
device.pm<http://device.pm>.  Is device.pm<http://device.pm> not Netdot source? 
 I've included the change below for everyone.  I can post it in another place 
if someone directs me where.  I'm kind of surprised no one has seen this 
before.  Let me know if anyone has questions.


[NETDOT_SERVER]#  diff Device.pm Device_backup.pm
3027,3029d3026
<    # Print asset id's for serial and base mac easier debugging
<     $logger->debug("$host: ASSET SN $asset_sn");
<     $logger->debug("$host: ASSET BASE MAC $asset_phy");
5697,5703c5694
<     # Added to declare device sysdescription
<     my $sysdesc = delete $info->{sysdescription};
<
<     # Added to not allow NX-OS devices to use base mac, incase VPC 
peer-switch is configured
<     # Since this feature causes the same base MAC to be used for every VPC 
device with the same
<     # Domain ID.
<     if ( $address && ($address = PhysAddr->validate($address)) && $sysdesc !~ 
/NX-OS/ ) {
---
>     if ( $address && ($address = PhysAddr->validate($address))) {
[NETDOT_SERVERl]#


Thanks,
Chip




On Mon, Oct 12, 2015 at 11:49 AM, Chip Pleasants 
<[email protected]<mailto:[email protected]>> wrote:
Hi All,

Just wanted to provide an update. We patched the device.pm<http://device.pm>, 
which I believe is part of Netdot source.  We added in a check to see if the 
device was NX-OS and it if is, use the first interface mac on the device (the 
mgmt interface) as the base_mac within NetDot rather than the Bridge ID as the 
base_mac.  Since the mgmt-int should be unique, this appears to resolve the 
issue. I'm not sure what the correct protocol for code 
updates/changes/suggestions to the source, so please comment on how I should 
handle this particular instance. Idealy I'd think everyone would want a fix for 
tis particular issue but maybe not.

-Chip



On Fri, Oct 9, 2015 at 9:21 AM, Chip Pleasants 
<[email protected]<mailto:[email protected]>> wrote:
Hi All,

We are seeing duplicate serial numbers on Nexus VPC peers.  A pair of Nexus 
with the same VPC domain have the same serial numbers.  I found a bug with 
SNMP::Info 3.05 or prior, however updating to the latest 3.28 still doesn't 
seem to fix the issue. Looks like it was fixed in 3.07. Anyone else seen this 
before? How can I tell that I'm using the correct SNMP::Info module? Anyway to 
actively view the polling? Does Netdot use NetDisco database structure? Below 
is the thread I found, which discusses exactly what we are seeing. Let me know 
if you have any questions and thank you for assisting me.

http://sourceforge.net/p/snmp-info/mailman/snmp-info-users/thread/[email protected]/



Thanks,
Chip




-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20151016/0d48bf1e/attachment-0001.html
 

------------------------------

Message: 2
Date: Fri, 16 Oct 2015 11:55:52 +0000
From: Wim Vandersmissen <[email protected]>
Subject: Re: [Netdot-users] Duplicate Cisco Nexus Serial Numbers
To: Chip Pleasants <[email protected]>,
        "[email protected]"  <[email protected]>
Message-ID:
        <c662177c398fc342aae60cbe7593707d318d0...@icts-s-mbx5.luna.kuleuven.be>
        
Content-Type: text/plain; charset="utf-8"

Hi Chip,

 

We?re having the same issue, I patched it somewhere else in the code but forgot 
to submit it :)

You could create a PR on github (https://github.com/cvicente/Netdot) or log the 
issue on https://osl.uoregon.edu/redmine/projects/netdot/issues

 

Wim

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of Chip Pleasants
Sent: woensdag 14 oktober 2015 21:46
To: [email protected]
Subject: Re: [Netdot-users] Duplicate Cisco Nexus Serial Numbers

 

Hi all,

 

I've only received one reply from my message about our change in the device.pm 
<http://device.pm> .  Is device.pm <http://device.pm>  not Netdot source?  I've 
included the change below for everyone.  I can post it in another place if 
someone directs me where.  I'm kind of surprised no one has seen this before.  
Let me know if anyone has questions. 

 

 

[NETDOT_SERVER]#  diff Device.pm Device_backup.pm

3027,3029d3026

<    # Print asset id's for serial and base mac easier debugging

<     $logger->debug("$host: ASSET SN $asset_sn");

<     $logger->debug("$host: ASSET BASE MAC $asset_phy");

5697,5703c5694

<     # Added to declare device sysdescription

<     my $sysdesc = delete $info->{sysdescription};

< 

<     # Added to not allow NX-OS devices to use base mac, incase VPC 
peer-switch is configured

<     # Since this feature causes the same base MAC to be used for every VPC 
device with the same

<     # Domain ID.

<     if ( $address && ($address = PhysAddr->validate($address)) && $sysdesc !~ 
/NX-OS/ ) {

---

>     if ( $address && ($address = PhysAddr->validate($address))) {

[NETDOT_SERVERl]# 

 

 

Thanks,

Chip

 

 

 

 

On Mon, Oct 12, 2015 at 11:49 AM, Chip Pleasants <[email protected] 
<mailto:[email protected]> > wrote:

Hi All,

 

Just wanted to provide an update. We patched the device.pm <http://device.pm> , 
which I believe is part of Netdot source.  We added in a check to see if the 
device was NX-OS and it if is, use the first interface mac on the device (the 
mgmt interface) as the base_mac within NetDot rather than the Bridge ID as the 
base_mac.  Since the mgmt-int should be unique, this appears to resolve the 
issue. I'm not sure what the correct protocol for code 
updates/changes/suggestions to the source, so please comment on how I should 
handle this particular instance. Idealy I'd think everyone would want a fix for 
tis particular issue but maybe not.

 

-Chip

 

 

 

On Fri, Oct 9, 2015 at 9:21 AM, Chip Pleasants <[email protected] 
<mailto:[email protected]> > wrote:

Hi All,

 

We are seeing duplicate serial numbers on Nexus VPC peers.  A pair of Nexus 
with the same VPC domain have the same serial numbers.  I found a bug with 
SNMP::Info 3.05 or prior, however updating to the latest 3.28 still doesn't 
seem to fix the issue. Looks like it was fixed in 3.07. Anyone else seen this 
before? How can I tell that I'm using the correct SNMP::Info module? Anyway to 
actively view the polling? Does Netdot use NetDisco database structure? Below 
is the thread I found, which discusses exactly what we are seeing. Let me know 
if you have any questions and thank you for assisting me.  

 

http://sourceforge.net/p/snmp-info/mailman/snmp-info-users/thread/[email protected]/

 

 

 

Thanks,

Chip

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20151016/185990c2/attachment.html
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4620 bytes
Desc: not available
Url : 
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20151016/185990c2/attachment.bin
 

------------------------------

_______________________________________________
Netdot-users mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-users


End of Netdot-users Digest, Vol 82, Issue 4
*******************************************

Reply via email to