Seamicro vendor passthru implementation
The goal of this blueprint is to implement the Seamicro vendor passthru functionality and validate code by adding unittests, functional tests (tempest) for Ironic. The Seamicro vendor passthru will confirm to the Ironic VendorInterface. The Seamicro vendor passthru functionality will use the python-
The Seamicro vendor passthru will be implementing 3 actions initially.
1) Allow to set a vlan id for the specified NIC of a server (node) in the Seamicro chassis.
set_node_
seamicrocl
node[
db_
2) Allow to create volumes from the specified Seamicro chassis storage pool and attach those volumes to any of the server (node) within that Seamicro chassis
attach_volume(node, volume_id):
seamicrocl
node[
db_
3) Allow to set boot device for the node, One of [pxe, disk].
set_boot_
seamicrocli
return
In the passthru method "set_node_vlan_id", the node object's "properties" will be updated with the "vlan_id" in the Ironic DB.
In the passthru method "attach_volume", the node object's "properties" will be updated with the "volume_id" in the Ironic DB.
The "vlan_id" and "volume_id" will need to be stored in node properties till the node is present in DB.
Once Ironic and SeaMicro has better cinder/neutron support, these passthru methods will be moved to neutron/cinder.
Blueprint information
- Status:
- Complete
- Approver:
- aeva black
- Priority:
- Low
- Drafter:
- None
- Direction:
- Approved
- Assignee:
- Rohan
- Definition:
- Approved
- Series goal:
- Accepted for icehouse
- Implementation:
-
Implemented
- Milestone target:
-
2014.1
- Started by
- Rohan
- Completed by
- aeva black
Related branches
Related bugs
Sprints
Whiteboard
Thanks for the clarifications! A little feedback -- please see drivers.
Also, regarding the attach_volume, this is great. There's similar work being done associated with this BP: https:/
1. user creates cinder volume
2. user requests volume be attached to an instance (or that an instance be started from volume)
3. cinder (or nova) forwards that request to ironic to attach the volume
4. ironic forwards that to the driver
Cheers,
-Devananda
Rohan:
Vendor passthru review : https:/
Gerrit topic: https:/
Addressed by: https:/
Implement the SeaMicro Power driver
Addressed by: https:/
Implements SeaMicro VendorPassThru functionality