oxidecomputer / oxidecomputer/omicron

Having a rack indicator in the switch console would be helpful

Open
#5,719 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
572
Forks
97
Avg merge
2d 12h
Merged PRs (30d)
96

Description

I was working on 3 different racks this morning. Every switch0 prompt was root@oxz_switch0 which almost caused disasters a few times. It would be good to:

  1. Provide a way for a human to name a rack with a name that is useful for other humans (read: not a uuid)
  2. Have that name show up in the switch prompts.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the switch console and the code that constructs switch prompts. Trace how rack identity is currently obtained and where a human-readable rack name could be stored and exposed. Done means a rack can be given a human-readable name and that name appears in the corresponding switch prompt, with tests covering both behaviors.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.