Skip to content

v2.0.0-preview.16

@teacupuk teacupuk tagged this 19 Nov 18:17
* fix(device-details): MAC table shows VLANs on LibreNMS 26.11

The MAC table resolved the old internal vlan_id itself, so 26.11's direct
VLAN numbers came out blank, and an unresolved id was shown as if it were
the VLAN. Rows now read Core's FdbVlanResolver: the direct number, or the
VLAN table on older servers, with names matched by device and number, and
"-" when the VLAN is unknown.

Refs #587

* fix(alerts): flag rules for the columns the connected LibreNMS removed

The rules list and editor said every flagged column was one LibreNMS 26.10
removed and assumed 26.10 for an unknown server. They now pass the
server's version to Core, which knows the 26.11 removals too, and the
text no longer names one release.

Refs #587

* feat(demo): the example network has endpoints for Network Search to find

A display alone on an access port, a desk shared with a phone and an
address answering from two MACs, learned on their access ports and the
core uplinks and resolved by the firewall, with the subnets and a
26.9-shaped forwarding table. The screenshot tour renders the page for
each.

Refs #57

* feat(search): find an endpoint by address, MAC or name from one search

A Network Search page under Intelligence in the sidebar, also opened from
anywhere with Ctrl+Shift+F (Cmd+Shift+F on macOS) while Ctrl/Cmd+F still
filters the current page. One box takes an IP address, network, MAC in
any format, name or a pasted list. A single result leads with the port
the endpoint plugs into and how sure that is, then its addresses, MACs and
vendor, the switch ports that learned it with uplinks marked, its subnet
and gateways, the routers that know it, and any conflicts. Several
results are a sortable, filterable, paged list to open from. Every device,
port and interface links to its own view, values copy, results export
as CSV, the MAC format and recent searches are remembered, and "What was
checked" says which sources answered so a blind spot is never read as
"not found". Results are dropped when the connection goes.

Refs #57

* feat(settings): choose how Network Search writes MAC addresses

Settings > Devices > MAC addresses: colons, hyphens, Cisco dotted or
bare, shown as an example address. It replaces the picker on the search
page, and copying and exporting results follow it too.

Refs #57

* feat(search): filter results, and show matches the way Device Details does

- Filters: a Filter button opens Source, Seen by and Monitored tick lists,
  with a dot while any of them is hiding rows, as on the Devices tab.
- Connected to: filled like a Device Details neighbour card, with the
  switch's state and what it is, connection pills (Direct, VLAN, MACs on
  the port, last seen), the port and its description, and the port's
  status, speed and traffic.
- A monitored device gets an overview card in place of the address title.
- The search button is the usual search icon, centred on the box.
- What was checked moves to a status bar, like the Dashboard's.

Refs #57

* fix(search): Connected to is a plain card like the others

Refs #57

* docs(search): preview 16 notes and a Network Search guide page

Refs #57

* fix(search): Connected to sits in the card stack, not across the page

Refs #57

* fix(search): say what couldn't be checked, and keep results to their connection

From review: results and searches from a previous server or account are
dropped on any connection change; a warning banner and the cards say when
a source couldn't be read instead of reporting nothing found; a failed
search clears the old results; filters reset for each new query and Seen
by has a value for rows no router knows; export writes what's shown and
reports save errors; rows open by double-click or Enter with a spoken
name; the status bar wraps and reads its details to screen readers.

Refs #57

* feat(search): Connected to lists a device's neighbours, and the subnet expands

For a monitored device, Connected to shows its neighbours as Device
Details does - switches, servers and access points it links to, uplinks
included - four at first with "+N more connections". For an endpoint
LibreNMS doesn't monitor it shows every current access port it's on,
with Direct highlighted, never the uplinks it passed through. The
subnet's "+N more" now expands to every interface the search read.

Refs #57

* feat(search): Connected to falls back to where the MAC is learned

When LibreNMS can't name the link - a monitored device with no
discovered neighbours, or an endpoint seen only on uplinks - Connected
to shows where its MAC address appears: its access ports, or the closest
sighting with its Uplink pill, and a line saying why.

Refs #57

* build(core): pin DashyNMS.Core 2.0.0-ci.74 for Network Search and 26.11

ci.74 is core#92's merge: the Network Search lookup (core#91), FDB VLAN
numbers (core#86) and the 26.11 rule fields (core#87).

Refs #587

* fix(search): unmonitored neighbours show at full strength, just not clickable

Refs #57

* build(mcp): bundle MCP b95eb31 with the LibreNMS 26.11 VLAN and rule fixes

The bundled network tools move to MCP's merge of mcp#156: FDB VLAN
numbers on 26.11 and older servers, and alert-rule warnings for the 26.11
removed columns. Checked locally on win-x64: all 51 bundle, parity and
generation tests pass against the published executable.

Refs #587

* docs(search): describe Connected to's neighbours and fallback, and refresh the screenshot

Refs #57

* fix(search): Ctrl+F filters lists, searches can be replaced, filters survive paging

From CodeRabbit:
- Ctrl/Cmd+F goes to Filter this page while a list is showing.
- A new search replaces a running one.
- Unticked filter values are kept across pages until a new query.
- A MAC format change keeps loaded neighbours, and cancelling settles a
  pending neighbour lookup.
- The incomplete-results warning wraps.
- F5 repeats the search and Ctrl+L clears its filters.
- The rule editor's save message no longer names 26.10.

Refs #57

* test(device-details): assert the MAC table rows announce their new VLANs

Refs #587

* fix(search): a neighbour lookup settles only the endpoint showing its device

A cancelled older lookup no longer marks a newer search's endpoint, a
failure after a MAC format change marks the endpoint now on screen, and
the MAC fallback says when neighbours were cancelled or couldn't be read
rather than claiming none were discovered.

Refs #57
Assets 2
Loading