Squashed commit of the following:
commit 3fe8f383a7
Author: Oliver Gorwits <oliver@cpan.org>
Date: Mon Mar 11 17:07:42 2019 +0000
add debug lines and tested
commit 3249739e42
Author: Oliver Gorwits <oliver@cpan.org>
Date: Mon Mar 11 16:54:11 2019 +0000
change config name to get_credentials
commit e78558397a
Author: Oliver Gorwits <oliver@cpan.org>
Date: Mon Mar 11 16:51:11 2019 +0000
separate out generic device auth to DeviceAuth module
commit 249f05165f
Author: Oliver Gorwits <oliver@cpan.org>
Date: Wed Mar 6 18:43:31 2019 +0000
release 2.040007
commit e3af64df77
Author: Oliver Gorwits <oliver@cpan.org>
Date: Wed Mar 6 18:42:47 2019 +0000
#521-redux fix wifi date search
commit 48857ae300
Author: Oliver Gorwits <oliver@cpan.org>
Date: Mon Mar 4 12:03:31 2019 +0000
release 2.040006
commit e09dab5362
Author: Oliver Gorwits <oliver@cpan.org>
Date: Mon Mar 4 11:39:12 2019 +0000
#527 update List::MoreUtils version requirement
commit 6e7de3fff3
Author: Oliver Gorwits <oliver@cpan.org>
Date: Mon Mar 4 09:59:41 2019 +0000
release 2.040005
commit 0c98318a45
Author: Oliver Gorwits <oliver@spike.local>
Date: Mon Mar 4 09:57:18 2019 +0000
#526 fix discover syntax bug
commit e9efc45182
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sun Mar 3 14:56:48 2019 +0000
release 2.040004
commit 6cdfd80d10
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sun Mar 3 14:34:00 2019 +0000
allow undiscovered neighbors report to use discover_{waps,phones} setting
commit ac381e0802
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sun Mar 3 14:13:20 2019 +0000
#506 was a red herring
commit b83e614c85
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sun Mar 3 13:00:36 2019 +0000
make discover_{phones,waps} work with LLDP capabilities as well
commit 189d234b55
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sun Mar 3 12:47:38 2019 +0000
check discover_no_type and friends earlier on in neighbors list build
commit 9c956466f3
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sun Mar 3 12:32:07 2019 +0000
also update default config for new discover_phones and discover_waps settings
commit 09d29954d2
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sun Mar 3 12:26:50 2019 +0000
#512 fix regression in phone/wap discovery exclusion
commit 2bae91f1b6
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sun Mar 3 12:01:34 2019 +0000
rename match_devicetype() to match_to_setting()
commit 57cb6ddb70
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sun Mar 3 09:19:39 2019 +0000
fix for over-eager fix to #506
commit ef560fb59a
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sat Mar 2 22:41:40 2019 +0000
#506 relax device renumber so it works for an alias
commit 7a8bcb094e
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sat Mar 2 22:23:39 2019 +0000
#521 Search Node Date Range not working
commit a643820a62
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sat Mar 2 21:54:27 2019 +0000
#428 Port-Channels not showing in netmap
commit 5ba5bcd295
Merge: e7aacddba1f95028
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sat Mar 2 20:04:11 2019 +0000
Merge branch 'master' of github.com:netdisco/netdisco
commit e7aacddbc6
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sat Mar 2 20:01:05 2019 +0000
#498 Map with VLAN filter omits unconnected devices
commit a1f95028ca
Author: nick n <39005454+inphobia@users.noreply.github.com>
Date: Sat Mar 2 19:54:22 2019 +0100
catch up with changes
noticed that rc-sshcollector-core received updates to changes, add them here as well.
didn't mention #499 & #522
commit ce1b847cea
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sat Mar 2 18:47:44 2019 +0000
fix bug showing no nodes when only one matches in netmap
commit 78e30a7926
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sat Mar 2 16:28:15 2019 +0000
#500 filtering in device/ports on native vlan duplicates entries
commit 9952f0c6c7
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sat Mar 2 15:02:12 2019 +0000
#499 netdisco-do renumber reports wrong ip (inphobia)
commit ca3fd8f466
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sat Mar 2 15:00:18 2019 +0000
#505 device renumber should update device port properties and device skips
commit 1265bc8470
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sat Mar 2 14:52:21 2019 +0000
#520 catch slave ports defined without a master
commit d4c7579c10
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sat Mar 2 14:47:49 2019 +0000
#522 TypeAhead.pm can reference empty data (inphobia)
commit 77decc23b7
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sat Mar 2 14:45:37 2019 +0000
#514 inconsistent results in ip inventory (inphobia)
commit 3f211650b8
Author: nick n <39005454+inphobia@users.noreply.github.com>
Date: Fri Mar 1 12:34:42 2019 +0100
last pieces for db schema upgrade
last piece of #510
This commit adds a table 'device_skip' that is used to restrict job queue
searches to avoid jobs that are not permitted on this backend via *_no ACLs,
or jobs on devices that have previously encountered multiple SNMP timeouts.
When the backend loads or a device is added, a row is added to the table if
that device should not be polled on this backend (together with the job
actions which are to be skipped/denied). When a device SNMP connect fails a
counter in the same row (or a new row) is incremented.
There is also a new report 'SNMP Connect Failures' to show the devices with
non-zero SNMP connect failure counters. A configurable limit in the setting
'max_deferrals' is used to set the threshold of no longer polling the device.
To reset the deferrals/failures count, restart the Netdisco backend (which
regenerates 'device_skip' cache entries).
Squashed commit of the following:
commit b5e32c219d
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 20:55:14 2017 +0100
show all failed connections in report
commit ffce3cee84
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 20:12:39 2017 +0100
only resolve fqdn once
commit cc4f680f01
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 20:10:20 2017 +0100
Revert "only resolve fqdn once"
This reverts commit 3d136a54de.
commit d8d082b30e
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 20:09:05 2017 +0100
a report to show SNMP failures
commit 3d136a54de
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 19:37:58 2017 +0100
only resolve fqdn once
commit 4550b8a84c
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 17:27:43 2017 +0100
skipover now implicit from deferrals/actionset; fix sql where logic with better correlation
commit b51edbccd2
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 16:11:29 2017 +0100
only abort lock if action matches badactions
commit 415559b24f
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 13:56:42 2017 +0100
set skipover true when adding to actionset
commit 1086f2c467
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 13:50:56 2017 +0100
fix empty actionset
commit 31962580b8
Merge: 9b2e993e6808133b
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 13:25:08 2017 +0100
Merge branch 'og-device_skip' of github.com:netdisco/netdisco into og-device_skip
commit 6808133bdb
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 13:19:54 2017 +0100
in-job checks for acls are required for netdisco-do foreground actions
commit 3944dd7813
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 13:18:30 2017 +0100
avoid extra device lookup
commit 9b2e993e0f
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 12:31:36 2017 +0100
also delete device_skip rows when deleting device
commit b55854e91d
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 11:34:27 2017 +0100
actions in device_skip table are now an array/set
commit 5e126eef07
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 09:36:33 2017 +0100
typo
commit 44266f2767
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 09:14:25 2017 +0100
*able checks within jobs should not be necessary with skiplist
commit e7c22e7d11
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 08:58:57 2017 +0100
increment deferrals field when job is deferred
commit 88ae9c00ba
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 08:40:27 2017 +0100
turn connect fail into defer
commit eac1857043
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 23 08:26:59 2017 +0100
rename failures column to be deferrals
commit 96ed444bbb
Author: Oliver Gorwits <oliver@cpan.org>
Date: Mon May 22 22:52:51 2017 +0100
set up list of jobs the backend instance should skip
commit 3a0019296d
Author: Oliver Gorwits <oliver@cpan.org>
Date: Mon May 22 22:01:50 2017 +0100
separate out is_*able last_* checks
commit cf8589aba2
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sun May 21 22:35:38 2017 +0100
change from ignore to skip name
commit ed193356f8
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sun May 21 14:52:33 2017 +0100
device_ignore table to track devices to skip in polling