Skip to content

oxide hardware switch-port show-status should display port name for each row in Receiver Power #7146

Open
@taspelund

Description

@taspelund

Currently, oxide hardware switch-port show-status has a section for Receiver Power under each switch, but it doesn't list the port name for those rows.

✕ treyaspelund@Tallon-IV 12:30:42 PM | ~/Downloads
‣ ./oxide --profile colo-admin system hardware switch-port show-status
switch0
=======
[snip]

Receiver Power                                                               Transmitter Bias Current          Transmitter Power
[Average(1.3845), Average(1.2108), Average(1.1593), Average(1.0652)]         [47.88, 48.45, 47.88, 47.88]      [0.76060003, 0.6331, 0.86630005, 1.1315]
[Average(1.5959), Average(1.1918), Average(1.0427), Average(1.2492)]         [43.522, 43.276, 43.866, 43.658]  [1.51, 1.4474, 1.6165999, 1.8414]
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
-                                                                            -                                 -
[Average(1.2421), Average(0.9875001), Average(0.89040005), Average(1.0207)]  [47.88, 47.88, 47.88, 47.88]      [1.0199, 0.8388, 1.0103, 1.055]
-                                                                            -                                 -
[snip]

There needs to be a way to visually correlate each row back to a port name, e.g. by adding a Port Name column to this section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DebuggingFor when you want better data in debugging an issue (log messages, post mortem debugging, and more)bugSomething that isn't working.good first issueIssues that are good for learning the codebasenetworkingRelated to the networking.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions