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. [Netdot - Bug #1650] (New) build_topo_graph.pl (Netdot 1.0.1
RC2) - missing default variable (and fix) ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Wed, 27 Jun 2012 18:41:47 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1650] (New) build_topo_graph.pl
(Netdot 1.0.1 RC2) - missing default variable (and fix)
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1650 has been reported by Mark Favas.
----------------------------------------
Bug #1650: build_topo_graph.pl (Netdot 1.0.1 RC2) - missing default variable
(and fix)
https://osl.uoregon.edu/redmine/issues/1650
Author: Mark Favas
Status: New
Priority: Normal
Assignee:
Category: Netdot
Target version: 1.0.1-RC2
Resolution:
Currently build_topo_graph fails with:
root@black:# /opt/netdot/bin/build_topo_graph.pl -n -f
/opt/netdot/htdocs/img/graphs/whole_network_no_vlans.png
Use of uninitialized value $string in pattern match (m//) at
/opt/netdot/lib/Netdot/Model/Ipblock.pm line 1281.
Use of uninitialized value $string in pattern match (m//) at
/opt/netdot/lib/Netdot/Model/Ipblock.pm line 1300.
Use of uninitialized value $argv{"name"} in pattern match (m//) at
/opt/netdot/lib/Netdot/Model/Device.pm line 131.
Cannot find root device: at /opt/netdot/bin/build_topo_graph.pl line 70.
root@black:#
Suggested fix is:
--- build_topo_graph.pl-orig 2012-06-19 04:53:33.000000000 +0800
+++ build_topo_graph.pl 2012-06-28 09:29:49.000000000 +0800
@@ -10,7 +10,7 @@
# Default parameters
my $nms = Netdot->config->get('NMS_DEVICE');
-my %self = ( root=>$nms, vlans=>0, names=>0, depth=>99999 );
+my %self = ( root=>$nms, start=>$nms, vlans=>0, names=>0, depth=>99999 );
my $USAGE = <<EOF;
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://osl.uoregon.edu/redmine/my/account
------------------------------
_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
End of Netdot-devel Digest, Vol 63, Issue 37
********************************************