Handle SID Index in SRGB block 29/96929/4
authorOlivier Dugeon <olivier.dugeon@orange.com>
Mon, 19 Jul 2021 15:38:54 +0000 (17:38 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 20 Jul 2021 10:09:23 +0000 (10:09 +0000)
commit948399876d9b8b237f4597aee0e7d1d8b551793f
tree3e663fb8ad72becc76eef869e46abc9eb7fdef21
parent1314d49cc9aa50de78d1ad63e000afa6e18d6078
Handle SID Index in SRGB block

When building Graph from BGP-LS, Segment Routing Global Block (SRGB)
advertized with a SID Index instead of an MPLS Label thrown a Java
Exception in getVertex() function. This commit allows the support of
both SID Index and MPLS Label for SRGB lower bound value.

JIRA: BGPCEP-970
Change-Id: I14cf39831f5ef47f7e80e91659ae6daeeacb1b91
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/topology-provider/src/main/java/org/opendaylight/bgpcep/bgp/topology/provider/LinkstateGraphBuilder.java