Open taspelund opened 3 days ago
The command currently sorts qsfp ports lexicographically, which is not intuitive for an operator looking to parse the output visually:
✕ treyaspelund@Tallon-IV 12:30:42 PM | ~/Downloads ‣ ./oxide --profile colo-admin system hardware switch-port show-status switch0 ======= Port Configured Enabled MAC Autoneg FEC Link/FSM State Media Speed qsfp0 true true a8:40:25:05:15:23 false RS up/LinkUp Optical Speed100G qsfp1 true true a8:40:25:05:15:27 false None up/LinkUp Optical Speed100G qsfp10 false - - - - - - - qsfp11 false - - - - - - - qsfp12 false - - - - - - - qsfp13 false - - - - - - - qsfp14 false - - - - - - - qsfp15 false - - - - - - - qsfp16 false - - - - - - - qsfp17 false - - - - - - - qsfp18 false - - - - - - - qsfp19 false - - - - - - - qsfp2 false - - - - - - - qsfp20 false - - - - - - - qsfp21 false - - - - - - - qsfp22 false - - - - - - - qsfp23 false - - - - - - - qsfp24 false - - - - - - - qsfp25 false - - - - - - - qsfp26 false - - - - - - - qsfp27 false - - - - - - - qsfp28 false - - - - - - - qsfp29 false - - - - - - - qsfp3 false - - - - - - - qsfp30 false - - - - - - - qsfp31 false - - - - - - - qsfp4 false - - - - - - - qsfp5 false - - - - - - - qsfp6 false - - - - - - - qsfp7 false - - - - - - - qsfp8 true true a8:40:25:05:15:43 false RS up/LinkUp Optical Speed100G qsfp9 false - - - - - - - [snip]
Ideally this would be sorted naturally, e.g. so that the order begins with qsfp0, qsfp1, qsfp2... and ends with qsfp31.
qsfp0
qsfp1
qsfp2
qsfp31
The command currently sorts qsfp ports lexicographically, which is not intuitive for an operator looking to parse the output visually:
Ideally this would be sorted naturally, e.g. so that the order begins with
qsfp0
,qsfp1
,qsfp2
... and ends withqsfp31
.