Skip to content

[Vrf] test_show_bgp_summary update#2593

Merged
yxieca merged 2 commits intosonic-net:masterfrom
AndriiLozovyi:test_show_bgp_summary_update
Nov 30, 2020
Merged

[Vrf] test_show_bgp_summary update#2593
yxieca merged 2 commits intosonic-net:masterfrom
AndriiLozovyi:test_show_bgp_summary_update

Conversation

@AndriiLozovyi
Copy link
Copy Markdown
Contributor

Signed-off-by: Andrii-Yosafat Lozovyi [email protected]

Description of PR

Summary:
Test verify that bgp peers for each Vrf have value 'prefixReceivedCount' equal to 6400. But the problem is that output of command vtysh -c 'show bgp vrf Vrf1 summary json' is mixing ipv4 and ipv6 neighbors under 'ipv4Unicast' key, this is happening because ipv4 is default for all bgp peering's. FRRouting-7464

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

What is the motivation for this PR?

Make Vrf test_show_bgp_summary PASSED

How did you do it?

I've changed the way peers is being compared, and if there are ipv6 peers under 'ipv4Unicast' key they are skipped.
And only ipv6 peers under 'ipv6Unicast' is being verified.

How did you verify/test it?

Run Vrf TC on t0 topo

Any platform specific information?

SONiC Software Version: SONiC.master.35-dirty-20201112.031542
Distribution: Debian 10.6
Kernel: 4.19.0-9-2-amd64
Build commit: 6c362a0
Build date: Thu Nov 12 11:49:55 UTC 2020
Platform: x86_64-accton_wedge100bf_32x-r0
HwSKU: montara
ASIC: barefoot

Supported testbed topology if it's a new test case?

Documentation

Signed-off-by: Andrii-Yosafat Lozovyi <[email protected]>
@NazarTkachuk
Copy link
Copy Markdown
Contributor

retest vsimage please

@NazarTkachuk
Copy link
Copy Markdown
Contributor

Pls review @wangxin @yxieca

@yxieca yxieca merged commit f69059e into sonic-net:master Nov 30, 2020
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…lly (sonic-net#17094)

src/sonic-swss

* 01bf3b19 - (HEAD -> 202205, origin/202205) [muxorch] Fixing updateRoute logic (sonic-net#2950) (5 hours ago) [Nikola Dancejic]
* 1e264e01 - Handle Mac address 'none' (sonic-net#2593) (9 hours ago) [Prince Sunny]
* dc0e29b4 - [202205][teamd]: Clean teamd process if LAG creation fails (sonic-net#2888) (sonic-net#2932) (4 days ago) [Lawrence Lee]
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.

4 participants