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:
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.
The first time the switch boots the following steps happen:
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: