oxidecomputer / oxidecomputer/omicron
Having a rack indicator in the switch console would be helpful
Open
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:
- Provide a way for a human to name a rack with a name that is useful for other humans (read: not a uuid)
- Have that name show up in the switch prompts.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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