2 from ceph_volume
.util
import arg_validators
4 def create_parser(prog
, description
):
6 Both prepare and create share the same parser, those are defined here to
9 parser
= argparse
.ArgumentParser(
11 formatter_class
=argparse
.RawDescriptionHelpFormatter
,
12 description
=description
,
17 type=arg_validators
.ValidDevice(as_string
=True),
18 help='a raw device to use for the OSD',
23 help='Use BlueStore backend')
25 '--crush-device-class',
26 dest
='crush_device_class',
27 help='Crush device class to assign this OSD to',
32 help='Do not use a tmpfs mount for OSD data dir'
37 help='Path to bluestore block.db block device'
42 help='Path to bluestore block.wal block device'
47 help='Enable device encryption via dm-crypt',