Commit Graph

154 Commits

Author SHA1 Message Date
Oliver Gorwits
fc9c60f707 rename ok to is_ok and change slot names to avoid conflict with creators 2017-09-05 19:28:38 +01:00
Oliver Gorwits
3ee85383ab skip worker when action is per-device but no creds 2017-09-05 19:25:41 +01:00
Oliver Gorwits
75abdad812 further work on retval handling from workers 2017-09-04 21:54:37 +01:00
Oliver Gorwits
4c1fdf4f92 move worker plugin loader to Worker.pm 2017-09-04 20:37:53 +01:00
Oliver Gorwits
be0c5181a3 move Runner to Worker namespace 2017-09-04 20:35:42 +01:00
Oliver Gorwits
1c2cf924bc worker roles in Role namespace 2017-09-04 20:33:20 +01:00
Oliver Gorwits
3099eda393 load workers when runner role is loaded 2017-09-04 20:30:58 +01:00
Oliver Gorwits
a8c58a7b05 initial broken implementation of the runner 2017-09-03 22:30:28 +01:00
Oliver Gorwits
49b5274c33 use run() mixin to exec action 2017-09-03 19:04:20 +01:00
Oliver Gorwits
e0a666668a fix pod; set status defaults; stub runner mixin 2017-09-03 18:54:44 +01:00
Oliver Gorwits
8eaa33770c rename Core to Worker and move other packages around 2017-09-03 18:45:00 +01:00
Oliver Gorwits
4def0af0b0 better use of new status class 2017-09-03 17:58:03 +01:00
Oliver Gorwits
8675bf62c6 fix hook naming and implement primary workers 2017-09-03 17:27:38 +01:00
Oliver Gorwits
ef1bb81f2b new backend status class 2017-09-03 17:26:27 +01:00
Oliver Gorwits
5f50dfadf1 new Backend package to load core plugins 2017-09-03 16:51:55 +01:00
Oliver Gorwits
3baa7a818a remove unnecessary Worker::Common role 2017-09-03 16:22:29 +01:00
Oliver Gorwits
36b4adcc06 disambiguate util/backend package and remove backend prelaod 2017-09-03 16:17:29 +01:00
Oliver Gorwits
98bff731bd settle on a design for hook override, I think 2017-09-02 08:25:06 +01:00
Oliver Gorwits
fe5c16a16d rework docs to be more clear and reflect new operation 2017-08-30 20:37:36 +01:00
Oliver Gorwits
b34ba1977c Merge branch 'master' into og-coreplugins 2017-08-21 21:17:46 +01:00
Oliver Gorwits
c34ed61d35 #336 new "stats" command for netdisco-do 2017-08-21 21:04:59 +01:00
Oliver Gorwits
f459eca7a3 update Neighbor Relations on D-Link 2017-08-16 08:20:32 +01:00
Oliver Gorwits
31d1977f1e Revert "move expire code to be initial plugin pilot (broken)"
I think we'll only do the new backend code for jobs with a device.

This reverts commit 07998b72d9.
2017-08-14 18:11:42 +01:00
Oliver Gorwits
61dc80aff8 Merge branch 'master' into og-coreplugins 2017-08-14 18:10:29 +01:00
Oliver Gorwits
ade02db192 Neighbor Relations on D-Link (H. Erasmus) 2017-08-14 16:12:37 +01:00
Oliver Gorwits
07998b72d9 move expire code to be initial plugin pilot (broken) 2017-08-05 22:15:00 +01:00
Oliver Gorwits
685ec02108 pass $job to the core worker 2017-08-05 22:10:58 +01:00
Oliver Gorwits
d6523fe543 $job->device is always a DBIC row 2017-08-05 22:01:49 +01:00
Oliver Gorwits
ee6deea01b load plugins 2017-08-05 18:13:15 +01:00
Oliver Gorwits
fd80096ca2 rename all the things 2017-08-05 16:59:12 +01:00
Oliver Gorwits
464c42d1f5 use Scope::Guard to reduce device_auth 2017-08-02 10:19:16 +01:00
Oliver Gorwits
ec041dafd2 the other way around 2017-08-01 16:13:48 +01:00
Oliver Gorwits
d2c50e9454 further fixes for #335 to key netmap fully off IP 2017-08-01 10:05:33 +01:00
Oliver Gorwits
33d2fe13bd fix pod 2017-07-31 17:57:29 +01:00
Oliver Gorwits
3faee1cf16 remove need for instance() call 2017-07-31 17:55:10 +01:00
Oliver Gorwits
c6d0f1c035 add doc note on accessing transports 2017-07-26 13:51:23 +01:00
Oliver Gorwits
dca4b4fc03 add backend driver documentation 2017-07-26 11:50:10 +01:00
Oliver Gorwits
052a2acd79 rename web plugins doc 2017-07-26 10:16:58 +01:00
Oliver Gorwits
69c9a6393a rename args to driverconf 2017-07-26 10:12:42 +01:00
Oliver Gorwits
2586a36f8c new version of core plugin manager with better config and filters 2017-07-25 22:41:10 +01:00
Oliver Gorwits
4056831f99 change SNMP to be a cached transport singleton 2017-07-25 20:53:56 +01:00
Oliver Gorwits
c31030ef70 fixes because Dancer docs are a mess! 2017-07-23 13:46:27 +01:00
Oliver Gorwits
f65ef90b86 rename snmp_auth to device_auth and include a little doc on transports 2017-07-22 08:11:36 +01:00
Oliver Gorwits
dfa298a55b revert change to Device ResultSet which breaks search_for_device() 2017-07-14 13:50:40 +01:00
Oliver Gorwits
de8de56308 initial core plugin implementation 2017-07-12 21:38:31 +01:00
Oliver Gorwits
a3aae0696d remove really old NetdiscoE namespace stuff 2017-07-12 12:23:47 +01:00
Oliver Gorwits
070d595ef2 fix bugs with Pseudo and Duplicate Device delete (causing web crash) 2017-07-12 06:59:53 +01:00
Oliver Gorwits
6a8308e58c fix port neighbors being identified as macsuck_unsupported 2017-07-09 13:41:38 +01:00
Oliver Gorwits
1a26515356 return only one row for neighbor_alias 2017-07-09 11:05:25 +01:00
Oliver Gorwits
4e5b544b9c #325 significant speed-up to Device > Ports tab (thx to T. Teräs) 2017-07-09 10:03:52 +01:00