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

[show][techsupport][multi-ASIC] Add support to collect tech support on multi ASIC platform #1308

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

smaheshm
Copy link
Contributor

  • What I did
    Add support to collect tech support on multi ASIC platform

Refactored code to put together related commands in a function.

  • How I did it
    Modified generate_dump script to run relevant commands on all namespaces for multi ASIC platform. On single ASIC the commands are run in default (host) namesapce.

  • How to verify it

Manual verification, and pytest.

admin@svcstr-n3164-acs-1:/var/dump/sonic_dump_svcstr-n3164-acs-1_20201212_000455/dump$ ls *0
APPL_DB.json.0         broadcom.ps0                   ip.bgp.neighbor.fc00::2.rcv0    ipv6.bgp.neighbor.fc00::6.rcv0
ASIC_DB.json.0         broadcom.soc0                  ip.bgp.neighbor.fc00::6.adv0    nat.config.0
bgp.ipv6.neighbors.0   broadcom.version0              ip.bgp.neighbor.fc00::6.rcv0    nat.conntrack.0
bgp.ipv6.summary.0     COUNTERS_DB.json.0             ip.link.0                       nat.conntrackall.0
bgp.ipv6.table.0       ip.addr.0                      ip.neigh.0                      nat.conntrackallcount.0
bgp.neighbors.0        ip.bgp.neighbor.10.0.0.1.adv0  ip.route.0                      nat.conntrackcount.0
bgp.summary.0          ip.bgp.neighbor.10.0.0.1.rcv0  ip.rule.0                       nat.iptables.0
bgp.table.0            ip.bgp.neighbor.10.0.0.5.adv0  ipv6.bgp.neighbor.fc00::2.adv0  saidump0
broadcom.nat.egress0   ip.bgp.neighbor.10.0.0.5.rcv0  ipv6.bgp.neighbor.fc00::2.rcv0
broadcom.nat.ingress0  ip.bgp.neighbor.fc00::2.adv0   ipv6.bgp.neighbor.fc00::6.adv0
admin@svcstr-n3164-acs-1:/var/dump/sonic_dump_svcstr-n3164-acs-1_20201212_000455/dump$ ls *1
APPL_DB.json.1         broadcom.ps1                    ip.bgp.neighbor.fc00::a.rcv1    ipv6.bgp.neighbor.fc00::e.rcv1
ASIC_DB.json.1         broadcom.soc1                   ip.bgp.neighbor.fc00::e.adv1    nat.config.1
bgp.ipv6.neighbors.1   broadcom.version1               ip.bgp.neighbor.fc00::e.rcv1    nat.conntrack.1
bgp.ipv6.summary.1     COUNTERS_DB.json.1              ip.link.1                       nat.conntrackall.1
bgp.ipv6.table.1       ip.addr.1                       ip.neigh.1                      nat.conntrackallcount.1
bgp.neighbors.1        ip.bgp.neighbor.10.0.0.13.adv1  ip.route.1                      nat.conntrackcount.1
bgp.summary.1          ip.bgp.neighbor.10.0.0.13.rcv1  ip.rule.1                       nat.iptables.1
bgp.table.1            ip.bgp.neighbor.10.0.0.9.adv1   ipv6.bgp.neighbor.fc00::a.adv1  saidump1
broadcom.nat.egress1   ip.bgp.neighbor.10.0.0.9.rcv1   ipv6.bgp.neighbor.fc00::a.rcv1
broadcom.nat.ingress1  ip.bgp.neighbor.fc00::a.adv1    ipv6.bgp.neighbor.fc00::e.adv1

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@smaheshm smaheshm changed the title Add support to collect tech support on multi ASIC platform [show][techsupport][multi-ASIC] Add support to collect tech support on multi ASIC platform Dec 14, 2020
@smaheshm smaheshm requested a review from abdosi December 14, 2020 19:46
@abdosi abdosi merged commit 057d2ee into sonic-net:201911 Dec 14, 2020
@smaheshm smaheshm deleted the tech-supp2 branch February 26, 2021 22:33
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
Revert "[portsorch] Enable port-level buffer drop counters (sonic-net#1237)"
(sonic-net#1308) Add more log message, fix test code (sonic-net#1239)
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
b909766aab63da5e9a51e05fd2bf79e80db75e5 (HEAD -> 201911, origin/201911) Fix show ip/v6 route summary non-multi-asic platform to interact with FRR directly (sonic-net#1306)
057d2ee Add support to collect tech support on multi ASIC platform (sonic-net#1308)
38ab16d [CLI][PFCWD] Fix issue with specifying ports in pfcwd start on masic platforms (sonic-net#1203)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants