suzieq icon indicating copy to clipboard operation
suzieq copied to clipboard

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

Open gioccher opened this issue 11 months ago • 0 comments

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

gioccher avatar Nov 12 '24 00:11 gioccher