-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
add test plan for SONIC vrf feature #392 #409
Conversation
Signed-off-by: shine.chen <shine.chen@nephosinc.com>
Can you please add test cases for below features in VRF context:
|
At a higher level, the test coverage looks good to me. Consider adding few cases (routes, nexthops) to check CRM resources with VRF. You can check the values before and after config. Also suggest to combine test cases wherever possible instead of separate test cases for each scenario. Scalability can be given as a configurable option. |
@preetham-singh Thanks for your suggestion.
|
@prsunny agree, we can rerun some crm ansible test case in vrf environment. |
1. remove vrf attributes test 2. add loopback interface as bgp update-source test 3. modify bgp/acl redirect configuration
@prsunny @shine4chen Currently we do not add testcases about CRM with VRF. Since i dont think there is any particularly difference of CRM usage between global and VRF. If CRM ansible testcases passed (which means CRM works as normal without VRF), then it also means CRM works with VRF. |
@prsunny @shine4chen @lguohan Hi
It looks that this contradicts the current SONiC behaviour - RIFs' src mac do not So what behaviour for VRF/RIF src mac update is expected here by SONiC design? Thanks in advance |
… jumbogram (#5669) Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com> Description of PR Approach What is the motivation for this PR? vrf test sends packets of size 9k; need to increase packet socket recv size accordingly, otherwise received packets get truncated to 4096 (default receive size) How did you verify/test it? Verified by manually checking if the packet received during test_vrf1_neigh_with_new_router_mac. With this change it fails with: "Exception: Pkt sent from 30.0.0.1 to 192.168.0.2 on port 2 was rcvd pkt on 1 which is one of the expected ports, but the src mac doesn't match, expected 00:12:34:56:78:9a, got 00:90:fb:5e:d6:be", instead of no packet received. The reason why the test still fails and ongoing discussion in these issues: sonic-net/SONiC#409 (comment) sonic-net/sonic-swss#1833
@prsunny kindly reminder |
@vboykox I prefer to revise the related test case. |
It includes ansible test cases and virtual switch test cases.
Signed-off-by: shine.chen shine.chen@nephosinc.com