* new oui importer using IEEE csv for MA-L+M+S
* schema update for new vendor table
* change vendor to manufacturer because Device has a vendor field
* remove oui from manuf table, and update node oui after manuf update
* faster way to bulk update node oui
* switch from using oui table to manufacturer table for vendor lookup
* some other oui cleanup
* faster/scalable way to join a macaddr to manuf table
* remove device.oui support
* update node oui in bulk at end of macsuck run
* correct literal sql instead of bind
* more efficient to get oui base for each mac
* comment better the base lookup in macsuck
* sidebar and style changes
* switch server code to new params and values
* working algo for cloud and neighbor depth
* store map positions for lldp cloud with depth
* color the root node uniquely
* restrict all devices, depth, cloud map to < 1000 devices
* initial work
* initial work
* initial work
* some fixes for time and Layer3 weird spec
* store again the snapshot after update for specific
* resolve the enums
* monkeypatch SNMP::translateObj to avoid hardware exception on macOS
* only save cache to db in the late phase worker
* no need to check for cache on transport, can just go ahead and try
* use database only for oidmap instead of netdisco-mibs
* rewrite device snapshot to gather loaded mib leafs only
* remove old walker code from snapshot worker
* allow snmp browser to work without snapshot
* only store snapshot leafs which the device responded on
* refactor to separate snapshot work from snmp transport work
* refactor to separate snapshot work from snmp transport work
* allow typeahead on MIB qualified leafs
* fixes for snmpwalk input after previous refactor
* add the extra stuff SNMP::Info device class uses into snapshot
* better width for snmp search box
* fix css for snmp options
* add spinner while snmp loading
* add spinner while snmp loading
* add spinner while snmp loading
* support SNMP::Info device class or named MIBs as extra on snapshot
* add final tidy and bug fix
Squashed commit of the following:
commit 4081e22202693bd7c4ea00e95daad8e628c6fd5a
Author: Oliver Gorwits <oliver@cpan.org>
Date: Mon May 29 21:02:07 2023 +0100
large rename of check_acl* to acl_matches*
commit 3cfa284ddd24d68765c255578cc5c184afbdcd83
Author: Oliver Gorwits <oliver@cpan.org>
Date: Fri May 19 20:39:03 2023 +0100
update permission doc
commit 8c7bb93cc5e9fafb770f98f446e45cbd94b14894
Author: Oliver Gorwits <oliver@cpan.org>
Date: Wed May 17 21:50:07 2023 +0100
migrate most check_acl_only to acl_matches_only
commit c47f699f2a22f08f2f3e093ed0f24c891e6f9a82
Author: Oliver Gorwits <oliver@cpan.org>
Date: Wed May 17 21:39:19 2023 +0100
rename check_acl* to be acl_matches*
commit a884a22c3ab1f3262118c3a47ed8e25b0b0a7336
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sun May 14 16:50:42 2023 +0100
update macsuck_no_deviceports to use acl_matches
commit 8c256af728721329b64d071fa529dfc844073ac6
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sun May 7 22:54:33 2023 +0100
update hide_deviceports to use acl_matches multi @things
commit cd5d9978aba1da459be4fed4500f395df13f7784
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sun May 7 22:53:38 2023 +0100
check_acl fix to allow all @things to offer a property before fallback to missing as empty string
commit 1a3ab9a7646e9f994f03126d45fc36e9e5a13ed5
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 2 15:31:17 2023 +0100
add ignore_deviceports to portproperties discover; improve comments
commit 51385ce89458dc939587dae902fda431719c22c9
Merge: b97c07d2 3f8ffe78
Author: Oliver Gorwits <oliver@cpan.org>
Date: Tue May 2 15:21:48 2023 +0100
Merge branch 'master' into og-acl_multidict
commit b97c07d237d750c1d9eb3095d8ff3908512eac2a
Author: Oliver Gorwits <oliver@cpan.org>
Date: Sat Mar 25 14:37:53 2023 +0000
add support for arrayref of items, and unblessed hash, to check_acl
* make log_message optional in delete_device
* add hooks support to delete job
* make delete job high prio
* web delete now queues job instead of inline delete
* move web logging into web package and remove userlog from device delete helper
* submit delete job for expire device instead of inline delete
* fixes to get web submit form for delete device to work
* enable delete hook functionality
* implementation of GET and DELETE for Job Queue API
* implement POST jobs submission to queue via API
* implement GET /queue/backends API endpoint to get backend names
* custom device field web display and edit
* make display work; relies on T::T calling dict slot or method with same syntax
* add storing port custom fields
* use resultset method instead, use cf_ prefix
* update Pg min ver for jsonb
* allow override of position and default for port custom fields
* support hidden for custom fields
* update description of Objects API class
* allow left and mid position for custom fields
* add custom fields in csv
* change port control sidebar label
* fix default missing bug on backend jobs
* Add macsuck worker to collect various PortAccessEntity (NAC) attributes
* Incorporate PAE feedback on #937
* missing Result/Device.pm column added
* pae_is... columns instead of pae_capabilities
* moved most code to Util/PortAccessEntity.pm so the update can
be done in discover and macsuck
* Refactor PAE attributes during discover as separate Plugin
* PortAccessEntity: don't use device->dns in log string
* Fix "Experimental keys on scalar is now forbidden" test failure
* Revamp pae_control and add missing attribute
- device.pae_control (text) is now device.pae_is_enabled (bool)
- also store pae_authconfig_port_control (port mode auto/force(un)Auth)
* Fix "Experimental keys on scalar is now forbidden" test failure
- ... again because of botched merge
- at least perlgolfed away a set of curly braces
* Update PortAccessEntity.pm
* Incorporate @ollyg PR feedback
* allow actions without transport to run when there are also no creds
* initial refactor for separate gather, process, store phases for macsuck
* factor out the vlan sanity check
* additional help with log of action workers
* cleanup logic in check macsuck
* refactor to make main phases only
* some fixes
* implement file slurp. amazingly the whole thing works
* remove outdated noop from test
* treat error as critical, use cancel to suppress further drivers
* big refactor to share mac sanity code to both paths
* fix inverted logic on vlan sanity filter
* some code tidy
* fix error in default value
* fix for vlan 0 nodes input from cli
* ensure imported MACs are IEEE format
* add api endpoint, no useful return status yet
* exit status if error from nodes PUT
* suppress other networked workers when direct workers are active
* better log showing worker
* fix status recording to get first error or last done message
* implement arpnip API PUT
* avoid package redeclaration error
* make sure write API methods require admin status
* add doc for passing JSON data to arpnip and macsuck
* update manifest
* remove option to do jobs in web handler; all by queue now
* use job entry timestamp for offline queued jobs
* fix store username and IP on api PUT
* never de-duplicate user-submitted jobs; never reset DeviceSkip for offline jobs
* myworker no longer needed
* make logic cleaner
Co-authored-by: Christian Ramseyer <ramseyer@netnea.com>