ironcore-dev / ironcore-dev/sonic-operator

Enhance switch agent to reboot into ONIE install mode

Open
#98 4 comments 0 reactions 2 assignees View on GitHub

@hardikdr is already working on this.

Since Sep 16, 2026.

  • #177 by @hardikdr — 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:

  1. Agent configures the grub-entry to enter into the install mode.
  2. Agent reboots the switch.
  3. 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

  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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.