Feature Request: Optical Transceiver / DDM Diagnostics view #547
Closed
Imamdienul
started this conversation in
General
Replies: 4 comments
|
Thank you for your FR. Please open a PR. Backend routers (e.g. /interfaces/ethernet/{if}/transceiver) live in /backend/routers/interfaces/ethernet.py Parsers maybe created in a seperate file within /backend. For this matter, please have a look at files like ipsec_status.py or monitoring_commands.py We'll put this in another structure later, but for now, just put it there. Make sure to follow Thank you for your contribution! We're looking forward to it. |
0 replies
|
Hey @Imamdienul Thanks again for your contribution. Do you have any progress on the PR? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi team, love what you're building with VyManager! 🙌
Would it be possible to add a page/panel showing SFP/SFP+ transceiver diagnostics (DDM) for ethernet interfaces? This is the CLI equivalent:
It returns useful info like:
This would be a great addition to the interface detail page — especially the alarm/warning flags, since those are early signs of a failing optic or a fiber problem before the link actually drops. A small badge/indicator (green/yellow/red) per interface row on the interfaces list would already be super helpful, with a full detail view when you click in.
I dug into the backend a bit — since
showop-mode commands are already used viapyvyos(e.g. for the config cache), this looks addable as a new endpoint (GET /vyos/ethernet/{interface}/transceiver) that parses the CLI output into JSON, plus a frontend panel that polls it every few seconds. Happy to help test this if someone starts on it, or point to what I found if it helps.Is this something that fits the roadmap? Would also be happy to open a PR if a maintainer can confirm the approach (parser location, whether it should live under
vyos_service.pyor a newvyos_parsers/module) before I start.All reactions