Skip to content

Add switches tab to inventory page #2556

Open

Description

@david-crespo

Some design in #1451 but it's just a table with columns for whatever is on the switch response.

https://docs.oxide.computer/api/switch_list

export type Switch = {
baseboard: Baseboard
/** unique, immutable, system-controlled identifier for each resource */
id: string
/** The rack to which this Switch is currently attached */
rackId: string
/** timestamp when this resource was created */
timeCreated: Date
/** timestamp when this resource was last modified */
timeModified: Date
}

/**
* Properties that uniquely identify an Oxide hardware component
*/
export type Baseboard = { part: string; revision: number; serial: string }

Activity

  1. added this to the 13 milestone on Dec 12, 2024
  2. self-assigned this
    on Dec 13, 2024
  3. modified the milestones: 13, 12 on Dec 13, 2024
  4. charliepark commented on Dec 14, 2024

    @charliepark
    Contributor

    This had to get taken back out in c1ebd8d9, as the DB for switches is empty. So at some point down the line, we'll need to revisit this.

  5. removed this from the 12 milestone on Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions