diff options
author | Olivier Dugeon <olivier.dugeon@orange.com> | 2021-02-26 16:30:11 +0100 |
---|---|---|
committer | Olivier Dugeon <olivier.dugeon@orange.com> | 2021-03-23 15:39:29 +0100 |
commit | 2efd7e2bdc4b60b51e8d9fe10b0bb20355c373fa (patch) | |
tree | 5a9182223e2ae6c30526a4668fc6ce1128027b09 /ospf6d/ospf6_route.c | |
parent | opsfd: Correct MPLS-TE bug with LSA Flush (diff) | |
download | frr-2efd7e2bdc4b60b51e8d9fe10b0bb20355c373fa.tar.xz frr-2efd7e2bdc4b60b51e8d9fe10b0bb20355c373fa.zip |
ospfd: Correct Opaque Inter-AS LSA management
This patch corrects two problems that affect Inter-AS LSA:
1/ Inter-LSA are never flood due to an incorrect setting of specific flag.
2/ When looking to the detail of the OSPF LSA with the command
`show ip ospf database opaque-xxx`, it appears that only the Inter-AS
advertising router is abble to show the detail of the Inter-AS LSA. Foreign
routers are only abble to show the header of this Inster-AS LSA. The problem
comes from the registration of Inter-AS management functions which is done
only on the advetising router. So, the function `ospf_mpls_te_show_info()` is
never call on neighbor routers that have not resgistered Inter-AS management
callback functions.
First, this patch modify functions `set_linkparams_inter_as()` and
`unset_linkparams_inter_as()` to respectively set and unset flags that control
the Inter-AS LSA flooding. Flag & Type from `struct mpls_te_link` have been
redefined: Flag is used to determine if flooding is AS or not and Type is only
used to determine the type of the LSA.
Second, this patch register Inter-AS management functions for both AS and Area
flooding with a different function for LSA origination as parameter is passed
as void and it is mandatory to determine the flooding context:
`struct *ospf` for AS flooding and `struct *ospf_area` for Area flooding.
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'ospf6d/ospf6_route.c')
0 files changed, 0 insertions, 0 deletions