summaryrefslogtreecommitdiff
path: root/ironic_python_agent/hardware.py
diff options
context:
space:
mode:
Diffstat (limited to 'ironic_python_agent/hardware.py')
-rw-r--r--ironic_python_agent/hardware.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/ironic_python_agent/hardware.py b/ironic_python_agent/hardware.py
index 645d7219..cc75c5ce 100644
--- a/ironic_python_agent/hardware.py
+++ b/ironic_python_agent/hardware.py
@@ -1402,6 +1402,14 @@ class GenericHardwareManager(HardwareManager):
"""
burnin.stress_ng_cpu(node)
+ def burnin_disk(self, node, ports):
+ """Burn-in the disk
+
+ :param node: Ironic node object
+ :param ports: list of Ironic port objects
+ """
+ burnin.fio_disk(node)
+
def burnin_memory(self, node, ports):
"""Burn-in the memory
@@ -1891,6 +1899,13 @@ class GenericHardwareManager(HardwareManager):
'abortable': True
},
{
+ 'step': 'burnin_disk',
+ 'priority': 0,
+ 'interface': 'deploy',
+ 'reboot_requested': False,
+ 'abortable': True
+ },
+ {
'step': 'burnin_memory',
'priority': 0,
'interface': 'deploy',