Create hook to intersect node not found error

Registered by Dmitry Tantsur

New hook will allow plugins to act, when Inspector can't find a node in cache during ramdisk data processing. Possible use cases include discovering new nodes with help of some CMDB. Note that there is no plans to include such plugins in Inspector - only possibility to create them.

New hook will use namespace ironic_inspector.hooks.node_not_found and require signature:

 def node_not_found_hook(node_info) -> cached_node or None

so it's expected to create a missing node in cache. if it returns None, not found error is raised.

Blueprint information

Status:
Complete
Approver:
Dmitry Tantsur
Priority:
Low
Drafter:
Dmitry Tantsur
Direction:
Approved
Assignee:
Sam Betts
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon 2.0.0
Started by
Dmitry Tantsur
Completed by
Dmitry Tantsur

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.