Skip to content
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

[bgp]: Implement Universal Traffic Shift for SONiC #3209

Merged
merged 12 commits into from
Jul 26, 2019

Conversation

pavel-shirshov
Copy link
Contributor

- What I did
Implemented Universal Traffic Shift for SONiC which allows us to remove traffic from SONiC device with minimal packet drop.

- How I did it

  1. Created two base route-maps: TO_BGP_PEER_V4 and TO_BGP_PEER_V6 which are applied to all active peers automatically. The route-maps by default enable everything.
  2. Created two prefix-lists: PL_LoopbackV4 and PL_LoopbackV6 which filter our loopback address only.
  3. Created scripts:
  • TSA - to remove traffic from the box by inserting two extra rules to the route-maps:
    • advertise only loopback prefix
    • don't advertise anything else
  • TSB - to remove rules after TSA
  • TSC - to check state of the rules
  1. expose TSA, TSB, TSC scripts to the base system

- How to verify it
Build the image.
Use TSA, TSB, and TSC scripts and check what updates your DUT send to its bgp neighbors.

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@pavel-shirshov
Copy link
Contributor Author

retest vs please

@pavel-shirshov
Copy link
Contributor Author

retest vsimage please

@pavel-shirshov
Copy link
Contributor Author

retest vs please

1 similar comment
@pavel-shirshov
Copy link
Contributor Author

retest vs please

@pavel-shirshov pavel-shirshov merged commit b4517b9 into sonic-net:master Jul 26, 2019
@pavel-shirshov pavel-shirshov deleted the pavelsh/frr_ts branch July 26, 2019 21:32
mssonicbld added a commit that referenced this pull request Jul 6, 2024
…lly (#19496)

#### Why I did it
src/sonic-swss
```
* 49127332 - (HEAD -> 202311, origin/202311) Fix in switchorch: unsupported attribute causes skipping of processing the rest of configurations (#3209) (7 hours ago) [Amir]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this pull request Jul 6, 2024
…lly (#19461)

#### Why I did it
src/sonic-swss
```
* 43ac585c - (HEAD -> master, origin/master, origin/HEAD) Revamp module build script to make it work for 5.15 on Ubuntu 20.04 (#3212) (3 days ago) [Saikrishna Arcot]
* c9c78dc4 - Fix in switchorch: unsupported attribute causes skipping of processing the rest of configurations (#3209) (3 days ago) [Amir]
* 0158d27d - [Chassis][voq] do not synchronize the system interface state if there is no rif assciated with the port (#3207) (3 days ago) [Arvindsrinivasan Lakshmi Narasimhan]
* fdd5bdc9 - [vxlanmgr]: Add disabling of fdb learning for linux vxlan interfaces (#3205) (3 days ago) [yfedoriachenko]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this pull request Jul 13, 2024
…lly (#19554)

#### Why I did it
src/sonic-swss
```
* d3073b7c - (HEAD -> 202405, origin/202405) [muxorch] Fixing bug with updateRoute and mux neighbors (#3187) (19 hours ago) [Nikola Dancejic]
* b16d6b2a - ADD VOQ COUNTERS(SAI_SWITCH_STAT_PACKET_INTEGRITY_DROP, SAI_QUEUE_ST…T_CREDIT_WD_DELETED_PACKETS) support for VOQ/Fabric switches (#3152) (19 hours ago) [saksarav-nokia]
* 12a95e57 - Revamp module build script to make it work for 5.15 on Ubuntu 20.04 (#3212) (19 hours ago) [Saikrishna Arcot]
* 87cf38e0 - Fix in switchorch: unsupported attribute causes skipping of processing the rest of configurations (#3209) (19 hours ago) [Amir]
* 8f333b69 - [subnet decap] Support decap rule generation based on T0 VIP route (#3183) (5 weeks ago) [Longxiang Lyu]
* 9bcb9b6e - Fixing appl_db FABRIC_MONITOR notification issue. (#3176) (5 weeks ago) [jfeng-arista]
* fff544e6 - Rotate record file before writing new log. (#3158) (5 weeks ago) [mint570]
* 80f52079 - Add SWSS support for link event damping feature (#2933) (5 weeks ago) [Roy Yi]
* b3ebfc46 - [muxorch] Using bulker to program routes/neighbors during switchover (#3148) (5 weeks ago) [Nikola Dancejic]
```
#### How I did it
#### How to verify it
#### Description for the changelog
arun1355492 pushed a commit to arun1355492/sonic-buildimage that referenced this pull request Jul 26, 2024
…lly (sonic-net#19461)

#### Why I did it
src/sonic-swss
```
* 43ac585c - (HEAD -> master, origin/master, origin/HEAD) Revamp module build script to make it work for 5.15 on Ubuntu 20.04 (sonic-net#3212) (3 days ago) [Saikrishna Arcot]
* c9c78dc4 - Fix in switchorch: unsupported attribute causes skipping of processing the rest of configurations (sonic-net#3209) (3 days ago) [Amir]
* 0158d27d - [Chassis][voq] do not synchronize the system interface state if there is no rif assciated with the port (sonic-net#3207) (3 days ago) [Arvindsrinivasan Lakshmi Narasimhan]
* fdd5bdc9 - [vxlanmgr]: Add disabling of fdb learning for linux vxlan interfaces (sonic-net#3205) (3 days ago) [yfedoriachenko]
```
#### How I did it
#### How to verify it
#### Description for the changelog
liushilongbuaa pushed a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Aug 1, 2024
…lly (sonic-net#19461)

#### Why I did it
src/sonic-swss
```
* 43ac585c - (HEAD -> master, origin/master, origin/HEAD) Revamp module build script to make it work for 5.15 on Ubuntu 20.04 (sonic-net#3212) (3 days ago) [Saikrishna Arcot]
* c9c78dc4 - Fix in switchorch: unsupported attribute causes skipping of processing the rest of configurations (sonic-net#3209) (3 days ago) [Amir]
* 0158d27d - [Chassis][voq] do not synchronize the system interface state if there is no rif assciated with the port (sonic-net#3207) (3 days ago) [Arvindsrinivasan Lakshmi Narasimhan]
* fdd5bdc9 - [vxlanmgr]: Add disabling of fdb learning for linux vxlan interfaces (sonic-net#3205) (3 days ago) [yfedoriachenko]
```
#### 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants