diff --git a/control/cli.py b/control/cli.py index 1541000b..d4b580f2 100644 --- a/control/cli.py +++ b/control/cli.py @@ -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), @@ -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"],