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] Netdot branch netdot-1.0 updated.
netdot-1.0.6-39-g47e9b76 ([email protected])
2. [Netdot - Bug #1790] (Resolved) FATAL - Could not get a valid
iptree4 from cache ([email protected])
3. [SCM] Netdot branch master updated. netdot-1.0.6-41-g35fbc1f
([email protected])
4. [SCM] Netdot branch netdot-1.0 updated.
netdot-1.0.6-41-g35fbc1f ([email protected])
5. [Netdot - Feature #1833] (New) speedup - management -
host_tasks/dns records ([email protected])
6. [Netdot - Feature #1833] speedup - management -
host_tasks/dns records ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Wed, 9 Jul 2014 13:56:37 -0700
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch netdot-1.0 updated.
netdot-1.0.6-39-g47e9b76
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 "Netdot".
The branch, netdot-1.0 has been updated
via 47e9b763c4162ecfb4f0bec68b0c7d61beb2ad23 (commit)
via eabdcbcbc0fc7fdbec55501c4b60df802c8b9333 (commit)
from d04f06daefa2a291fd999794d3fa71129dc9ea6d (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
lib/Netdot/Model/Ipblock.pm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
hooks/post-receive
--
Netdot
------------------------------
Message: 2
Date: Wed, 9 Jul 2014 13:58:35 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1790] (Resolved) FATAL - Could
not get a valid iptree4 from cache
To: [email protected], [email protected]
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1790 has been updated by Carlos Vicente.
Status changed from New to Resolved
Assignee changed from Alen F to Carlos Vicente
Target version changed from 1.0.5 to 1.0.7
Resolution set to fixed
Merged patch from Wim. Thanks!
----------------------------------------
Bug #1790: FATAL - Could not get a valid iptree4 from cache
https://osl.uoregon.edu/redmine/issues/1790#change-3236
Author: Alen F
Status: Resolved
Priority: Urgent
Assignee: Carlos Vicente
Category: Netdot
Target version: 1.0.7
Resolution: fixed
Hello,
since Upgrade to 1.5 this error is on add/delete etc.
IP Tree Update not solve the problem.
kind regards
--
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
------------------------------
Message: 3
Date: Wed, 9 Jul 2014 14:00:33 -0700
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch master updated.
netdot-1.0.6-41-g35fbc1f
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 "Netdot".
The branch, master has been updated
via 35fbc1f9bff2bc366a80578305e945d12560a9c7 (commit)
via 4c1e4b3c85cd6e55b9bfc1ae7f0a630ebc80be9b (commit)
from 47e9b763c4162ecfb4f0bec68b0c7d61beb2ad23 (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 35fbc1f9bff2bc366a80578305e945d12560a9c7
Merge: 47e9b76 4c1e4b3
Author: Carlos Vicente <[email protected]>
Date: Wed Jul 9 16:59:22 2014 -0400
Merge pull request #23 from candlerb/candlerb/1831
Better debugging in get_tree_stp_links
commit 4c1e4b3c85cd6e55b9bfc1ae7f0a630ebc80be9b
Author: Brian Candler <[email protected]>
Date: Wed Jul 2 17:38:38 2014 +0100
Better debugging in get_tree_stp_links
diff --git a/lib/Netdot/Topology.pm b/lib/Netdot/Topology.pm
index ac3e411..8300fdf 100644
--- a/lib/Netdot/Topology.pm
+++ b/lib/Netdot/Topology.pm
@@ -1101,16 +1101,24 @@ sub get_tree_stp_links {
if ( exists $near{$des_b}{$des_p} ){
my $r_int = $near{$des_b}{$des_p};
$links{$int} = $r_int;
- $logger->debug(sprintf("Topology::get_tree_stp_links: Found
link: %d -> %d",
- $int, $r_int));
+ if ( $logger->is_debug() ){
+ my $toi = Interface->retrieve(id=>$r_int);
+ my $fromi = Interface->retrieve(id=>$int);
+ $logger->debug("Topology::get_tree_stp_links: Found link: "
+ . $fromi->get_label . " -> " .
$toi->get_label );
+ }
}else{
# Octet representations may not match
foreach my $r_des_p ( keys %{$near{$des_b}} ){
if ( $class->_cmp_des_p($r_des_p, $des_p) ){
my $r_int = $near{$des_b}{$r_des_p};
$links{$int} = $r_int;
- $logger->debug(sprintf("Topology::get_tree_stp_links:
Found link: %d -> %d",
- $int, $r_int));
+ if ( $logger->is_debug() ){
+ my $toi = Interface->retrieve(id=>$r_int);
+ my $fromi = Interface->retrieve(id=>$int);
+ $logger->debug("Topology::get_tree_stp_links:
Found link: "
+ . $fromi->get_label . " -> " .
$toi->get_label );
+ }
}
}
}
-----------------------------------------------------------------------
Summary of changes:
lib/Netdot/Topology.pm | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
hooks/post-receive
--
Netdot
------------------------------
Message: 4
Date: Wed, 9 Jul 2014 14:00:57 -0700
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch netdot-1.0 updated.
netdot-1.0.6-41-g35fbc1f
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 "Netdot".
The branch, netdot-1.0 has been updated
via 35fbc1f9bff2bc366a80578305e945d12560a9c7 (commit)
via 4c1e4b3c85cd6e55b9bfc1ae7f0a630ebc80be9b (commit)
from 47e9b763c4162ecfb4f0bec68b0c7d61beb2ad23 (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
lib/Netdot/Topology.pm | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
hooks/post-receive
--
Netdot
------------------------------
Message: 5
Date: Thu, 10 Jul 2014 08:33:38 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Feature #1833] (New) speedup -
management - host_tasks/dns records
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1833 has been reported by Wim Vandersmissen.
----------------------------------------
Feature #1833: speedup - management - host_tasks/dns records
https://osl.uoregon.edu/redmine/issues/1833
Author: Wim Vandersmissen
Status: New
Priority: Normal
Assignee:
Category:
Target version:
Resolution:
Adding a new host using management/host_tasks.html?view=new is very slow
because of iterating over all the zones and ipblocks if you got a lot of those.
In our case the combined sum is 3720.
Loading this page takes 12.37 seconds!
Using mason cache, we can reduce after the second loadtime to 3.6 seconds (3.4
times faster) and every other subsequented load will be cached locally on the
browser (0.3 seconds loadtime) (10 times faster). So in total a 40 times speed
increase ;-)
--
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
------------------------------
Message: 6
Date: Thu, 10 Jul 2014 08:43:24 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Feature #1833] speedup - management
- host_tasks/dns records
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1833 has been updated by Wim Vandersmissen.
Pull request can be found on github. Works for me, but maybe needs some more
testing
----------------------------------------
Feature #1833: speedup - management - host_tasks/dns records
https://osl.uoregon.edu/redmine/issues/1833#change-3237
Author: Wim Vandersmissen
Status: New
Priority: Normal
Assignee:
Category:
Target version:
Resolution:
Adding a new host using management/host_tasks.html?view=new is very slow
because of iterating over all the zones and ipblocks if you got a lot of those.
In our case the combined sum is 3720.
Loading this page takes 12.37 seconds!
Using mason cache, we can reduce after the second loadtime to 3.6 seconds (3.4
times faster) and every other subsequented load will be cached locally on the
browser (0.3 seconds loadtime) (10 times faster). So in total a 40 times speed
increase ;-)
--
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 88, Issue 8
*******************************************