Commit Graph

3027 Commits

Author SHA1 Message Date
Oliver Gorwits
7f3e9485f9 #943 search fields HTML5 type "search" to allow clearing 2022-11-28 20:07:47 +00:00
Oliver Gorwits
8cdb4890db #943 Add clearbutton to searchbar 2022-11-28 17:25:33 +00:00
Oliver Gorwits
3f6c78c30c release 2.059001 2022-11-26 20:34:30 +00:00
Oliver Gorwits
9eb6aaebfc set layer2 support after successful macsuck, similar to arpnip does for l3 2022-11-25 21:54:03 +00:00
Oliver Gorwits
2d37581d66 release 2.059000 2022-11-25 15:27:00 +00:00
Oliver Gorwits
826e1db39d API Endpoints to submit arpnip and macsuck results (#942)
* 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>
2022-11-25 15:24:23 +00:00
nick n
1b2c15e083 now with openbsd support 2022-11-10 22:51:15 +01:00
Oliver Gorwits
ae3b21f781 release 2.058003 2022-11-04 15:51:28 +00:00
Oliver Gorwits
9ec6397aaf Revert "Github actions installs always over HTTPS"
This reverts commit 29acfe1a00.
2022-11-04 15:49:46 +00:00
Oliver Gorwits
634b18a1c3 Revert "Update test_and_publish.yml"
This reverts commit 3a2f7946e3.
2022-11-04 15:49:35 +00:00
Oliver Gorwits
3a2f7946e3 Update test_and_publish.yml 2022-11-04 15:35:56 +00:00
Oliver Gorwits
dca7319e98 release 2.058002 2022-11-04 15:30:44 +00:00
Oliver Gorwits
29acfe1a00 Github actions installs always over HTTPS 2022-11-04 15:29:37 +00:00
Oliver Gorwits
8b9c18fb3b release 2.058001 2022-11-04 14:57:29 +00:00
nick n
97c05658b7 fix db scheme version for 2.058000 (#940)
2.058000 has db schema changes but we did not update the version here
2022-11-04 14:54:55 +00:00
Oliver Gorwits
fc984423ec release 2.058000 2022-11-04 10:26:18 +00:00
Christian Ramseyer
c5a3ad94fd Update Changes 2022-11-04 10:06:27 +01:00
Oliver Gorwits
0e9ff81cf5 Add worker to collect various PortAccessEntity (NAC) attributes (PR #937, partially implements #887)
* 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

Co-authored-by: Christian Ramseyer <ramseyer@netnea.com>
2022-11-04 10:03:26 +01:00
Oliver Gorwits
893c0abdef add space in enum references in snmp node descr 2022-10-18 13:09:27 +01:00
Oliver Gorwits
7f5cf60b41 release 2.057008 2022-10-18 12:57:34 +01:00
Oliver Gorwits
2cb2809dd9 #935 Macsuck forces ports up/up - but a forwarding table may be present on a port that is down 2022-10-18 12:49:24 +01:00
Oliver Gorwits
4b04fdc588 #919 netdisco-web will not auto restart more than once 2022-10-18 12:21:53 +01:00
Oliver Gorwits
2a35a0bc56 #936 user auth method should be drop-down 2022-10-18 11:50:12 +01:00
Oliver Gorwits
ab8c371524 release 2.057007 2022-10-04 13:19:36 +01:00
nick n
a9b2589624 fix ordering to match headers, could be fallout from pr902 or adding ifindex (#931) 2022-10-04 10:53:57 +01:00
Oliver Gorwits
3ca4cec9ea release 2.057006 2022-09-30 22:02:23 +01:00
Oliver Gorwits
f9f06032f0 revert change as check_acl_only is the right way to go 2022-09-30 21:55:50 +01:00
Christian Ramseyer
ebdff809d4 add FTD.pm contributed by Sebastian Roesch 2022-09-30 15:00:02 +02:00
Oliver Gorwits
86c4fe2ba9 release 2.057005 2022-09-28 15:16:52 +01:00
Oliver Gorwits
5502835120 auto add port: and type: to legacy config for ignore_* 2022-09-28 15:16:03 +01:00
Oliver Gorwits
0c2b49a012 release 2.057004 2022-09-27 11:31:02 -04:00
Oliver Gorwits
965afbb23a release 2.057003 2022-09-27 11:28:53 -04:00
Oliver Gorwits
be39ced967 workaround DBICx::Sugar alias only working for non-default 2022-09-27 11:27:36 -04:00
Oliver Gorwits
72c17c35e2 release 2.057002 2022-09-24 22:38:41 +01:00
Oliver Gorwits
f1f4659d0d show canonical IP in Device Details tab 2022-09-24 22:37:35 +01:00
Oliver Gorwits
d6d877a406 rename setting macsuck_no_deviceport to macsuck_no_deviceports 2022-09-24 22:35:23 +01:00
Oliver Gorwits
0754fa53fc release 2.057001 2022-09-24 20:05:48 +01:00
Oliver Gorwits
7884a87e18 sort the tenants in menu 2022-09-24 20:04:31 +01:00
Oliver Gorwits
ea2a4e02d9 release 2.057000 2022-09-24 19:02:40 +01:00
Oliver Gorwits
1d5f3ce316 #929 implement first half of multi tenancy with tenant_databases setting 2022-09-24 19:01:16 +01:00
Oliver Gorwits
b391f83d60 release 2.056000 2022-09-24 18:59:48 +01:00
Oliver Gorwits
790c51b257 #925 implement ignore_deviceports and hide_deviceports 2022-09-20 20:32:35 +01:00
Oliver Gorwits
7d7d052bb6 release 2.055001 2022-09-02 09:01:51 +01:00
Oliver Gorwits
c5c71b16a2 #928 404 page template broken 2022-09-02 08:59:29 +01:00
Oliver Gorwits
6f37def579 extended vlan ranges 2022-08-17 06:38:23 -04:00
Oliver Gorwits
da3b459964 release 2.055000 2022-08-17 06:10:57 -04:00
Oliver Gorwits
73862d5ac8 fix device sysname showing in node search 2022-08-17 06:09:43 -04:00
Oliver Gorwits
4490cece5e update changelog 2022-08-16 22:29:53 +01:00
Oliver Gorwits
4d49f04d2a #875 Node Search - swap IP and DNS, add system name, highlight most recent, in the Switch Port rows 2022-08-16 22:25:27 +01:00
Oliver Gorwits
dd468efdd5 #834 VLAN Mismatch report - add sysname, port comment, and vlan diff 2022-08-16 18:12:35 +01:00