Commit Graph

85 Commits

Author SHA1 Message Date
Oliver Gorwits
e4b19be5d7 zoom to device on neighbor show; do not save positions on neighbor show 2017-12-24 13:25:00 +00:00
Oliver Gorwits
58b576b464 better neighbors/save interaction 2017-12-24 13:10:48 +00:00
Oliver Gorwits
2c77660f2f fix labels on checkboxes to be clickable 2017-12-24 13:03:46 +00:00
Oliver Gorwits
2c2dc62cda prevent save positions when in neighbor view mode 2017-12-24 12:50:26 +00:00
Oliver Gorwits
78c558b5be add tooltip to show why host groups radio is disabled 2017-12-24 12:37:51 +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
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
7c12df6b83 refresh tooltips when the datatables table is updated 2017-12-21 00:13:03 +00:00
Oliver Gorwits
081b89d5dc shortcut from device port to manual topology 2017-12-20 23:59:15 +00:00
Oliver Gorwits
d6b0275931 tweak layout again 2017-12-20 23:26:22 +00:00
Oliver Gorwits
9e5e2f0ed5 fullscreen mode for netmap 2017-12-20 23:18:57 +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
786115ebda working group drag 2017-12-19 22:13:16 +00:00
Oliver Gorwits
91f98d4f33 drag all selected nodes 2017-12-18 23:00:16 +00:00
Oliver Gorwits
ba48eee5f7 Merge branch 'master' into og-newnetmap 2017-12-18 20:14:20 +00:00
Oliver Gorwits
3271431b42 Fix Connected Device ID in Device Ports sidebar 2017-12-18 17:34:36 +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
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
55758964a0 Include Connected Device ID in Device Ports sidebar cookie 2017-12-16 10:49:08 +00:00
Oliver Gorwits
f4889a19ff tweak comments in deploy file 2017-12-14 21:47:19 +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
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
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
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
00b92f8f55 make scheduler config default/automatic 2017-11-28 21:43:32 +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