0f7f413c6b
Drivers can now report the configuration options that are relevant for them with the `get_driver_options` method, but most of them are just reporting their unique options and not the ones they share with other drivers (ie: `san_ip`, `san_login`, `san_password`). This patch adds additional options to SanDriver drivers so they return a more meaningful list of options. To help with this it adds a helper method called `_get_oslo_driver_opts` which can return a list of oslo options from names. This includes very common options such as `max_over_subscription_ratio`, `reserved_percentage`, and `replication_device`, but doesn't include the `volume_backend_name` configuration option, since that's common to ALL Cinder drivers. Change-Id: I0ba2bbf1b707f93081cad8fabcc8dafb7b7d67d2 |
||
---|---|---|
.. | ||
__init__.py | ||
synology_common.py | ||
synology_iscsi.py |