diff options
Diffstat (limited to 'ironic_python_agent/hardware.py')
| -rw-r--r-- | ironic_python_agent/hardware.py | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ironic_python_agent/hardware.py b/ironic_python_agent/hardware.py index 203245dd..5755b541 100644 --- a/ironic_python_agent/hardware.py +++ b/ironic_python_agent/hardware.py @@ -354,12 +354,14 @@ class HardwareManager(object): If multiple hardware managers return the same step name, the following logic will be used to determine which manager's step "wins": - - Keep the step that belongs to HardwareManager with highest - HardwareSupport (larger int) value. - - If equal support level, keep the step with the higher defined - priority (larger int). - - If equal support level and priority, keep the step associated - with the HardwareManager whose name comes earlier in the alphabet. + + * Keep the step that belongs to HardwareManager with highest + HardwareSupport (larger int) value. + * If equal support level, keep the step with the higher defined + priority (larger int). + * If equal support level and priority, keep the step associated + with the HardwareManager whose name comes earlier in the + alphabet. The steps will be called using `hardware.dispatch_to_managers` and handled by the best suited hardware manager. If you need a step to be |
