Skip to content

Commit

Permalink
Update portstat.py
Browse files Browse the repository at this point in the history
  • Loading branch information
abdosi authored Jan 3, 2025
1 parent 352ddc1 commit 28aa014
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utilities_common/portstat.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,9 @@ def cnstat_print(self, cnstat_dict, ratestat_dict, intf_list, use_json, print_al
print(table_as_json(table, header))
else:
print(tabulate(table, header, tablefmt='simple', stralign='right'))
if (multi_asic.is_multi_asic() or device_info.is_chassis()) and not use_json:
if device_info.is_voq_chassis():
return
elif (multi_asic.is_multi_asic() or device_info.is_packet_chassis()) and not use_json:
print("\nReminder: Please execute 'show interface counters -d all' to include internal links\n")

def cnstat_intf_diff_print(self, cnstat_new_dict, cnstat_old_dict, intf_list):
Expand Down

0 comments on commit 28aa014

Please sign in to comment.