Skip to content

Add switches tab to inventory page #2556

@david-crespo

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 }

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