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. Fw: Netdot 1.0.7 Bug 1867 Possible Fix ([email protected])
   2. Fw: Netdot 1.0.7 Bug 1867 Possible Fix ([email protected])


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

Message: 1
Date: Sun, 4 Oct 2015 23:24:15 -0400
From: [email protected]
Subject: [Netdot-devel] Fw: Netdot 1.0.7 Bug 1867 Possible Fix
To: [email protected]
Message-ID:
        
<of911dee4a.eb2ee2b0-on85257ed5.00047040-85257ed5.0012b...@ricoh-usa.com>
        
Content-Type: text/plain; charset="us-ascii"

Hi,

Updatedevices.pl ran and added devices without errors after updating 
Netdot 1.0.7 /usr/local/netdot/lib/Netdot/Model/Device.pm:514 like below. 
I used Netdot 1.0.5 Device.pm as a reference. Please let me know if this 
is an appropriate fix.
___

Netdot 1.0.5 /usr/local/netdot/lib/Netdot/Model/Device.pm

513     # Try to create the RR object
514     # This will also create the Zone object if necessary
515     my $rr = RR->insert(\%args);
___

Changed Netdot 1.0.7 /usr/local/netdot/lib/Netdot/Model/Device.pm

512     # Try to create the RR object
513     # This will also create the Zone object if necessary
514     #my $rr = RR->find_or_create(\%args);
515 my $rr = RR->insert(\%args);



Thanks,

Jack Madden
IOC-Computer Operations
Ricoh Americas Corporation
1738 Bass Rd.
Macon, GA 31210
Phone: 678-728-0600 ext. 32759
Email: [email protected]
----- Forwarded by Jack C Madden/GA/RCUS on 10/04/2015 08:48 PM -----

From:   Jack C Madden/GA/RCUS
To:     [email protected]
Date:   09/19/2015 01:50 PM
Subject:        Netdot 1.0.7 Bug 1867


Hi,

We're just starting to use Netdot. We are trying to add devices with 
discovery using updatedevices.pl rather than adding them manually. We are 
running into bug 1867. Is there an estimated date of completion for a fix?

https://osl.uoregon.edu/redmine/issues/1867



Thanks,

Jack Madden
IOC-Computer Operations
Ricoh Americas Corporation
1738 Bass Rd.
Macon, GA 31210
Phone: 678-728-0600 ext. 32759
Email: [email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://osl.uoregon.edu/pipermail/netdot-devel/attachments/20151004/c62206aa/attachment.html
 

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

Message: 2
Date: Sun, 8 Nov 2015 00:23:14 -0500
From: [email protected]
Subject: [Netdot-devel] Fw: Netdot 1.0.7 Bug 1867 Possible Fix
To: [email protected]
Message-ID:
        
<of4589ecbf.478a11be-on85257ef7.001c1755-85257ef7.001d9...@ricoh-usa.com>
        
Content-Type: text/plain; charset="us-ascii"

Hi,

Here is a possible fix for bug 1867. Updatedevices.pl ran and added 
devices without errors after updating. Let me know if this is an 
appropriate fix.

Netdot 1.0.7 /usr/local/netdot/lib/Netdot/Model/Device.pm

current:

492         # Notice that we search the whole string.  That's because
 493         # the hostname part might have dots.  The Zone search method
 494         # will take care of that.
 495         if ( my $zone = (Zone->search(name=>$fqdn))[0] ){
 496             $args{zone} = $zone->name;
 497             $args{name} = $fqdn;
 498             $args{name} =~ s/\.$args{zone}//;

updated:

492         # Notice that we search the whole string.  That's because
 493         # the hostname part might have dots.  The Zone search method
 494         # will take care of that.
 495         if ( my $zone = (Zone->search(name=>$fqdn))[0] ){
 496             #$args{zone} = $zone->name;
 497 $args{zone} = $zone->id;
 498             $args{name} = $fqdn;
 499             $args{name} =~ s/\.$args{zone}//;


Thanks,

Jack Madden
IOC-Computer Operations
Ricoh Americas Corporation
1738 Bass Rd.
Macon, GA 31210
Phone: 678-728-0600 ext. 32759
Email: [email protected]
----- Forwarded by Jack C Madden/GA/RCUS on 11/08/2015 12:06 AM -----

From:   Jack C Madden/GA/RCUS
To:     [email protected]
Date:   10/04/2015 11:24 PM
Subject:        Fw: Netdot 1.0.7 Bug 1867 Possible Fix


Hi,

Updatedevices.pl ran and added devices without errors after updating 
Netdot 1.0.7 /usr/local/netdot/lib/Netdot/Model/Device.pm:514 like below. 
I used Netdot 1.0.5 Device.pm as a reference. Please let me know if this 
is an appropriate fix.
___

Netdot 1.0.5 /usr/local/netdot/lib/Netdot/Model/Device.pm

513     # Try to create the RR object
514     # This will also create the Zone object if necessary
515     my $rr = RR->insert(\%args);
___

Changed Netdot 1.0.7 /usr/local/netdot/lib/Netdot/Model/Device.pm

512     # Try to create the RR object
513     # This will also create the Zone object if necessary
514     #my $rr = RR->find_or_create(\%args);
515 my $rr = RR->insert(\%args);



Thanks,

Jack Madden
IOC-Computer Operations
Ricoh Americas Corporation
1738 Bass Rd.
Macon, GA 31210
Phone: 678-728-0600 ext. 32759
Email: [email protected]
----- Forwarded by Jack C Madden/GA/RCUS on 10/04/2015 08:48 PM -----

From:   Jack C Madden/GA/RCUS
To:     [email protected]
Date:   09/19/2015 01:50 PM
Subject:        Netdot 1.0.7 Bug 1867


Hi,

We're just starting to use Netdot. We are trying to add devices with 
discovery using updatedevices.pl rather than adding them manually. We are 
running into bug 1867. Is there an estimated date of completion for a fix?

https://osl.uoregon.edu/redmine/issues/1867



Thanks,

Jack Madden
IOC-Computer Operations
Ricoh Americas Corporation
1738 Bass Rd.
Macon, GA 31210
Phone: 678-728-0600 ext. 32759
Email: [email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://osl.uoregon.edu/pipermail/netdot-devel/attachments/20151108/82c652d9/attachment-0001.html
 

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

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


End of Netdot-devel Digest, Vol 104, Issue 3
********************************************

Reply via email to