Skip to content

[docker-quagga]: Use bgp keepalive and holdtime timers from configdb#1661

Merged
pavel-shirshov merged 1 commit intosonic-net:masterfrom
pavel-shirshov:pavelsh/bgp_timers
Apr 30, 2018
Merged

[docker-quagga]: Use bgp keepalive and holdtime timers from configdb#1661
pavel-shirshov merged 1 commit intosonic-net:masterfrom
pavel-shirshov:pavelsh/bgp_timers

Conversation

@pavel-shirshov
Copy link
Contributor

- What I did
Add templates for using bgp neighbor timers into quagga bgpd template file.

- How I did it
Used data from configdb. If the timers values are default, don't put them into config, if not render new configuration

- How to verify it
Change configdb values directly in redis db

127.0.0.1:6379[4]> select 4
127.0.0.1:6379[4]> hset "BGP_NEIGHBOR|10.0.0.1" holdtime 55
(integer) 0

and then go into bgp docker and generate bgpd configuration by using the command:

sonic-cfggen -d -y /etc/sonic/deployment_id_asn_map.yml -t /usr/share/sonic/templates/bgpd.conf.j2

- Description for the changelog

Generate bgpd quagga configuration for bgp per-neighbor timers.

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

Copy link
Contributor

@rodnymolina rodnymolina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may want to remove the extra spaces between 'if' and 'bgp_session'.

@pavel-shirshov pavel-shirshov merged commit 1ae4db3 into sonic-net:master Apr 30, 2018
@pavel-shirshov pavel-shirshov deleted the pavelsh/bgp_timers branch April 30, 2018 23:52
jleveque added a commit that referenced this pull request May 2, 2018
mssonicbld added a commit that referenced this pull request Oct 8, 2025
…tically (#24232)

#### Why I did it
src/sonic-sairedis
```
* dcc3ac23 - (HEAD -> master, origin/master, origin/HEAD) Fix syncd crash due to attr obj list not initialized (#1661) (11 hours ago) [Longxiang Lyu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Dec 4, 2025
…tically (sonic-net#24232)

#### Why I did it
src/sonic-sairedis
```
* dcc3ac23 - (HEAD -> master, origin/master, origin/HEAD) Fix syncd crash due to attr obj list not initialized (sonic-net#1661) (11 hours ago) [Longxiang Lyu]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: Feng Pan <[email protected]>
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.

3 participants