Commit Graph

68 Commits

Author SHA1 Message Date
Oliver Gorwits
d338c2d15a release 2.061001 2023-04-27 16:31:24 +01:00
Oliver Gorwits
678c5c03df release 2.061000 2023-03-29 11:39:34 +01:00
Oliver Gorwits
6d596c3e0f release 2.060007 2023-03-03 15:40:22 +00:00
Oliver Gorwits
f9da10cbc9 release 2.060000 2022-12-09 10:28:49 +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
Oliver Gorwits
fc984423ec release 2.058000 2022-11-04 10:26:18 +00:00
Oliver Gorwits
3ca4cec9ea release 2.057006 2022-09-30 22:02:23 +01:00
Oliver Gorwits
1aa455d028 release 2.054000 2022-08-15 08:41:26 -04:00
Oliver Gorwits
9be1e6c1a3 release 2.053006 2022-08-07 23:30:32 +01:00
Oliver Gorwits
c88bd9ac78 release 2.053004 2022-08-04 22:58:45 +01:00
Oliver Gorwits
bcbfead203 release 2.053001 2022-08-02 22:18:37 +01:00
Oliver Gorwits
005acc40a5 release 2.053000 2022-08-02 21:48:04 +01:00
Oliver Gorwits
3317128c41 release 2.052008 2022-07-12 09:15:51 +01:00
Oliver Gorwits
8347c4c1b1 release 2.052006 2022-05-17 22:03:40 +01:00
Oliver Gorwits
7e23f39e86 release 2.052000 2021-11-30 05:16:52 +00:00
Oliver Gorwits
dc1f76c1aa Feature to gather SNMP Walk, use as Pseudo Device, and Browse Objects
* fix anomalous name

* add gather worker

* fix encoding of binary storage

* store results back to job

* now parsing mbis report to translate

* fix the broken report parser

* rename gather to snapshot

* implement walk code copied from SNMP::Info

* can now bulkwalk and parse mibs report and store resolved walk in cache

* add func/glob aliasing broken

* better aliasing

* implement aliasing from globals and funcs

* fix regexp for matching netdisco-mibs report

* fake cache entry for all ND2 methods called, add comments

* also save to logs/snapshots/IP

* add doc for netdisco-do

* add is_pseudo column to device table

* support for loading cache for pseudo devices

* check for hrSystemUptime as well as sysUpTime for snmp connect

* display pseudo devices with yellow pill for name

* color all cells for layers for pseudo

* no need to b64 encode binary data in scalars as we b64 whole thing after

* tweaked uptime check

* store snapshot to database instead of Job

* expose snapshots in device details tab

* small ux improvements on snap download

* fixes for errors in subnet mask searching

* hide snapshot management for pseudo devices

* update to use new netdisco-mibs object cache

* update for new format oids file

* start of work on loading walk into db for browsing

* store values and meta

* add auto increment col and oid index to browser

* start web plugin for browser

* add virtual search for oid children

* have all oid in separte table (60 seconds load on my laptop)

* rename table and add relation

* store oid as int array

* fix sql for children

* make jstree start working

* working very slow tree expand

* fix to work when first displaying tree

* store both oid and oid_parts

* simplify SQL to speed up (more complicated perl)

* fix sql bug, add better index, prettify tree

* render the snmp node detail

* add node template, make scrollable, pretty print data values (insecure)

* store munge hint

* some dubious code to munge the data

* make sure to filter by IP on device_browser

* make safer the rendering of value data (but need to come back to key ordering)

* fix sorting on object values

* limit the opening of child nodes to keep response good and unclutter

* factor out the munge and make safer

* reject unknown mungers

* show the munger and option (not working) to change

* additional js for munge select

* complete custom munge

* change so that saving to database is only at CLI and on request

* hide snmp tab if no browser rows in the db

* add helpful message when no browser rows for the device

* stub handler for search and add recurse control

* working search

* minor ui fixes

* implement typeahead for leaf search

* limit rows in typeahead

* make sure device_browser is visited in delete and renumber

* add requirements for this branch

* update manifest

* make sure node search and typeahead are restricted to current device only
2021-11-06 07:47:29 +00:00
Oliver Gorwits
5f095faa46 release 2.049010 2021-10-11 21:31:00 +01:00
Oliver Gorwits
b0ea7bc0bd release 2.048000 2021-08-14 13:38:16 +01:00
Oliver Gorwits
f323fd1d81 release 2.047006 2021-07-14 12:34:46 +01:00
Oliver Gorwits
1fc44220cb release 2.047002 2020-12-30 20:41:34 +00:00
Oliver Gorwits
c39a613abb release 2.047000 2020-12-23 11:58:01 +00:00
Oliver Gorwits
15a2b46e3a Try again to drop unneeded constraint on netmap_positions 2020-10-27 12:25:33 +00:00
Oliver Gorwits
b6465abe66 release 2.046000 2020-07-08 22:28:48 +01:00
Oliver Gorwits
b155be832d release 2.045002 2020-04-19 18:02:46 +01:00
Oliver Gorwits
22edb6676f release 2.045000 2020-04-15 21:23:28 +01:00
Oliver Gorwits
e09ae10fb3 release 2.044009 2020-01-23 18:47:30 +00:00
Oliver Gorwits
abf415a1ca release 2.044005 2020-01-19 15:31:03 +00:00
Oliver Gorwits
0e8f9ad194 release 2.044003 2019-10-15 18:56:11 +01:00
Oliver Gorwits
5548379969 release 2.044000 2019-09-23 14:27:40 +01:00
nick n
a734890055 some documentation fixes (#640)
* a few more files to ignore

* the pgtune we reference seems to be dead, provide
a few alternatives.

* steal pod syntax check from snmp::info, but don't bother with checking Test::Pod version.
we want 1.22 or later, which was released in 2005

* reference the release notes in our wiki. changes you need to make manually during upgrades are documented there.

* add pod test to manifest

* term was defined around line 111 and then again at line 209, rename the second one
2019-08-29 02:22:28 +02:00
nick n
54fbc00407 license file renamed 2019-08-23 20:25:39 +02:00
Oliver Gorwits
bb6cf26b09 update manifest 2019-08-23 11:39:43 +01:00
nick n
e65f7b84c8 dbic sync between actual db & our functions/docs (#595) 2019-05-27 12:39:07 +01:00
Oliver Gorwits
f25352b747 release 2.042005 2019-04-03 14:55:49 +01:00
Oliver Gorwits
456e3502a1 release 2.042002 2019-03-20 12:26:00 +00:00
Oliver Gorwits
0ae705c6a8 release 2.042000 2019-03-17 20:30:29 +00:00
Oliver Gorwits
9b947369f9 release 2.041001 2019-03-15 05:33:27 +00:00
Oliver Gorwits
0c62159c85 release 2.041000 2019-03-12 19:59:35 +00:00
nick n
3f211650b8 last pieces for db schema upgrade
last piece of #510
2019-03-01 12:34:42 +01:00
nick n
6a36baa961 add a new tab to device -> vlans (#483)
* first steps for vlan tab

* export sort_vlans, use strict/warnings

* update manifest, get worker closer to functioning

* remove ie 9 script & extra ./th

* make it work

* cleanup

* readd internet explorer code

* start for csv output

* move things to debug logging instead of info

* use message which was discussed

* fix for address table sorting

* link os

* final touches thx to ollyg

* fetch origin/master

* VLAN is the preferred style for user interface usage

* does a missing libexpat-dev make travis builds complain?

* Revert "does a missing libexpat-dev make travis builds complain?"

This reverts commit 0cebc66f42708ff0f946213aab4bcbcc1b1b1379.
2019-01-14 21:57:37 +00:00
Oliver Gorwits
949dce9b33 release 2.039029 2018-05-09 06:53:46 +01:00
Oliver Gorwits
c8d05f9eb8 release 2.039018 2018-03-22 21:38:56 +00:00
Oliver Gorwits
9aa43616bb release 2.039016 2018-03-19 23:11:18 +00:00
Oliver Gorwits
acd4ea79e0 release 2.039015 2018-03-05 23:00:52 +00:00
Oliver Gorwits
a0593c9138 release 2.039012 2018-03-02 13:11:41 +00:00
Oliver Gorwits
e08376ba0b release 2.039008 2018-02-22 22:05:36 +00:00
Oliver Gorwits
7a22a8a4bc update distmeta 2018-02-12 19:35:51 +00:00
Oliver Gorwits
dc78d08e06 release 2.038035 2018-02-01 22:45:55 +00:00
Oliver Gorwits
591e9a92d4 release 2.038034 2018-01-31 20:00:49 +00:00
Oliver Gorwits
9eae3c1449 release 2.038002_001 2018-01-02 22:07:34 +00:00