implement ignore_layers, force_macsuck, force_arpnip config settings (#1002)

* implementation of ignore_layers, force_macsuck, force_arpnip and macwalk

* use new WalkJobs view to get devices needing macsuck

* also new query for discoverall, arpwalk, nbtwalk

* faux record has a last_defer stamp so we can see when the backend started

* fix typo
This commit is contained in:
Oliver Gorwits
2023-03-15 14:44:42 +00:00
committed by GitHub
parent 062895df10
commit 1d988bbf7c
12 changed files with 112 additions and 51 deletions

View File

@@ -207,7 +207,6 @@ register_worker({ phase => 'store',
$device->ip, $archived;
$device->update({last_macsuck => \$now});
$device->update({layers => \[q{overlay(layers placing '1' from 7 for 1)}]});
my $status = $job->best_status;
return Status->$status("Ended macsuck for $device");