Skip to content

[202012][everflow][m0] Backport m0 support for everflow test#7985

Merged
yaqiangz merged 4 commits intosonic-net:202012from
yaqiangz:azure-202012_bgp_acl_m0
Apr 10, 2023
Merged

[202012][everflow][m0] Backport m0 support for everflow test#7985
yaqiangz merged 4 commits intosonic-net:202012from
yaqiangz:azure-202012_bgp_acl_m0

Conversation

@yaqiangz
Copy link
Copy Markdown
Contributor

@yaqiangz yaqiangz commented Apr 9, 2023

Description of PR

Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

Manually cherry-pick and resolve conflicts of adding support for m0 to simulate both t0 and t1 in everflow and bgp test.
#7389
#7618
#6900

How did you do it?

How did you verify/test it?

Run everflow and bgp test on m0/t0/t1 testbeds, no errors.

Any platform specific information?

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

Documentation

yaqiangz and others added 4 commits April 9, 2023 09:18
…low setup_info (sonic-net#6900)

What is the motivation for this PR?
Add m0 support for everflow and refactor everflow setup_info
… t1 (sonic-net#7618)

What is the motivation for this PR?
In current everflow test for m0, just simulate scenario that m0 device performs like t1. But m0 is like both t1 and t0.

How did you do it?
Add support for m0 in everflow test to simulate both t0 and t1 scenario

How did you verify/test it?
Run tests on m0 topo and t0 topo

 Signed-off-by: Yaqiang Zhu <yaqiangzhu@microsoft.com>
What is the motivation for this PR?
In previous code, if the namespace of the portchannel is an empty string, DEFAULT_NAMESPACE set to conn["namespace"] will be overwrite by code below it. In M0 senario, if mx and m1 interfaces are selected, both conns are set to DEFAULT_NAMESPACE(Line 393), and then conn of M1 interface's namespace is overwrite to empty string in Line 398. Different namespace will lead test_bgp_update_timer failed.

How did you do it?
Verify portchannel namespace too.

How did you verify/test it?
Run test

Signed-off-by: Yaqiang Zhu <yaqiangzhu@microsoft.com>
@yaqiangz yaqiangz requested a review from Blueve April 9, 2023 09:30
@yaqiangz yaqiangz changed the title [202012][bgp][everflow][m0] Backport m0 support for bgp and everflow test [202012][everflow][m0] Backport m0 support for everflow test Apr 9, 2023
@yaqiangz yaqiangz merged commit 12600df into sonic-net:202012 Apr 10, 2023
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