Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[masic] 'show interfaces counters' reminds to use '-d all' option to check for internal links #2466

Merged
merged 44 commits into from
Jan 6, 2023
Merged
Changes from 8 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
9213252
'show interfaces counters' on multi-asci platforms by default show ex…
wenyiz2021 Oct 31, 2022
0ac1563
Update cli.py
wenyiz2021 Oct 31, 2022
f45a60b
fix semgrep -- exit from process
wenyiz2021 Oct 31, 2022
f738b2f
remove masic_run_command_int_ext_and_alert
wenyiz2021 Nov 1, 2022
ee01dcb
add reminder
wenyiz2021 Nov 1, 2022
d175262
remove calling masic_run_command_int_ext_and_alert
wenyiz2021 Nov 1, 2022
d29c6da
Update __init__.py
wenyiz2021 Nov 3, 2022
0a5c728
remove spaces
wenyiz2021 Nov 3, 2022
9b8e8b2
change prints before output
wenyiz2021 Nov 8, 2022
6b8d639
Merge branch 'sonic-net:master' into show_int_counters
wenyiz2021 Nov 8, 2022
de68e95
unit tests
wenyiz2021 Nov 8, 2022
034f6e4
add line
wenyiz2021 Nov 8, 2022
063acb4
change unit test to run CLI
wenyiz2021 Nov 8, 2022
88442c5
add fixture setup_interf_counters_commands
wenyiz2021 Nov 8, 2022
58cc31a
Update portstat_test.py
wenyiz2021 Nov 8, 2022
74f3665
Update portstat_test.py
wenyiz2021 Nov 8, 2022
e472894
Delete conftest.py
wenyiz2021 Nov 8, 2022
ffc085e
Update portstat_test.py
wenyiz2021 Nov 8, 2022
e3a4efb
Revert "Delete conftest.py"
wenyiz2021 Nov 8, 2022
b8d1846
refine unit test
wenyiz2021 Nov 15, 2022
9d6cc99
add teardown
wenyiz2021 Nov 15, 2022
ffb3569
separate class TestShowIntCountersMasic
wenyiz2021 Nov 15, 2022
14a0438
Update conftest.py
wenyiz2021 Nov 16, 2022
f0c9b93
move print to end
wenyiz2021 Dec 1, 2022
8df1ebe
Update portstat_test.py
wenyiz2021 Dec 1, 2022
074dea8
Update portstat_test.py
wenyiz2021 Dec 2, 2022
b0d0209
reuse existing class
wenyiz2021 Dec 2, 2022
4568210
remove new class
wenyiz2021 Dec 2, 2022
480ce00
Update portstat_test.py
wenyiz2021 Dec 2, 2022
c0e2954
use new masic class
wenyiz2021 Dec 2, 2022
d7a9e72
Update portstat_test.py
wenyiz2021 Dec 2, 2022
1b47b34
Update portstat_test.py
wenyiz2021 Dec 2, 2022
062c16e
Update portstat_test.py
wenyiz2021 Dec 2, 2022
c63dde3
Update portstat_test.py
wenyiz2021 Dec 2, 2022
9a0c2cf
Update portstat_test.py
wenyiz2021 Dec 3, 2022
4d126ef
delete change in show/interfaces/__init__.py
wenyiz2021 Jan 6, 2023
87b35de
remove line
wenyiz2021 Jan 6, 2023
54d0f62
Update portstat
wenyiz2021 Jan 6, 2023
9657a06
Update portstat_test.py
wenyiz2021 Jan 6, 2023
20635d7
add empty lines
wenyiz2021 Jan 6, 2023
492b0ed
remove outdated line
wenyiz2021 Jan 6, 2023
ef188f9
add print for -p option too
wenyiz2021 Jan 6, 2023
aeb925a
Update portstat_test.py
wenyiz2021 Jan 6, 2023
c56017c
syntax fix
wenyiz2021 Jan 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions show/interfaces/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,8 @@ def counters(ctx, verbose, period, interface, printall, namespace, display):
cmd += " -n {}".format(namespace)

clicommon.run_command(cmd, display_cmd=verbose)
if multi_asic.is_multi_asic():
click.echo("\n\nReminder: Please execute 'show interface counters -d all' to include internal links\n\n")

# 'errors' subcommand ("show interfaces counters errors")
@counters.command()
Expand Down