Skip to content

Commit

Permalink
Remove "RBD Pool" column fron "namespace list" output.
Browse files Browse the repository at this point in the history
Fixes #899.

Signed-off-by: Gil Bregman <[email protected]>
  • Loading branch information
gbregman committed Oct 14, 2024
1 parent 0442968 commit 787018f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions control/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1557,8 +1557,7 @@ def ns_list(self, args):

namespaces_list.append([ns.nsid,
break_string(ns.bdev_name, "-", 2),
ns.rbd_pool_name,
ns.rbd_image_name,
f"{ns.rbd_pool_name}/{ns.rbd_image_name}",
self.format_size(ns.rbd_image_size),
self.format_size(ns.block_size),
break_string(ns.uuid, "-", 3),
Expand All @@ -1575,7 +1574,7 @@ def ns_list(self, args):
else:
table_format = "plain"
namespaces_out = tabulate(namespaces_list,
headers = ["NSID", "Bdev\nName", "RBD\nPool", "RBD\nImage",
headers = ["NSID", "Bdev\nName", "RBD\nImage",
"Image\nSize", "Block\nSize", "UUID", "Load\nBalancing\nGroup", "Visibility",
"R/W IOs\nper\nsecond", "R/W MBs\nper\nsecond",
"Read MBs\nper\nsecond", "Write MBs\nper\nsecond"],
Expand Down

0 comments on commit 787018f

Please sign in to comment.