The RestController._route method[1] contains a lot of logic which exists to support implementing CRUD APIs, none of which is required to server / and /v1. This change converts the RestController based root controller with a simple object based controller. This results in a shorter code path for every API request. The path / is handled by the index method, with the *args length check returning a 404 to be consistent with the previous behaviour of returning a 404 for a request like //v1 The _route method is replaced with a _lookup[2] method to handle paths which are missing the v1 prefix (and to curate the trailing slash from the path, which was been done by the RestController). [1] https://github.com/pecan/pecan/blob/master/pecan/rest.py#L103 Change-Id: Ia962f9bf53af12fb308e3d66eff114b302638714 Story: 1651346 Task: 10551
Ironic
Team and repository tags
Overview
Ironic consists of an API and plug-ins for managing and provisioning physical machines in a security-aware and fault-tolerant manner. It can be used with nova as a hypervisor driver, or standalone service using bifrost. By default, it will use PXE and IPMI to interact with bare metal machines. Ironic also supports vendor-specific plug-ins which may implement additional functionality.
Ironic is distributed under the terms of the Apache License, Version 2.0. The full terms and conditions of this license are detailed in the LICENSE file.
Project resources
- Documentation: https://docs.openstack.org/ironic/latest
- Source: https://opendev.org/openstack/ironic
- Bugs: https://storyboard.openstack.org/#!/project/943
- Wiki: https://wiki.openstack.org/wiki/Ironic
- APIs: https://docs.openstack.org/api-ref/baremetal/index.html
- Release Notes: https://docs.openstack.org/releasenotes/ironic/
- Design Specifications: https://specs.openstack.org/openstack/ironic-specs/
Project status, bugs, and requests for feature enhancements (RFEs) are tracked in StoryBoard: https://storyboard.openstack.org/#!/project/943
For information on how to contribute to ironic, see https://docs.openstack.org/ironic/latest/contributor