summaryrefslogtreecommitdiff
path: root/ironic_python_agent/cmd
diff options
context:
space:
mode:
authorRussell Haering <russellhaering@gmail.com>2014-06-04 10:44:25 -0700
committerRussell Haering <russellhaering@gmail.com>2014-06-06 10:27:53 -0700
commitdff46583d354ced83a056d404abc70fd3ac92de3 (patch)
tree07c67a0e2dfe910e157d4d92ccbbec2958dade77 /ironic_python_agent/cmd
parent8fd76c877bdfc6eb7c3bfd5e82b710bed4a1d687 (diff)
downloadironic-python-agent-dff46583d354ced83a056d404abc70fd3ac92de3.tar.gz
Add a HardwareManager method to erase devices
Add erase_devices method to the HardwareManager class. By default this method iterates block devices, and calls a new abstract erase_block_device method for each device. This patch includes a simple implementation of erase_block_device on the GenericHardwareManager which attempts to issue an ATA secure erase on supported devices. Change-Id: I81da065395b8785f636f1b0a0d60c9f1c045441e
Diffstat (limited to 'ironic_python_agent/cmd')
0 files changed, 0 insertions, 0 deletions