move arpnip and arpwalk to worker plugins

This commit is contained in:
Oliver Gorwits
2017-09-09 16:44:32 +01:00
parent 16a79463cb
commit c6ebb7cf07
7 changed files with 157 additions and 209 deletions

View File

@@ -19,7 +19,7 @@ register_worker({ primary => true }, sub {
return Status->done("macsuck skipped: $host not yet discovered")
unless $device->in_storage;
return Status->done("macsuck skipped: $host is pseudo-device")
return Status->defer("macsuck skipped: $host is pseudo-device")
if $device->vendor and $device->vendor eq 'netdisco';
return Status->defer("macsuck deferred: $host is not macsuckable")