Enable the ability to pass in volume attributes to SolidFire via extra-spec keys
There are a number of use cases where it's desireable to do things with volumes out of band (ie not under Cinders control). One example is external backups without the use of c-backup.
It would be pretty simple to signify these sorts of things from Cinder through the use of extra-specs keys. For example, we'll create a type 'daily-backup' with extra-specs 'SFAttribute:
These attributes are just metadata and can be used for anything. They don't effect Cinder's operation or change anything in how the volume behaves from Cinders perspective, but instead add additional information and signals for admins and automation outside of OpenStack/Cinder.
The only requirment is the use of a key delimiter, in this case `SFAttribute` which instructs the scheduler to ignore the associated key for scheduling, and also is used as a sentinal for the SF driver to determine what to store in attributes.
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- Low
- Drafter:
- John Griffith
- Direction:
- Approved
- Assignee:
- None
- Definition:
- New
- Series goal:
- Accepted for queens
- Implementation:
- Started
- Milestone target:
- queens-3
- Started by
- Jay Bryant
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
There a number of use cases where it's desirable to do things with volumes out of band (ie not under Cinders control). One example is external backups without the use of c-backup.