Skip to content

[Feature]: Improve "No Peer Info" message for interface assert #969

@gioccher

Description

@gioccher

Suzieq version

0.22.0

Install Type

None

Feature type

no clue

Use case

Interface assert returns "No Peer Found" when suzieq doesn't have information about the detected peer, if that peer for example is not getting monitored by suzieq.
This can be slightly confusing since the peer was actually found (example: hostname=aaa001, ifname=Management1, state=up, peerHostname=bbb002, peerIfname=Gi1/0/27 detected that the peer is bbb002.Gi1/0/27).

Proposed functionality/solution

Change the error message to something like "No Peer Info Found"

External dependencies

No response

Additional Context

https://netenglabs.slack.com/archives/C015TD9DR8U/p1731362424086749

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions