Overview

The Open Network Install Environment (ONIE) is a small operating system for bare metal network switches that provides an environment for automated provisioning.

ONIE locates and executes a network operating system (NOS) vendor’s installation program.

An ONIE-enabled system consists of:

  • An ONIE-capable hardware platform.
  • An ONIE-enabled boot loader.
  • An ONIE-capable Linux kernel.
  • The ONIE discovery and execution application.
  • An ONIE-capable operating system installer.

When an ONIE-enabled network switch boots for the first time, the boot loader launches the kernel, which starts the ONIE discovery and execution (ODE) application.

The ODE uses a number of methods (like local files, DHCP, IPv6 neighbors, mDNS/DNS-SD) to locate and download (via HTTP or TFTP) an operating system installer.

Once the installer is found, the ODE executes the installer, which then proceeds to provision the machine in an NOS-specific way.

Initial Boot

The first time the switch boots the following steps happen:

  1. The boot loader launches the default OS, which is the ONIE kernel.
  2. The ODE locates an NOS installer.
  3. The ODE executes the NOS installer.
  4. The NOS installer installs the operating system.
  5. The NOS installer marks the boot environment to boot straight into the NOS.
  6. The system reboots.

Subsequent Boots

On subsequent boots, the system boots straight into the installed NOS, bypassing the ONIE kernel and ODE application. The start up sequence for subsequent boots is:

  1. The boot loader launches the default OS, which is the NOS.
  2. The NOS boots and executes.