Skip to content

Enhance switch agent to reboot into ONIE install mode #98

@hardikdr

Description

@hardikdr

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.

Metadata

Metadata

Assignees

Labels

area/switch-automationAutomation processes for network switch management and operations.enhancementNew feature or requestgood first issueGood for newcomers

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions