Skip to content

[test]: Update BGP speaker test#233

Closed
volodymyrsamotiy wants to merge 95 commits intosonic-net:masterfrom
volodymyrsamotiy:master
Closed

[test]: Update BGP speaker test#233
volodymyrsamotiy wants to merge 95 commits intosonic-net:masterfrom
volodymyrsamotiy:master

Conversation

@volodymyrsamotiy
Copy link
Contributor

  • Add logic to test BGP-MP feature
  • Add logic to test traffic trough the advertised routes

pavel-shirshov and others added 30 commits February 6, 2017 08:18
* Testbed v2

* Restore docker registry

* Fix testbed.csv

* Remove *.pyc file

* Varius fixes

* Sync with master

* Make testbed-cli executable

* Get vm tap interface id dynamically
* Change password to ONIE-image defaults

Signed-off-by: Nadiya.Stetskovych <[email protected]>
Signed-off-by: Nadiya.Stetskovych <[email protected]>
syncd service can be installed without swss service.
It only has to be started after swss.
* Fix failure of deployment on docker container. Verified on HW as well.

Signed-off-by: Pavlo Kandrin <[email protected]>

* Added root user's home directory to condition for collecting temporary directories
- Make it work against the NG testbed
- Make it work against t1 and t1-lag testbed_type

Signed-off-by: Shuotian Cheng <[email protected]>
Add implementation of everflow config and login tests.
Everflow testbed test implementation.
Add implementation of testcase #1 Resolved route.
Everflow testbed test implementation.
Add implementation of testcase #2-8.
new testbed topology: t0-64
script for cleaning testbed after power outage
fixes for the testbed server configuration which permits bridging in kernel
some fixes for Ansible 2.2
ptf_runner
* decap test v1

* decap test added

* checkout on fib_test

* restoring ACL test

* fixes

* fix #2

* removed decap configuration in the test

* added tcp port fields to simple_tcp_packet

* removed some vars
…new filename (#151)

- Other cleanup, grammar and formatting
Fix issue observered when tests are run without "everflow" tag.
Volodymyr Samotiy and others added 20 commits July 11, 2017 17:41
…208)

* [TestCOPP] Add test configuration parameter for number of TX packets

* [TestCOPP] Add test configuration parameter for number of TX packets

* Fix comments

* [TestCOPP] Add test configuration parameter for number of TX packets

* Fix comments

* [TestCOPP] Add test configuration parameter for number of TX packets

* Fix comments
* Add BGP speaker test
* support the case when multiple peer range in single group
* generate match SONiC minigraph based on testbed name and type defined in testbed.csv

* fixes based on feedback

* using port_config to get interface name and alias and fixes based on feedback

* use index to find the port name or alias
* updata testbed playbook for ubuntu 17.04

TODO:
* add docker deb gpg key
* auto-generate p4p1 interface configuration
* split testbed into multiple sections
* refactor fanout_connect to use host_vars already defined

* move labinfo.json to all group_vars to make switch_login available for all inventory
…es (#223)

* Ansible run roles even when: is false. Fix the issue with running roles
* Temporary fix for lldp test code

* (comment)
* Use separate vrf for management interface.
- Reduce list of variables required to run loganalyzer.
* Add logic to test BGP-MP feature
* Add logic to test traffic trough the advertised routes
@msftclas
Copy link

@volodymyrsamotiy,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@lguohan
Copy link
Contributor

lguohan commented Jul 31, 2017

@sihuihan88 , can you help to review.

zhixzhu pushed a commit to zhixzhu/sonic-mgmt that referenced this pull request May 1, 2025
…ic-net#233)

Conflict fix sonic-net#17295


Description of PR
Summary: Add option to toggle on FEC for minigraph in ixia topo Fixes #
(issue) 31623287

Approach
What is the motivation for this PR?
When in ixia FEC enabled port doesn't work well in some breakout ports.
We want an option to force turn off FEC.

To use it, modify the links file. For example suppose we have the
original _links.csv:


StartDevice,StartPort,EndDevice,EndPort,BandWidth,VlanID,VlanMode,AutoNeg
str-msn2700-01,Ethernet0,str-7260-10,Ethernet1,40000,1681,Access,on
str-msn2700-01,Ethernet4,str-7260-10,Ethernet2,40000,1682,Access,on
str-msn2700-01,Ethernet8,str-7260-10,Ethernet3,40000,1683,Access,on
str-msn2700-01,Ethernet12,str-7260-10,Ethernet4,40000,1684,Access,on
str-msn2700-01,Ethernet16,str-7260-10,Ethernet5,40000,1685,Access,on
str-msn2700-01,Ethernet20,str-7260-10,Ethernet6,40000,1686,Access,on
str-msn2700-01,Ethernet24,str-7260-10,Ethernet7,40000,1687,Access,on ...
Let's say we want to force disable FEC on Ethernet24:


StartDevice,StartPort,EndDevice,EndPort,BandWidth,VlanID,VlanMode,AutoNeg,FECDisable
str-msn2700-01,Ethernet0,str-7260-10,Ethernet1,40000,1681,Access,on
str-msn2700-01,Ethernet4,str-7260-10,Ethernet2,40000,1682,Access,on
str-msn2700-01,Ethernet8,str-7260-10,Ethernet3,40000,1683,Access,on
str-msn2700-01,Ethernet12,str-7260-10,Ethernet4,40000,1684,Access,on
str-msn2700-01,Ethernet16,str-7260-10,Ethernet5,40000,1685,Access,on
str-msn2700-01,Ethernet20,str-7260-10,Ethernet6,40000,1686,Access,on
str-msn2700-01,Ethernet24,str-7260-10,Ethernet7,40000,1687,Access,on,true
Note that in here we only add the header and modify the Ethernet24, the
other lines we don't need to modify anything

How did you do it?
Add attribute in minigraph to disable at deploy-mg phase

How did you verify/test it?
T2 physical testbed
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
snmpagent
* 187aa10 2021-09-16 | [201811][RFC1213]: Initialize lag oid map in reinit_data (sonic-net#233) (github/201811) [SuvarnaMeenakshi]

swss:
* 3503705 2021-09-05 | [201811][Cherry-pick] [acl mirror action] Mirror session ref count fix at acl rule attachment (sonic-net#1898) (HEAD -> 201811, github/201811) [bingwang-ms]

utilities:
* f3f8667 2021-10-15 | [201811] disk_check.py: Allow remote user access when disk is read-only (sonic-net#1873) (HEAD -> 201811, github/201811) [Renuka Manavalan]
* 6b351c9 2021-10-14 | [201811]  Remove exec from platform_reboot_plugin call to handle any hang issue. (sonic-net#1880) [Sujin Kang]
* d8d0461 2021-07-29 | [minigraph][port_config] Consume port_config.json while reloading minigraph (sonic-net#1726) [Blueve]

Signed-off-by: Ying Xie <[email protected]>
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
* Add DHCPv6 minigraph parsing support

Co-authored-by: shlomibitton <[email protected]>

Logrotate for wtmp and btmp files to fix size getting too large. (sonic-net#8744)

Signed-off-by: Abhishek Dosi <[email protected]>

[201811][utilities][swss][snmpagent] advance sub module head

snmpagent
* 187aa10 2021-09-16 | [201811][RFC1213]: Initialize lag oid map in reinit_data (sonic-net#233) (github/201811) [SuvarnaMeenakshi]

swss:
* 3503705 2021-09-05 | [201811][Cherry-pick] [acl mirror action] Mirror session ref count fix at acl rule attachment (sonic-net#1898) (HEAD -> 201811, github/201811) [bingwang-ms]

utilities:
* f3f8667 2021-10-15 | [201811] disk_check.py: Allow remote user access when disk is read-only (sonic-net#1873) (HEAD -> 201811, github/201811) [Renuka Manavalan]
* 6b351c9 2021-10-14 | [201811]  Remove exec from platform_reboot_plugin call to handle any hang issue. (sonic-net#1880) [Sujin Kang]
* d8d0461 2021-07-29 | [minigraph][port_config] Consume port_config.json while reloading minigraph (sonic-net#1726) [Blueve]

Signed-off-by: Ying Xie <[email protected]>

[201811] Invoke disk check periodically (sonic-net#8951)

* Invoke disk check periodically. (sonic-net#7374)

Why I did it
Helps with periodic scan of disk for RO state.
If found, this script makes transient fix and raise error message.

Save DB dump after warm/fast reboot (sonic-net#8913)

Back porting the master branch change - sonic-net#8803

Save the redis DB dump after warm reboot.

[201811][swss] advance swss submodule head (sonic-net#9049)

* e0b115a 2021-10-22 | [copp] add dhcpv6 copp rules (sonic-net#1979) (HEAD -> 201811, github/201811) [Ying Xie]

Signed-off-by: Ying Xie <[email protected]>

[swssconfig] load dhcpv6 copp rules by default (sonic-net#9047)

Why I did it
Need to enable DHCPv6 copp rule

How I did it
Add a separate DHCPv6 copp rule config file and load it during cold reboot.

How to verify it
cold reboot, and verify config being loaded and dhcpv6 rules got installed.

Signed-off-by: Ying Xie [email protected]

[warmboot finalizer] load dhcpv6 copp rules when missing (sonic-net#9048)

Why I did it
Need to enable DHCPv6 COPP rules.

How I did it
Load the separate DHCPv6 COPP rules after warm reboot if the rules are missing.

How to verify it
Warm reboot from an image doesn't have DHCPv6 COPP rules installed.
Warm reboot from an image have DHCPv6 COPP rules already installed.
In either case, the script did the right thing and only install the COPP rules if it is missing.

Signed-off-by: Ying Xie [email protected]
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…utomatically (sonic-net#22178)

#### Why I did it
src/sonic-host-services
```
* bccad08 - (HEAD -> 202411, origin/202411) Pin PyGObject to 3.42.2 (sonic-net#307) (3 days ago) [Liu Shilong]
* 1d59da1 - make multi_asic_ns_to_host_fwd False for EXTERNAL_CLIENT ACL service (sonic-net#302) (3 weeks ago) [mssonicbld]
* 5ca4d5d - [202411] cast of kdump init fix (4 weeks ago) [arista-nwolfe]
* ec3a269 - Fix ProcessStatsST column name issue and add test case to cover check (sonic-net#281) (8 weeks ago) [mssonicbld]
* d231ed2 - [202411] Fix 202411 pipeline (sonic-net#290) (8 weeks ago) [Zain Budhwani]
* 1044ca2 - Pin PyGObject to 3.50.0 (sonic-net#233) (5 months ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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.