Add a configuration option for the default resource class
If no resource class is provided in a creation request, the value of
the new ``default_resource_class`` configuration option is used.
While this feature is implemented on the API level, it's not a part of
the API contract, so it's not covered by a microversion. It's particularly
important, because it allows this change to apply even to requests
using an old API version, thus making these versions usable after
the mandatory switch to resource classes in nova.
Reviewed: https:/ /review. openstack. org/522873 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=265993316b5 3abac234600b4b5 16965b82270e16
Committed: https:/
Submitter: Zuul
Branch: master
commit 265993316b53aba c234600b4b51696 5b82270e16
Author: Dmitry Tantsur <email address hidden>
Date: Fri Nov 24 17:54:22 2017 +0100
Add a configuration option for the default resource class
If no resource class is provided in a creation request, the value of resource_ class`` configuration option is used.
the new ``default_
While this feature is implemented on the API level, it's not a part of
the API contract, so it's not covered by a microversion. It's particularly
important, because it allows this change to apply even to requests
using an old API version, thus making these versions usable after
the mandatory switch to resource classes in nova.
Change-Id: I58232d9c92d6ff ca49d334e5fb707 8bce19f1cb4
Closes-Bug: #1732190