Yet another function that has outstayed its welcome. This one had to handle random object types that may have had a 'numa_topology' field or key, which, if present, contained an instance NUMA topology in either string, dict or object form. This was only called in two places, both of which don't need this complexity as described below, meaning we can remove this function. nova/objects/request_spec.py The 'from_components' static method and '_from_instance' helper function were both using this, by way of a call to '_from_instance_numa_topology'. However, the former always receives an actual 'NUMATopology' object, while the latter always receives an instance, albeit possibly in serialized form. We add a check to handle the serialized form and we're done. Change-Id: I5ded32a1cd33ab5b64ffa73fcfeb76683eb97df7 Signed-off-by: Stephen Finucane <sfinucan@redhat.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: