Open elaine-oxide opened 1 month ago
I also tried this invalid command, where I specified a valid rack id, but I specified an invalid port name (I changed qsfp0
in the above valid command to qsfp2
in the below invalid command, where qsfp2
doesn't exist on my system).
$ oxide system networking bgp auth --rack 51becb40-1818-4ea0-b278-2af26bc8bbe4 --switch switch1 --port qsfp2 --peer <IPv4 address> --authstring <password>
port qsfp2 not found for rack switch1 switch 51becb40-1818-4ea0-b278-2af26bc8bbe4
The error message as is also implies that the id shown belongs to rack switch1 switch
.
I am running a4x2 with the following combination of commits:
6dd980251a26430466bcd5aff1edad5416cf94e5
242e67e1e6b363b9bae04c90920fb8f43ac0a51d
7dacd265f1bcd0f8b47bd4805250c4f0812da206
I am using the version of the Oxide CLI from https://github.com/oxidecomputer/oxide.rs/pull/795, with commit
6fbbd5568289e95432ed7adfb6808c3d3cd0e3f0
:This is a valid command under the above version of the Oxide CLI:
I tried using an invalid rack id, where I used the above rack id, but I changed the last character to a different value (this other value doesn't actually exist, because there is only one rack, which has the rack id used above).
The above error message could instead indicate that the provided rack id is invalid, as that would be more accurate than indicating that
port qsfp0 not found
, and would allow the user to identify the actual issue better.Also, the error message as is implies that the id shown belongs to
rack switch1 switch
.