Support for Cisco NX-OS PowerOn Auto Provisioning (POAP)
Cisco Nexus switches support a bootstrap method to upgrade software images called PowerOn Auto Provisioning (POAP). Our goal is to add support for POAP provisioning for switches running NX-OS using DHCP and TFTP via Foreman.
Some patches are being prepared, in order to send a pull request. Besides Foreman server, a patch is also required on the DHCP and TFTP smart proxies, since POAP requires different DHCP options sent to the client switches.
POAP is described in some Cisco manuals:
This is being tested with Cisco Nexus 6000 series switches running NX-OS 7.x, but it should also work with other families, such as the Nexus 7000 and 9000 series.
Updated by Fernando Carolo over 8 years ago
Some updates, based on the results of my internal tests so far. These issues and quirks will reflected in
the final pull request, so I'm writing them down here:
- A new OperatingSystem family was added to handle NX-OS, mainly because the necessary scripts and DHCP options are very different from the other operating systems. I used the same solution that handles different DHCP options for Solaris and Junos.
- A new template type was also added for POAP, to help differentiate it from other provisioning tools.
- A dummy partition table template was added to keep things a little organized, since this seems to be a requirement. The switches never retrieve and never use them, however.
- Still thinking about ways to handle versions numbers, since the standard major/minor numbers from Foreman are not enough for Cisco releases.