This improves the existing validation of flavor extra-specs and image properties in hardware.py in preparation for calling the validation from more places in a follow-on patch. get_cpu_topology_constraints() becomes public as we'll need to call it from the API code in the next patch in the series. If the CPU topology is not valid, raise an InvalidRequest exception with a useful error message instead of a ValueError message without any context. Add checks to ensure that the CPU and CPU thread policies are valid, and if not then raise newly-added exceptions with useful error messages. Tweak various docstrings to more accurately reflect what exceptions they might raise. Change-Id: I20854134c80b8f4598f375eae137fd2920114891 blueprint: flavor-extra-spec-image-property-validation Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
Team and repository tags
OpenStack Nova
OpenStack Nova provides a cloud computing fabric controller, supporting a wide variety of compute technologies, including: libvirt (KVM, Xen, LXC and more), Hyper-V, VMware, XenServer, OpenStack Ironic and PowerVM.
Use the following resources to learn more.
API
To learn how to use Nova's API, consult the documentation available online at:
For more information on OpenStack APIs, SDKs and CLIs in general, refer to:
Operators
To learn how to deploy and configure OpenStack Nova, consult the documentation available online at:
In the unfortunate event that bugs are discovered, they should be reported to the appropriate bug tracker. If you obtained the software from a 3rd party operating system vendor, it is often wise to use their own bug tracker for reporting problems. In all other cases use the master OpenStack bug tracker, available at:
Developers
For information on how to contribute to Nova, please see the contents of the CONTRIBUTING.rst.
Any new code must follow the development guidelines detailed in the HACKING.rst file, and pass all unit tests.
Further developer focused documentation is available at:
Other Information
During each Summit and Project Team Gathering, we agree on what the whole community wants to focus on for the upcoming release. The plans for nova can be found at: