prep_drives | index /Users/karl/code/swift_management/prep_drives.py

`format devices
Formats a set of disks on a list of hosts
--prep: run swift drive prep before formatting the drives
--drive-file: file containing newline separated list of devices to format
hosts: list of hosts on which to format drives`

Modules
`` |  |
argparse | requests | sys | threading

Functions
`` |  | format_drives(args) `format drives takes a tuple containing three parameters, in the following order: host: host to format drive_file: file containing devices to format prep: run swift drive prep prior to formatting Drives are prepped sequentially but formatted in parallel.`