Make share_types require a driver mode
Currently the driver_
The share-type-create command should have an additional required argument which specifies whether the extra spec is true or false after share type creation.
It should not be possible to remove that extra spec.
Modifying the extra spec is allowed as long as the value remains either true or false.
The share-type-list API should be modified to report the value of the driver_
The API should also include a flag indicating which share_type is the default.
Manila should refuse to start if no default_share_type is specified. If the default share type is defined but does not exist, share creation with not share type should fail. Devstack should automatically create a share type and set the name to match the default in the config file.
Blueprint information
- Status:
- Complete
- Approver:
- Ben Swartzlander
- Priority:
- High
- Drafter:
- Igor Malinovskiy
- Direction:
- Approved
- Assignee:
- Igor Malinovskiy
- Definition:
- Approved
- Series goal:
- Accepted for kilo
- Implementation:
- Implemented
- Milestone target:
- 2015.1.0
- Started by
- Ben Swartzlander
- Completed by
- Ben Swartzlander
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add required extra spec driver_
Work Items
Work items:
- Update share-type-create API method : TODO
- Update share-type-list API method : TODO
- Add default_share_type config option : DONE
- Add creation of default_share_type in devstack : DONE