Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix port does not exist error test_bgp_queue (#15949)
Description of PR Summary: Fixes # (issue) 30457143 Currently this is using the old method of capturing queue counters: sudo ip netns exec asic1 show queue counters Ethernet128 This will throw an issue with some testbed and says Ethernet128 does not exists. (haven't had chance to confirm why) However since we have new support for -n sonic-net/sonic-utilities#2439 we should be using this instead Tested by running manual commands admin@str3-8800-lc4-1:~$ sudo ip netns exec asic1 show queue counters Ethernet128 Port doesn't exist! Ethernet128 admin@str3-8800-lc4-1:~$ show queue counters Ethernet128 -n asic1 For namespace asic1: Port TxQ Counter/pkts Counter/bytes Drop/pkts Drop/bytes ----------- ----- -------------- --------------- ----------- ------------ Ethernet128 UC0 0 0 0 0 ... Type of change Approach What is the motivation for this PR? How did you do it? Update the test to use new APIs that support -n How did you verify/test it? Manually run, needs to verify with available testbed. Signed-off-by: Austin Pham <[email protected]>
- Loading branch information