]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: Store neighbor Adjacency SID in SR database 7322/head
authorOlivier Dugeon <olivier.dugeon@orange.com>
Wed, 14 Oct 2020 12:17:58 +0000 (14:17 +0200)
committerOlivier Dugeon <olivier.dugeon@orange.com>
Wed, 14 Oct 2020 12:17:58 +0000 (14:17 +0200)
commitedb368e93023d0ad83e928f413a0ae94ef6495b8
tree61c8441bc2e6dcc1be274e64fbbf859c689eabc9
parent9ed5b22e1337e0c33d2580b1c7444be6847d69d9
ospfd: Store neighbor Adjacency SID in SR database

For TI-LFA, it is necessay to known the Adjacency SID advetise by the nieghbor
routers. However, the current Segment Routing code skip neighbor Adjacency SID
and thus, don't store them into the Segment Routing database.

This PR takes care of neighbor Adjacency SID by allowing to store them in the
Segment Routing database. Corresponding MPLS table entry is only configured if
the advertised Adjacency SID is global i.e. with L-Flag unset.

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
ospfd/ospf_sr.c
ospfd/ospf_sr.h