Skip to content

oxide system hardware switch list returns empty list #6394

@elaine-oxide

Description

@elaine-oxide

I am running a4x2 with the following combination of commits:

  • omicron 6dd980251a26430466bcd5aff1edad5416cf94e5
  • maghemite 242e67e1e6b363b9bae04c90920fb8f43ac0a51d
  • oxnet 7dacd265f1bcd0f8b47bd4805250c4f0812da206

I am using the version of the Oxide CLI from oxidecomputer/oxide.rs#795, with commit 6fbbd5568289e95432ed7adfb6808c3d3cd0e3f0:

$ oxide version
Oxide CLI 0.6.1+20240710.0
Built from commit: 6fbbd5568289e95432ed7adfb6808c3d3cd0e3f0 
Oxide API: 20240821.0

I ran the following command, and I was hoping to see values like switch0 and switch1, but I instead got an empty list.

$ oxide system hardware switch list
[]

I ran this command, but I don't understand the difference between switch_location and switch, and whether switch_location should appear in the output of the above command.

$ oxide system hardware switch-port list
[
  {
    "id": "<omitted>3761",
    "port_name": "qsfp1",
    "rack_id": "51becb40-1818-4ea0-b278-2af26bc8bbe4",
    "switch_location": "switch0"
  }, {
    "id": "<omitted>a494",
    "port_name": "qsfp0",
    "port_settings_id": "<omitted>6760",
    "rack_id": "51becb40-1818-4ea0-b278-2af26bc8bbe4",
    "switch_location": "switch0"
  }, {
    "id": "<omitted>f319",
    "port_name": "qsfp0",
    "port_settings_id": "<omitted>1775",
    "rack_id": "51becb40-1818-4ea0-b278-2af26bc8bbe4",
    "switch_location": "switch1"
  }, {
    "id": "<omitted>a6e1",
    "port_name": "qsfp1",
    "rack_id": "51becb40-1818-4ea0-b278-2af26bc8bbe4",
    "switch_location": "switch1"
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiRelated to the API.networkingRelated to the networking.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions