Skip to content

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

Merged
pavel-shirshov merged 12 commits intosonic-net:masterfrom
pavel-shirshov:pavelsh/frr_ts
Jul 26, 2019
Merged

[bgp]: Implement Universal Traffic Shift for SONiC#3209
pavel-shirshov merged 12 commits intosonic-net:masterfrom
pavel-shirshov:pavelsh/frr_ts

Conversation

@pavel-shirshov
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

retest vs please

@pavel-shirshov
Copy link
Copy Markdown
Contributor Author

retest vsimage please

@pavel-shirshov
Copy link
Copy Markdown
Contributor Author

retest vs please

1 similar comment
@pavel-shirshov
Copy link
Copy Markdown
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
```
* 43ac585 - (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]
* c9c78dc - Fix in switchorch: unsupported attribute causes skipping of processing the rest of configurations (#3209) (3 days ago) [Amir]
* 0158d27 - [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]
* fdd5bdc - [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]
* 8f333b6 - [subnet decap] Support decap rule generation based on T0 VIP route (#3183) (5 weeks ago) [Longxiang Lyu]
* 9bcb9b6 - Fixing appl_db FABRIC_MONITOR notification issue. (#3176) (5 weeks ago) [jfeng-arista]
* fff544e - Rotate record file before writing new log. (#3158) (5 weeks ago) [mint570]
* 80f5207 - Add SWSS support for link event damping feature (#2933) (5 weeks ago) [Roy Yi]
* b3ebfc4 - [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
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