@@ -2233,6 +2233,9 @@ def ns_list(self, args):
22332233 verbose_info = [cluster_name ]
22342234 lb_group += f" ({ configured_lb_group } )"
22352235 location = ns .location if ns .location else "<N/A>"
2236+ qos_str = f"{ self .get_qos_limit_str_value (ns .rw_mbytes_per_second )} \n " \
2237+ f"{ self .get_qos_limit_str_value (ns .r_mbytes_per_second )} \n " \
2238+ f"{ self .get_qos_limit_str_value (ns .w_mbytes_per_second )} "
22362239 namespaces_list .append ([subsys_nqn ,
22372240 ns .nsid ,
22382241 break_string (ns .bdev_name , "-" , 2 ),
@@ -2245,10 +2248,7 @@ def ns_list(self, args):
22452248 location ,
22462249 visibility ,
22472250 self .get_qos_limit_str_value (ns .rw_ios_per_second ),
2248- self .get_qos_limit_str_value (ns .rw_mbytes_per_second ),
2249- self .get_qos_limit_str_value (ns .r_mbytes_per_second ),
2250- self .get_qos_limit_str_value (
2251- ns .w_mbytes_per_second )] + verbose_info )
2251+ qos_str ] + verbose_info )
22522252
22532253 if len (namespaces_list ) > 0 :
22542254 if args .format == "text" :
@@ -2272,10 +2272,9 @@ def ns_list(self, args):
22722272 "Load\n Balancing\n Group" + configured_txt ,
22732273 "Location" ,
22742274 "Visibility" ,
2275- "R/W IOs\n per\n second" ,
2276- "R/W MBs\n per\n second" ,
2277- "Read MBs\n per\n second" ,
2278- "Write MBs\n per\n second" ] + verbose_headers ,
2275+ "IOs per\n second" ,
2276+ "R/W, R, W MBs\n "
2277+ "per second" ] + verbose_headers ,
22792278 tablefmt = table_format )
22802279 if args .nsid :
22812280 prefix = f"Namespace { args .nsid } in"
0 commit comments