2016-11-07 16:50:29 |
Sam Betts |
description |
Problem Description
===================
Today we can automate provisioning baremetal servers using Ironic, however we
have not got the same level of automation for switch. This means that when new
switches are introduced into an environment we have to manually provide the day
zero configuration.
Proposal
========
Create a new Ironic driver to allow day zero configuration of Nexus switches.
Just as you need to provide a new bare metal machine with an image via PXE, when
you are first setting up a Nexus switch you must provide it with an image.
Nexus switches have a feature called Power On Auto Provisioning (POAP)[1] which
will allow the installation of images and configuration files onto the switch.
It works in a similar manner to PXE in Ironic where it will look for a boot
script from a TFTP server, upload that to the switch and then execute. Because
of these similarities hopefully some of the PXE driver logic can be leveraged.
The proposed driver should have the following features:
* Boot switch image
* Configure switch ssh access
* Set the admin password on the switch
* Configure Virtual Port Channels (VPC) on the switch
[1] http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5000/sw/fundamentals/513_n2_1/b_Cisco_Nexus_5000_Series_NX-OS_Fundamentals_Configuration_Guide_Release_513_N21/b_Cisco_Nexus_5000_Series_NX-OS_Fundamentals_Configuration_Guide_Release_5_1_3_N2_1_chapter_01001.html |
Problem Description
===================
Today we can automate provisioning baremetal servers using Ironic, however we
have not got the same level of automation for switch. This means that when new switches are introduced into an environment we have to manually provide the day zero configuration.
Proposal
========
Create a new Ironic driver to allow day zero configuration of Nexus switches.
Just as you need to provide a new bare metal machine with an image via PXE, when you are first setting up a Nexus switch you must provide it with an image.
Nexus switches have a feature called Power On Auto Provisioning (POAP)[1] which will allow the installation of images and configuration files onto the switch. It works in a similar manner to PXE in Ironic where it will look for a boot script from a TFTP server, upload that to the switch and then execute. Because of these similarities hopefully some of the PXE driver logic can be leveraged.
The proposed driver should have the following features:
* Boot switch image
* Configure switch ssh access
* Set the admin password on the switch
* Configure Virtual Port Channels (VPC) on the switch
[1] http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5000/sw/fundamentals/513_n2_1/b_Cisco_Nexus_5000_Series_NX-OS_Fundamentals_Configuration_Guide_Release_513_N21/b_Cisco_Nexus_5000_Series_NX-OS_Fundamentals_Configuration_Guide_Release_5_1_3_N2_1_chapter_01001.html |
|