summaryrefslogtreecommitdiffstats
path: root/src/ceph-volume/ceph_volume/devices/lvm/common.py
diff options
context:
space:
mode:
authorAlfredo Deza <adeza@redhat.com>2017-10-10 18:30:06 +0200
committerAlfredo Deza <adeza@redhat.com>2017-10-18 18:46:28 +0200
commit63d2afbc605ac1531bc9f00a1891017bfd42fbce (patch)
tree4a3d5ce3ab1fed61055c77bd0de3111081711cc5 /src/ceph-volume/ceph_volume/devices/lvm/common.py
parentceph-volume lvm make bluestore the default option (diff)
downloadceph-63d2afbc605ac1531bc9f00a1891017bfd42fbce.tar.xz
ceph-63d2afbc605ac1531bc9f00a1891017bfd42fbce.zip
ceph-volume lvm add block CLI flags for bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Diffstat (limited to 'src/ceph-volume/ceph_volume/devices/lvm/common.py')
-rw-r--r--src/ceph-volume/ceph_volume/devices/lvm/common.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ceph-volume/ceph_volume/devices/lvm/common.py b/src/ceph-volume/ceph_volume/devices/lvm/common.py
index 9e4b537a306..862b746286b 100644
--- a/src/ceph-volume/ceph_volume/devices/lvm/common.py
+++ b/src/ceph-volume/ceph_volume/devices/lvm/common.py
@@ -48,6 +48,14 @@ def common_parser(prog, description):
'--osd-fsid',
help='Reuse an existing OSD fsid',
)
+ parser.add_argument(
+ '--block.db',
+ help='Path to bluestore block.db logical volume or device',
+ )
+ parser.add_argument(
+ '--block.wal',
+ help='Path to bluestore block.wal logical volume or device',
+ )
# Do not parse args, so that consumers can do something before the args get
# parsed triggering argparse behavior
return parser