New boot driver interface

Registered by Lucas Alvares Gomes

The "deploy" driver interface is responsible for two things in Ironic right now: Booting and provisioning the node, these are separated functions and therefor should be abstracted separately to make drivers more flexible and avoid code duplication.

This blueprint is proposing splitting the boot part of the deploy interface into its own interface, a "boot" interface.

Example of boot methods:
- PXE
- OOB Virtual Media

Example of deploy methods:
- iSCSI
- IPA

Let's disucss here: https://etherpad.openstack.org/p/new-boot-interface

Blueprint information

Status:
Complete
Approver:
aeva black
Priority:
Medium
Drafter:
Lucas Alvares Gomes
Direction:
Approved
Assignee:
Ramakrishnan G (rameshg87)
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon 4.2.0
Started by
Jim Rollenhagen
Completed by
aeva black

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/new-boot-interface,n,z

Addressed by: https://review.openstack.org/127212
    Add the base BootInterface class

Addressed by: https://review.openstack.org/127213
    Port PXE drivers to use the new boot interface

Merged spec is here: https://review.openstack.org/#/c/168698/

Addressed by: https://review.openstack.org/166512
    Add boot interface in Ironic

Addressed by: https://review.openstack.org/166513
    Refactor pxe as a boot interface

Addressed by: https://review.openstack.org/166521
    Refactor agent driver with pxe boot interface

Addressed by: https://review.openstack.org/191822
    OneView Driver for Ironic

Addressed by: https://review.openstack.org/216538
    Refactor iscsi_ilo driver to use new boot interface

Addressed by: https://review.openstack.org/217102
    Refactor agent_ilo driver to use new boot interface

Addressed by: https://review.openstack.org/221371
    Refactor IRMCVirtualMediaIscsiDeploy by applying new BootInterface

Addressed by: https://review.openstack.org/221577
    Refactor IRMCVirtualMediaAgentDeploy by applying new BootInterface

---------------

Due to time constraints to review the code, the iLO and iRMC updates couldn't make it into Liberty and should be prioritized in Mitaka.
-- Devananda 2015-09-25

Addressed by: https://review.openstack.org/229274
    Refactor iscsi_ilo driver to use new boot interface

Addressed by: https://review.openstack.org/229284
    Refactor iscsi_ilo driver to use new boot interface

Addressed by: https://review.openstack.org/233692
    Add get_network_info method to DHCP API

Addressed by: https://review.openstack.org/233694
    Support DHCP-less deploy in iLO virtual media drivers

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.