Introduce abstract interface model in volume drivers
Instead of using a lose interface definition of volumes drivers use the ABC
python library to build abstract classes that enforces the driver to implement
the needed functionality. Goal is to fail fast and not using exceptions during
runtime if the driver is not using the correct interface.
Blueprint information
- Status:
- Complete
- Approver:
- Mike Perez
- Priority:
- Medium
- Drafter:
- Marc Koderer
- Direction:
- Approved
- Assignee:
- Marc Koderer
- Definition:
- Approved
- Series goal:
- Accepted for kilo
- Implementation:
- Implemented
- Milestone target:
- 2015.1.0
- Started by
- Marc Koderer
- Completed by
- Marc Koderer
Related branches
Related bugs
Sprints
Whiteboard
As discussed in the Cinder meeting, we'll be merging this change first thing in k-2. http://
Gerrit topic: https:/
Addressed by: https:/
Add spec for bp/abc-
Addressed by: https:/
Split volume driver into ABC classes
Addressed by: https:/
Port rbd driver to use new driver model
Addressed by: https:/
Adapt volume manager to new driver structure
Addressed by: https:/
Create proxy volume driver
Addressed by: https:/
Port block_device driver to use new driver model
Addressed by: https:/
Port remote_fs driver to use new driver model