[ptf]: Update remote platform port map#251
Conversation
|
Hi @stcheng @yxieca |
|
@chenkelly: Don't use remote.py from ptf. |
|
@pavel-shirshov |
|
@chenkelly No problem. Good to know :) |
…t for testNeighborMacNoPtf (sonic-net#251) <!-- Please make sure you've read and understood our contributing guidelines; https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md Please provide following information to help code review process a bit easier: --> ### Description of PR <!-- - Please include a summary of the change and which issue is fixed. - Please also include relevant motivation and context. Where should reviewer start? background context? - List any dependencies that are required for this change. --> In testNeighborMacNoPtf test the bgp is disabled and checks that there are no routes installed by BGP in ASIC_DB by filtering out all local routes installed on testbed. For voq chassis, this collection of local routes was not including voq inband routes which mislead the correct summation of local routes on voq chassis. Summary: Fixes # (issue) Added the voq inband ip routes in summation of all local routes ### Type of change <!-- - Fill x for your type of change. - e.g. - [x] Bug fix --> - [ ] Bug fix - [ ] Testbed and Framework(new/improvement) - [ ] New Test case - [ ] Skipped for non-supported platforms - [x] Test case improvement ### Back port request - [ ] 202012 - [ ] 202205 - [ ] 202305 - [ ] 202311 - [ ] 202405 - [x] 202411 ### Approach #### What is the motivation for this PR? Test case failure for single_dut_multi_asic chasiss #### How did you do it? #### How did you verify/test it? #### Any platform specific information? #### Supported testbed topology if it's a new test case? ### Documentation <!-- (If it's a new feature, new test case) Did you update documentation/Wiki relevant to your implementation? Link to the wiki page? -->
576f835 [component] Fix typo for FW_AUTO_ERR_UNKNOWN sonic-net#254 5985388 Add recycle port to the physical ignore list (sonic-net#251)
This change is made due to the situation I meet that in the
/proc/net/devfile, not all interfaces are populated. See below:Since the interface index itself is indicating the port map, there is no need to sort and remap the port map.