Commit Graph
100 Commits
Author SHA1 Message Date
Oliver Gorwits f3ba260142 maxnoderadius is now based on dynamic size calc 2017-12-30 22:42:09 +00:00
Oliver Gorwits 0af415e391 fix to get aggregate ports in matching order on left and right side 2017-12-30 22:33:22 +00:00
Oliver Gorwits 3f36121a4c initial aggregate link summing 2017-12-30 22:07:28 +00:00
Oliver Gorwits e5b96b0781 tidy and refactor 2017-12-30 14:55:00 +00:00
Oliver Gorwits 79f22a47b3 get rid of d3 v3/v4 and only have v3 2017-12-30 13:42:58 +00:00
Oliver Gorwits 18c3f16c8f fullscreen exit now works 2017-12-30 12:54:45 +00:00
Oliver Gorwits 93f8181fc8 implement show link speeds on links 2017-12-30 08:58:04 +00:00
Oliver Gorwits 72961f172d add speed to retrieved devicelinks 2017-12-28 23:51:26 +00:00
Oliver Gorwits ae5496310e remove annealing on label change 2017-12-26 11:21:12 +00:00
Oliver Gorwits 885cb92bd3 reorder options 2017-12-26 11:15:21 +00:00
Oliver Gorwits 015a1debe0 fix d3-force debug link messing up svg text elements 2017-12-26 11:11:01 +00:00
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 71a1a20909 move labels on neighbor view 2017-12-25 13:21:23 +00:00
Oliver Gorwits 9578215349 force running spinner 2017-12-25 13:13:13 +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 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 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 7db6593211 release 2.037004 2017-12-21 20:06:23 +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 9520438960 tighten the sql for neighbor links 2017-12-20 23:34:44 +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 7f8e3edfff release 2.037003 2017-12-18 17:35:10 +00:00
Oliver Gorwits 3271431b42 Fix Connected Device ID in Device Ports sidebar 2017-12-18 17:34:36 +00:00
Oliver Gorwits 60412cd6e6 Merge branch 'master' into og-newnetmap 2017-12-17 20:23:41 +00:00
Oliver Gorwits 7dc79f7243 release 2.037002 2017-12-17 20:21:21 +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 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
Oliver Gorwits 4a51f83efc fix detection of unknown action in netdisco-do 2017-11-19 22:06:15 +00:00