0370f5ac97
This change creates all necessary parts to processing inspection data: * New API /v1/continue_inspection Depending on the API version, either behaves like the inspector's API or (new version) adds the lookup functionality on top. The lookup process is migrated from ironic-inspector with minor changes. It takes MAC addresses, BMC addresses and (optionally) a node UUID and tries to find a single node in INSPECTWAIT state that satisfies all of these. Any failure results in HTTP 404. To make lookup faster, the resolved BMC addresses are cached in advance. * New RPC continue_inspection Essentially, checks the provision state again and delegates to the inspect interface. * New inspect interface call continue_inspection The base version does nothing. Since we don't yet have in-band inspection in Ironic proper, the only actual implementation is added to the existing "inspector" interface that works by doing a call to ironic-inspector. Story: #2010275 Task: #46208 Change-Id: Ia3f5bb9d1845d6b8fab30232a72b5a360a5a56d2 |
||
---|---|---|
.. | ||
source | ||
requirements.txt |