Oliver Gorwits
|
a400b26704
|
add ignore interfaces for HPE routers
|
2017-11-13 22:14:42 +00:00 |
|
Oliver Gorwits
|
1502ec1966
|
bug fixes after testing on a real network
|
2017-11-13 22:08:02 +00:00 |
|
Oliver Gorwits
|
840b6b4069
|
add tests
|
2017-11-12 20:38:35 +00:00 |
|
Oliver Gorwits
|
2de36c69ba
|
some reengineering to support proper testing
|
2017-11-12 00:14:21 +00:00 |
|
Oliver Gorwits
|
c5f138fe62
|
correct algorithm on finalise status, correct logging
|
2017-11-11 14:43:53 +00:00 |
|
Oliver Gorwits
|
98442a2308
|
bug fixes
|
2017-11-09 21:49:45 +00:00 |
|
Oliver Gorwits
|
e0c6615c87
|
fix bugs
|
2017-11-08 21:51:55 +00:00 |
|
Oliver Gorwits
|
1eeaba441d
|
finish refactor to new desired behaviour (buggy?)
|
2017-11-07 22:30:55 +00:00 |
|
Oliver Gorwits
|
7edfe88f25
|
fix to work, and correct namespace check
|
2017-11-06 22:50:51 +00:00 |
|
Oliver Gorwits
|
25907d3544
|
move status tracking and checking inside job instance
|
2017-11-06 21:26:01 +00:00 |
|
Oliver Gorwits
|
4436150bf4
|
remove global rubbish
|
2017-11-05 20:54:28 +00:00 |
|
Oliver Gorwits
|
28b016e713
|
fix docs
|
2017-11-04 23:31:51 +00:00 |
|
Oliver Gorwits
|
650f6c719b
|
tidy line
|
2017-11-04 23:22:12 +00:00 |
|
Oliver Gorwits
|
10f78d5dbe
|
add priority and namespace to support fancy worker overrides
|
2017-11-04 23:06:20 +00:00 |
|
Oliver Gorwits
|
b9f9816d09
|
release 2.036012_001
|
2017-10-11 18:33:46 +01:00 |
|
Oliver Gorwits
|
c33bf204a4
|
Merge branch 'master' into og-coreplugins
|
2017-10-11 18:30:23 +01:00 |
|
Oliver Gorwits
|
5b7ce3f797
|
cannot Sereal::Encode DBIC row
|
2017-10-09 15:46:09 +01:00 |
|
Oliver Gorwits
|
0a575f02ba
|
fix bug in job->device init
|
2017-10-09 14:07:56 +01:00 |
|
Oliver Gorwits
|
207476950d
|
default causes no attr to be created?!
|
2017-10-09 14:03:37 +01:00 |
|
Oliver Gorwits
|
f44578d6dd
|
release 2.036011
|
2017-10-09 08:01:10 +01:00 |
|
Oliver Gorwits
|
912f2fa91f
|
better debug logging
|
2017-10-08 18:43:51 +01:00 |
|
Oliver Gorwits
|
dfeb9d9ddc
|
make device_auth have driver setting for snmp entries
|
2017-10-08 18:40:02 +01:00 |
|
Oliver Gorwits
|
460c0c0ee9
|
Merge branch 'master' into og-coreplugins
|
2017-10-08 18:08:58 +01:00 |
|
Oliver Gorwits
|
9842344585
|
release 2.036010
|
2017-10-08 14:22:43 +01:00 |
|
Oliver Gorwits
|
3ccd107bd4
|
fix bug in device->has_layer
|
2017-10-07 14:20:07 +01:00 |
|
Oliver Gorwits
|
a4b9bf2036
|
netdisco-do show takes a param for method in -p
|
2017-10-07 14:00:21 +01:00 |
|
Oliver Gorwits
|
4389cd0459
|
fix to only check last poll on devices in storage
|
2017-10-07 13:36:06 +01:00 |
|
Oliver Gorwits
|
58d0fbddda
|
do not run discover parts if properties failed to complete
|
2017-10-07 13:21:13 +01:00 |
|
Oliver Gorwits
|
b52aaaf1a1
|
fix typo
|
2017-10-07 13:08:46 +01:00 |
|
Oliver Gorwits
|
41be926921
|
run all check workers
|
2017-10-07 13:04:45 +01:00 |
|
Oliver Gorwits
|
a41d114965
|
fix driver config
|
2017-10-07 13:02:46 +01:00 |
|
Oliver Gorwits
|
b10908a138
|
use vars() cache between phases
|
2017-10-07 12:43:50 +01:00 |
|
Oliver Gorwits
|
08b34e083d
|
remove die() calls
|
2017-10-07 11:39:17 +01:00 |
|
Oliver Gorwits
|
b8108986fb
|
phase fixups
|
2017-10-07 11:32:10 +01:00 |
|
Oliver Gorwits
|
273cbbc11b
|
change stage to phase
|
2017-10-07 09:42:41 +01:00 |
|
Oliver Gorwits
|
256c10bae5
|
multi worker actions need not return done from all workers
|
2017-10-07 09:35:14 +01:00 |
|
Oliver Gorwits
|
ee38bae48a
|
store result of worker if best for this phase so far
|
2017-10-07 09:05:25 +01:00 |
|
Oliver Gorwits
|
5bddfc73ba
|
auto debug-log worker return messages
|
2017-10-07 08:50:31 +01:00 |
|
Oliver Gorwits
|
8b660a89c0
|
bug fixes
|
2017-10-06 07:48:58 +01:00 |
|
Oliver Gorwits
|
b58a5816a9
|
remove unnecessary check phases
|
2017-10-06 07:44:20 +01:00 |
|
Oliver Gorwits
|
e44f06364a
|
fix unknown command check in netdisco-do
|
2017-10-06 07:18:03 +01:00 |
|
Oliver Gorwits
|
3af13f0dfe
|
introduce noop and refactor checks in all workers
|
2017-10-06 07:15:59 +01:00 |
|
Oliver Gorwits
|
98463c8cad
|
no need to debug log if there are no hooks in phase
|
2017-10-01 10:49:12 +01:00 |
|
Oliver Gorwits
|
3b32e84312
|
fiddle about with runner logic to fix exit states
|
2017-10-01 08:18:13 +01:00 |
|
Oliver Gorwits
|
8fdba38ee0
|
cannot reuse a worker as the job will be already set and the wrong plugins loaded
|
2017-09-29 08:01:42 +01:00 |
|
Oliver Gorwits
|
a155d9cb77
|
should defer when we cannot connect to device
|
2017-09-29 08:01:06 +01:00 |
|
Oliver Gorwits
|
10b5f6cbc4
|
fix bug in where workerconf acls are checked
|
2017-09-29 08:00:32 +01:00 |
|
Oliver Gorwits
|
2a74e0befa
|
can pass device instance to check_*
|
2017-09-29 07:58:33 +01:00 |
|
Oliver Gorwits
|
4256b117df
|
move device_auth build to be with community defaults setting
|
2017-09-29 07:27:14 +01:00 |
|
Oliver Gorwits
|
a2de2c1616
|
Merge branch 'master' into og-coreplugins
|
2017-09-29 07:21:03 +01:00 |
|
Oliver Gorwits
|
8dc4b9bc0e
|
#331 do not set community{_rw} defaults
|
2017-09-21 20:12:22 +01:00 |
|
Oliver Gorwits
|
65ba93acc0
|
#342 Job Queue Add Hostname or FQDN
|
2017-09-21 20:05:38 +01:00 |
|
Oliver Gorwits
|
5ee0206c91
|
#346 custom reports should allow trailing sql semicolon
|
2017-09-21 19:53:56 +01:00 |
|
Oliver Gorwits
|
d572334a73
|
#253 add some dependencies - what harm can it do?
|
2017-09-21 19:50:52 +01:00 |
|
Oliver Gorwits
|
32be11c3ff
|
move remaining interactive actions to be plugins
|
2017-09-21 00:09:29 +01:00 |
|
Oliver Gorwits
|
3e41c93f5a
|
clean snmp handling
|
2017-09-20 21:47:50 +01:00 |
|
Oliver Gorwits
|
30a2d5dd86
|
make sure check plugins are loaded/run before phases
|
2017-09-20 21:00:29 +01:00 |
|
Oliver Gorwits
|
3454d95a84
|
capture result on main phase as well
|
2017-09-20 20:54:15 +01:00 |
|
Oliver Gorwits
|
559fa4f93f
|
build device_auth from communities
|
2017-09-18 22:46:35 +01:00 |
|
Oliver Gorwits
|
1969291719
|
simplify to remove phases and fewer hooks
|
2017-09-18 22:04:22 +01:00 |
|
Oliver Gorwits
|
6f78032e28
|
add phase to test worker
|
2017-09-14 21:30:03 +01:00 |
|
Oliver Gorwits
|
6edd2dc879
|
no need to list all plugins
|
2017-09-13 21:51:40 +01:00 |
|
Oliver Gorwits
|
dfaeb34d8c
|
add reset after messing with snmp context or community index
|
2017-09-13 20:42:41 +01:00 |
|
Oliver Gorwits
|
09214dce92
|
no need to pass $snmp around
|
2017-09-13 20:29:21 +01:00 |
|
Oliver Gorwits
|
58cd488ccc
|
refactor layer and pseudo checks
|
2017-09-13 20:07:12 +01:00 |
|
Oliver Gorwits
|
753acc607f
|
use overloaded $device
|
2017-09-13 10:53:12 +01:00 |
|
Oliver Gorwits
|
d5d39289d6
|
rename init stage to check
|
2017-09-13 10:44:31 +01:00 |
|
Oliver Gorwits
|
1fdb086183
|
refactor to remove second loop
|
2017-09-12 08:12:12 +01:00 |
|
Oliver Gorwits
|
64a9491115
|
change to init, first, second stages
|
2017-09-10 16:10:50 +01:00 |
|
Oliver Gorwits
|
5f2da69697
|
move discover and discoverall to worker plugins
|
2017-09-09 22:29:26 +01:00 |
|
Oliver Gorwits
|
c6ebb7cf07
|
move arpnip and arpwalk to worker plugins
|
2017-09-09 16:44:32 +01:00 |
|
Oliver Gorwits
|
16a79463cb
|
set snmp driver on macsuck phase workers
|
2017-09-09 16:27:58 +01:00 |
|
Oliver Gorwits
|
9167e02de5
|
move macsuck and macwalk to worker plugins (macsuck needs snmp scope guard)
|
2017-09-09 15:55:53 +01:00 |
|
Oliver Gorwits
|
68ca85643b
|
move expire and expirenodes to worker plugins
|
2017-09-09 14:56:15 +01:00 |
|
Oliver Gorwits
|
271ef1a25c
|
move nbtstat and nbtwalk to worker plugins
|
2017-09-09 14:46:00 +01:00 |
|
Oliver Gorwits
|
e7508a9eca
|
move all netdisco-do action to worker plugins
|
2017-09-06 21:23:54 +01:00 |
|
Oliver Gorwits
|
707fc82b99
|
remove psql code from netdisco-do and fix detection of misspelled action
|
2017-09-06 21:01:37 +01:00 |
|
Oliver Gorwits
|
411918e3f8
|
only load worker plugins for the action
|
2017-09-06 20:56:26 +01:00 |
|
Oliver Gorwits
|
1f9740c0e2
|
shorten hook names
|
2017-09-06 18:30:43 +01:00 |
|
Oliver Gorwits
|
a59c23de79
|
make psql worker primary, add hook debug log
|
2017-09-06 18:27:34 +01:00 |
|
Oliver Gorwits
|
36c70220a2
|
allow two forms of worker declaration, and update docs
|
2017-09-05 22:39:22 +01:00 |
|
Oliver Gorwits
|
a79cb9a9e4
|
all the bug fixes and a working plugin!!!!!!!!! :-D
|
2017-09-05 22:11:02 +01:00 |
|
Oliver Gorwits
|
04896202e0
|
refine runner
|
2017-09-05 21:39:41 +01:00 |
|
Oliver Gorwits
|
547fce2f3c
|
hack the status class to regen if needed
|
2017-09-05 20:56:21 +01:00 |
|
Oliver Gorwits
|
cd71a0b7a8
|
move status update to job class
|
2017-09-05 20:41:05 +01:00 |
|
Oliver Gorwits
|
c8e5cea4ed
|
objectify the running
|
2017-09-05 20:37:13 +01:00 |
|
Oliver Gorwits
|
f48004fffa
|
bug squish
|
2017-09-05 20:09:02 +01:00 |
|
Oliver Gorwits
|
46ece568f6
|
implement runner?!
|
2017-09-05 19:54:57 +01:00 |
|
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 |
|