ironcore-dev / ironcore-dev/sonic-operator
Enhance switch agent to reboot into ONIE install mode
Open
area/switch-automation
enhancement
good first issue
triage/accepted
- Dominant language
- Go
- Stars
- 4
- Forks
- 155
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 8
Description
Summary
Enhance the switch agent so it can trigger a switch reboot into ONIE install mode, allowing the device to re-enter the ONIE installer discovery flow and reinstall SONiC.
Basic example
Proposed high-level flow:
- Agent configures the grub-entry to enter into the install mode.
- Agent reboots the switch.
- After reboot, ONIE starts in install mode, enters installer discovery, and attempts to locate and run a SONiC installer via DHCPv6.
Motivation
Today the agent can manage switch state while SONiC is running, but it cannot trigger a full reprovisioning workflow through ONIE.
We need this capability to support cases where a switch must be reinstalled remotely without manual console access.
Contributor guide
No contributing guide indexed for this repository
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.
Assessment
This issue has not been assessed yet.