31a1be5c2a
Currently the driver_handles_share_servers is an optional extra_spec on each share_type that allows the scheduler to filter. We want to make this a required extra spec, so that every share type has this value set to true or false. It's not be possible to remove that extra spec. Modifying the extra spec is allowed as long as the value remains either true or false. - Add validation checks to types_manage and types_extra_specs API controllers - Add required_extra_specs to data returned by API methods types_show() and types_index() - Add db migration, which adds required extra_spec to all existing share_types - Add get_required_extra_specs(), validate_required_extra_spec(), get_valid_required_extra_specs() methods to share_types module - Add appropriate unit tests Partially implements bp share-type-require-driver-mode Change-Id: I60a877b05a642ea2945b15248e885cf6f7f89aa0 |
||
---|---|---|
.. | ||
plugin.sh | ||
README.rst | ||
settings |
Enabling in Devstack
Download DevStack
Add this repo as an external repository:
> cat local.conf [[local|localrc]] enable_plugin manila https://github.com/openstack/manila
run
stack.sh