[Arista7260cx3] update topology t0-116 to include port 17 and 19#340
Merged
yxieca merged 1 commit intosonic-net:masterfrom Nov 8, 2017
Merged
[Arista7260cx3] update topology t0-116 to include port 17 and 19#340yxieca merged 1 commit intosonic-net:masterfrom
yxieca merged 1 commit intosonic-net:masterfrom
Conversation
lguohan
approved these changes
Nov 8, 2017
praveen-li
pushed a commit
to praveen-li/sonic-mgmt
that referenced
this pull request
Jun 20, 2019
* msft_github/master: Update README.testbed.Setup.md call test by test case name (sonic-net#362) [testbed] fanout add rootfanout connect when deploying fanout switch (sonic-net#368) [lag_2] enable lag_2 test on t0-116 topology (sonic-net#390) [deployment] add missing quotation marks that breaks (sonic-net#386) Finalize T0-116 topology (sonic-net#381) Directed broadcast Test (sonic-net#377) [change_mac]: Change MAC address formatting (sonic-net#380) add github template helping report issues and submit pull request (sonic-net#378) Fixing logic to identify proper 'port_config.ini' file. (sonic-net#376) [sensors] add sensor definitions for arista 7260/7060 (sonic-net#371) [pfc_wd]: Rework for P2 (sonic-net#363) [test]: Update BGP speaker test (sonic-net#236) Add vm_resument which restore paused VMs (sonic-net#297) Copy acsbase files to ptf before ptf_runner (sonic-net#366) Modify dhcp_servers IPs in order to fix DHCP relay test (sonic-net#364) [templates]: Remove trailing space in t1-lag minigraph template (sonic-net#360) [fastreboot test]: Add "fanout_listener" for MLNX fanout switches (sonic-net#353) patch t0 portchannel name to 15 chars (sonic-net#358) [process_checker]: Add the process_checker playbook (sonic-net#349) fix issue 354 (sonic-net#355) Update build instruction for docker-ptf.gz and docker-sonic-mgmt.gz [upgrade_sonic]: Add upgrade_sonic as a convenience script to upgrade the device with an image (sonic-net#338) [acl test]: Generate switch info file. (sonic-net#346) fix t0 templates for generate minigraph (sonic-net#344) [loganalyzer_end.yml]: Rename expected_matches (sonic-net#345) [minigraph_facts]: Add the missing brace (sonic-net#342) [Arista7260cx3] update topology t0-116 to include port 17 and 19 (sonic-net#340) [fdb test] help switch populate mac table before starting the test (sonic-net#341) [arista7260cx3] include port 18 and 20 as 50G breakout ports (sonic-net#339) Loganalyzer enhancements (sonic-net#321) [plugin]: Adding Dell platform in switch connection plugin (sonic-net#333) modified files to get lag members from minigraph (sonic-net#327) [minigraph] modify script to fit the latest configuration method (sonic-net#331) [minigraph_fact] add port mapping for 5 INGRASYS switches (sonic-net#336) [sensors] add sensor data for 5 INGRASYS switches (sonic-net#335) [minigraph-template]: Add ACL L3 and mirroring tables to minigraph template. (sonic-net#330) [acltb-test]: Addopt ACL test to acl-loader. (sonic-net#299) [everflow test]: Addopt Everflow testbed test to acl-loader. (sonic-net#300) Remove hard-coded bgp speaker asn number, fetch from DUT (sonic-net#329) Port alias mapping added for Arista-7060CX-32S-C32 (sonic-net#328) Adding if case for S6100 platform to get port details (sonic-net#314) [interface_facts] improve interface facts checking performance (sonic-net#326) [fdb] Hard code port layout to enable fdb test on t0-116 topology (sonic-net#322) (sonic-net#320) [fib] Hard code port layout to enable fib test on t0-116 topology (sonic-net#322) [fib, fdb] Allow fib and fdb test info files to contain empty lines and comments (sonic-net#323) [lag_test]: Correct typo error for lag tests (sonic-net#325) [link flap test] improve performance of link flap test (sonic-net#319)
auspham
pushed a commit
to auspham/sonic-mgmt
that referenced
this pull request
May 30, 2025
) <!-- 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. --> Summary: This PR is to enhance `test_fib` to support a new topology `FT2`. Changes include 1. Pass `topo_type` to ptf script 2. Improve port selection for `FT2` 3. Fix the exception when `hash_key` is `ingress-port`. ### 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 - [ ] 202411 ### Approach #### What is the motivation for this PR? This PR is to enhance `test_fib` to support a new topology `FT2`. #### How did you do it? 1. Pass `topo_type` to ptf script 2. Improve port selection for `FT2` 3. Fix the exception when `hash_key` is `ingress-port`. #### How did you verify/test it? The change is verified on a FT2 testbed. ``` collected 15 items fib/test_fib.py::test_basic_fib[True-True-1514] -------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------- 17:55:10 ptf_runner.get_dut_type L0053 WARNING| DUT type file doesn't exist. ^HPASSED [ 6%] fib/test_fib.py::test_hash[ipv4] -------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------- 17:59:17 ptf_runner.get_dut_type L0053 WARNING| DUT type file doesn't exist. ^H ^H ^H ^H ^H ^H ^H ^H ^HPASSED [ 13%] fib/test_fib.py::test_hash[ipv6] -------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------- 18:43:37 ptf_runner.get_dut_type L0053 WARNING| DUT type file doesn't exist. ^H ^H ^H ^H ^H ^H ^HPASSED [ 20%] ^H fib/test_fib.py::test_ipinip_hash[ipv4] SKIPPED (The test case runs on T1 topology) [ 26%] fib/test_fib.py::test_ipinip_hash[ipv6] SKIPPED (The test case runs on T1 topology) [ 33%] fib/test_fib.py::test_ipinip_hash_negative[ipv4] -------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------- 19:31:14 ptf_runner.get_dut_type L0053 WARNING| DUT type file doesn't exist. ^H ^HPASSED [ 40%] fib/test_fib.py::test_ipinip_hash_negative[ipv6] -------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------- 19:42:15 ptf_runner.get_dut_type L0053 WARNING| DUT type file doesn't exist. ^H ^HPASSED [ 46%] fib/test_fib.py::test_vxlan_hash[ipv4-ipv4] -------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------- 19:52:52 ptf_runner.get_dut_type L0053 WARNING| DUT type file doesn't exist. ^H ^HPASSED [ 53%] ^H fib/test_fib.py::test_vxlan_hash[ipv4-ipv6] -------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------- 20:05:52 ptf_runner.get_dut_type L0053 WARNING| DUT type file doesn't exist. ^H ^HPASSED [ 60%] fib/test_fib.py::test_vxlan_hash[ipv6-ipv6] -------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------- 20:18:18 ptf_runner.get_dut_type L0053 WARNING| DUT type file doesn't exist. ^H ^HPASSED [ 66%] fib/test_fib.py::test_vxlan_hash[ipv6-ipv4] ^H -------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------- 20:30:43 ptf_runner.get_dut_type L0053 WARNING| DUT type file doesn't exist. ^H PASSED [ 73%] .... [100%] ``` #### Any platform specific information? No. #### Supported testbed topology if it's a new test case? Not 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? -->
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
…net#14412) Why I did it src/linkmgrd * 3403160 - (HEAD -> 202205, origin/202205) [ci] fix azure pipeline (sonic-net#190) (33 hours ago) [Jing Zhang] * 95abb4c - [active-standby] avoid unnecessary mux state probe after configuring to `auto` (sonic-net#183) (33 hours ago) [Jing Zhang] * 9277650 - [ci] Fix apt-get install unable locate package issue. (sonic-net#177) (33 hours ago) [Liu Shilong] src/sonic-linux-kernel * 836aedf - (HEAD -> 202205, origin/202205) [202205] Add Secure Boot Kernel configuration (sonic-net#310) (35 hours ago) [Sachin Naik] src/sonic-platform-common * 9b367e4 - (HEAD -> 202205, origin/202205) Modify get_host_lane_assignment_option to return value based on application id (sonic-net#352) (33 hours ago) [mihirpat1] src/sonic-platform-daemons * a6015f2 - (HEAD -> 202205, origin/202205) chassisd: Fix crash on exit on linecard (sonic-net#347) (33 hours ago) [Patrick MacArthur] * dcc0079 - [Supervisor][fabric] Modify the deinit function not to remove CHASSIS_FABRIC_ASIC_TABLE when supervisorctl stop chassisd (sonic-net#340) (33 hours ago) [prem-nokia] src/sonic-swss * a2f1428 - (HEAD -> 202205, origin/202205) Run individule pytests instead of running all pytests at once. (sonic-net#2350) (33 hours ago) [mint570] src/sonic-swss-common * 643132e - (HEAD -> 202205, origin/202205) Fix mod_config with empty config will delete table bug. (sonic-net#767) (34 hours ago) [Hua Liu] * 4c7ee30 - Revamp module build script to make it work for 5.15 on Ubuntu 20.04 (sonic-net#720) (34 hours ago) [Saikrishna Arcot]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Include port 17 and 19 in t0-116 topology (device port 18 and 20 respectively).