Commit Graph

171 Commits

Author SHA1 Message Date
Oliver Gorwits
10ccaa78b1 show ips functionality; improvement to maximise icon; bugfix d3-force label wrap 2017-12-26 10:52:47 +00:00
Oliver Gorwits
6618fba548 fix neighbors pinning 2017-12-24 23:25:52 +00:00
Oliver Gorwits
938848551e implement dynamic sizing option 2017-12-24 18:12:11 +00:00
Oliver Gorwits
7000d4b0eb allow port control role to edit manual topology 2017-12-24 12:12:29 +00:00
Oliver Gorwits
547d2934cb working save/restore node positions with groups 2017-12-24 12:09:40 +00:00
Oliver Gorwits
bf7e231ffe node colors! 2017-12-24 10:09:26 +00:00
Oliver Gorwits
e23594b041 wooo device group selection is working 2017-12-23 23:42:17 +00:00
Oliver Gorwits
b1b22c9811 send full query str from netmap for json 2017-12-23 22:31:23 +00:00
Oliver Gorwits
9a13bb7f9b implement host_group_displaynames and fix vlan save bug 2017-12-23 22:06:24 +00:00
Oliver Gorwits
35ed34ed2f when neighbors only can restrict the links search 2017-12-23 17:52:14 +00:00
Oliver Gorwits
f9e5ec02ab tweak mapshow 2017-12-23 17:44:41 +00:00
Oliver Gorwits
9f9971ff4e better sidebar look and layout 2017-12-23 09:55:03 +00:00
Oliver Gorwits
1def41da67 sidebar with many options!! 2017-12-21 23:54:44 +00:00
Oliver Gorwits
4203cbb225 Merge branch 'master' into og-newnetmap 2017-12-21 20:14:55 +00:00
Oliver Gorwits
9c60727c9f Allow default schedule items to be skipped by setting to 'null' 2017-12-21 20:05:46 +00:00
Oliver Gorwits
9520438960 tighten the sql for neighbor links 2017-12-20 23:34:44 +00:00
Oliver Gorwits
aba359d2a9 save and load netmap positions for same device groups 2017-12-20 22:05:51 +00:00
Oliver Gorwits
b7cd0251ff basic positions upload 2017-12-19 23:24:47 +00:00
Oliver Gorwits
60412cd6e6 Merge branch 'master' into og-newnetmap 2017-12-17 20:23:41 +00:00
Oliver Gorwits
8d6bfcf0b2 allow custom actions to be handled by scheduler 2017-12-17 20:14:21 +00:00
Oliver Gorwits
39ca1491b0 Merge branch 'master' into og-newnetmap 2017-12-17 19:52:49 +00:00
Oliver Gorwits
6962258223 bleed versions 2017-12-17 19:52:26 +00:00
Oliver Gorwits
fc4bfa8628 fix sshcollector 2017-12-14 21:42:01 +00:00
Oliver Gorwits
854f37fc94 more fiddling with d3 2017-12-14 21:34:49 +00:00
Oliver Gorwits
61a3a9e06d working worker 2017-12-14 19:15:21 +00:00
Oliver Gorwits
33bd9d39da improvements to graphing 2017-12-13 01:14:50 +00:00
Oliver Gorwits
6178bf2298 Merge branch 'master' into og-newnetmap 2017-12-12 23:44:48 +00:00
Oliver Gorwits
925940c90a fix predefined link bug 2017-12-12 23:44:04 +00:00
Oliver Gorwits
1c627eaf3c Merge branch 'master' into og-newnetmap 2017-12-12 23:38:00 +00:00
Oliver Gorwits
000cbaa195 fix bugs so that sidebar options work again 2017-12-12 23:33:52 +00:00
Oliver Gorwits
45a0a75d96 change from settings to vars for tracking param defaults 2017-12-11 23:51:01 +00:00
Oliver Gorwits
77ca8f96e1 working rendering using d3-force plugin 2017-12-11 00:09:19 +00:00
Oliver Gorwits
187265fc03 initial work on moving to d3-force-apex-plugin - json data 2017-12-10 23:19:23 +00:00
Oliver Gorwits
e8ee50490d Fix Device Ports search for VLAN prefer with non-numeric value 2017-12-10 21:06:21 +00:00
Oliver Gorwits
ae2a3f5343 fix cookies 2017-12-10 20:56:51 +00:00
Oliver Gorwits
53358c5311 complete defaults into templates, attempt to set cookie in handler 2017-12-10 18:09:10 +00:00
Oliver Gorwits
88cb2b0b06 remove firstsearch and add storable dep 2017-12-10 13:54:38 +00:00
Oliver Gorwits
b8ab3b396c switch to using defaults all the time instead of params, so multi tab works 2017-12-10 13:38:54 +00:00
Oliver Gorwits
f8cee4cff6 refactor device ports sidebar params handling 2017-12-10 11:47:51 +00:00
Oliver Gorwits
9e91431411 clean up the sidebar defaults for search and report 2017-12-09 23:53:27 +00:00
Oliver Gorwits
5768b26e5c fix defaults for module_options 2017-12-09 20:10:41 +00:00
Oliver Gorwits
f09442f63d better port search from titlebar, option for ethernet ports 2017-12-08 23:01:57 +00:00
Oliver Gorwits
629b046a94 add log for skipping when duplicate lldpRemChassisId seen 2017-11-28 21:05:51 +00:00
Oliver Gorwits
bc97cde2a3 implement ND2_SINGLE_WORKER env 2017-11-28 21:00:25 +00:00
Oliver Gorwits
b47a22e3da add better logging of plugins 2017-11-28 20:50:09 +00:00
Oliver Gorwits
38110c2868 update docs in Status 2017-11-26 15:13:37 +00:00
Oliver Gorwits
26b4bdb907 change noop to info, and some fixes 2017-11-25 12:29:08 +00:00
Oliver Gorwits
de594c647f single DB poll for new jobs both high and normal priority 2017-11-24 06:31:34 +00:00
Oliver Gorwits
3db242cbe8 support action::namespace for netdisco-do 2017-11-23 22:16:50 +00:00
Oliver Gorwits
0bb15f36b9 fixes for race conditions and dupes in job queue
we had situations where the manager would start workers on the same job,
either because of race conditions or because at the time of queueing it wasn't
known that the jobs were targeting the same device (due to device aliases).

this commit removes duplicate jobs, reduces the need for locking on the job
queue, and makes use of lldpRemChassisId to try to deduplicate jobs before
they are started. in effect we have several goes to prevent duplicate jobs:

1. at neighbor discovery time we try to skip queueing same lldpRemChassisId
2. at job selection we 'error out' jobs with same profile as job selected
3. at job selection we check for running job with same profile as selected
4. the job manager process also checks for duplicate job profiles
5. at job lock we abort if the job was 'errored out'

all together this seems to work well. a test on a large university network of
303 devices (four core routers and the rest edge routers, runing VRF with many
duplicate identities), ~1200 subnets, ~50k hosts, resulted in no DB deadlock
or contention and a complete discover+arpnip+macsuck (909 jobs) in ~3 minutes
(with ~150 duplicate jobs identified and skipped).
2017-11-23 19:55:34 +00:00