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 - Feature #1747] (New) config option to disable
'discovered' ipblocks on IPv6 subnets ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Thu, 28 Mar 2013 12:27:24 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Feature #1747] (New) config option
to disable 'discovered' ipblocks on IPv6 subnets
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1747 has been reported by Wim Vandersmissen.
----------------------------------------
Feature #1747: config option to disable 'discovered' ipblocks on IPv6 subnets
https://osl.uoregon.edu/redmine/issues/1747
Author: Wim Vandersmissen
Status: New
Priority: Normal
Assignee:
Category:
Target version:
Resolution:
IPv6 subnets can contain lots of hosts, especially if you're using SLAAC.
Getting a listing of those discovered addresses can be painfully slow (and I
think useless ?)
You still need to find those hosts ofcourse.
proposed patch:
Add this variable to the Default.conf / Site.conf
<pre>
# show discovered ipv6 addresses as children on ip.html
IPV6_HIDE_DISCOVERED => 1
</pre>
<pre>
--- lib.devel/Netdot/Model/Ipblock.pm 2013-03-28 20:25:33.000000000 +0100
+++ lib/Netdot/Model/Ipblock.pm 2012-12-05 17:35:01.000000000 +0100
@@ -2877,11 +2877,8 @@
LEFT JOIN (rraddr CROSS JOIN rr) ON (rraddr.ipblock=ipblock.id AND
rraddr.rr=rr.id)
LEFT JOIN entity ON (ipblock.used_by=entity.id)
WHERE ipblock.parent=$id
- AND ipblock.status=ipblockstatus.id ";
- if ( ($self->config->get('IPV6_HIDE_DISCOVERED') && ($self->version == 6))
) {
- $query.=" AND ipblockstatus.name != \"Discovered\" ";
- }
- $query.="GROUP BY ipblock.id
+ AND ipblock.status=ipblockstatus.id
+ GROUP BY ipblock.id
ORDER BY $sort2field{$sort}";
my $dbh = $self->db_Main();
</pre>
--
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 72, Issue 9
*******************************************