Commit Graph

1651 Commits

Author SHA1 Message Date
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
444e82b8a3 use d3 v4 only 2017-12-16 15:33:41 +00:00
Oliver Gorwits
01cd7a908d two d3 connected 2017-12-16 15:22:08 +00:00
Oliver Gorwits
c8806beaca cleaner way to update stats after deploy 2017-12-16 10:51:28 +00:00
Oliver Gorwits
55758964a0 Include Connected Device ID in Device Ports sidebar cookie 2017-12-16 10:49:08 +00:00
Oliver Gorwits
bab7fab50a improve netdisco-do docs 2017-12-14 22:04:54 +00:00
Oliver Gorwits
0ed978d3fc improve netdisco-do docs 2017-12-14 22:02:53 +00:00
Oliver Gorwits
8216995083 release 2.037001 2017-12-14 21:57:14 +00:00
Oliver Gorwits
242148acdb Also update stats on running netdisco-deploy 2017-12-14 21:56:21 +00:00
Oliver Gorwits
fe574183e5 release 2.037000 2017-12-14 21:48:27 +00:00
Oliver Gorwits
f4889a19ff tweak comments in deploy file 2017-12-14 21:47:19 +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
ebadebe69a borken worker 2017-12-14 07:57:55 +00:00
Oliver Gorwits
c327b28513 fix node center 2017-12-13 13:45:03 +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
f6c985bd60 #249 sidebar selections are not remembered (also #328) 2017-12-10 21:09:26 +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
4eafd0cad9 better environment comments 2017-12-09 18:58:06 +00:00
Oliver Gorwits
f09442f63d better port search from titlebar, option for ethernet ports 2017-12-08 23:01:57 +00:00
Oliver Gorwits
fe7412e19a fix doc for new default schedule config 2017-11-28 21:51:54 +00:00
Oliver Gorwits
b460cd4a18 release 2.036012_003 2017-11-28 21:48:33 +00:00
Oliver Gorwits
00b92f8f55 make scheduler config default/automatic 2017-11-28 21:43:32 +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
Oliver Gorwits
1bbe8c9164 Merge branch 'master' of github.com:netdisco/netdisco 2017-11-21 10:02:57 +00:00
Oliver Gorwits
b694258a65 leave community rows in place 2017-11-21 10:01:09 +00:00
Oliver Gorwits
c576a755af tweak log message 2017-11-21 10:00:53 +00:00