manila/devstack
Igor Malinovskiy 31a1be5c2a Make extra spec driver_handles_share_servers required
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
2015-03-06 13:19:14 +02:00
..
README.rst Add devstack plugin 2015-02-20 19:57:21 +02:00
plugin.sh Make extra spec driver_handles_share_servers required 2015-03-06 13:19:14 +02:00
settings Add devstack plugin 2015-02-20 19:57:21 +02:00

README.rst

Enabling in Devstack

  1. Download DevStack

  2. Add this repo as an external repository:

    > cat local.conf
    [[local|localrc]]
    enable_plugin manila https://github.com/openstack/manila
  3. run stack.sh