Handle SID Index in SRGB block 38/96938/1
authorOlivier Dugeon <olivier.dugeon@orange.com>
Mon, 19 Jul 2021 15:38:54 +0000 (17:38 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 20 Jul 2021 10:09:34 +0000 (12:09 +0200)
commitd292356889751cfe6b407bf91296d574a2948665
treeb4a276320e63e2c70db4a1b9662a31f98937a2dc
parentec0a32a1814329621e0e843f36bdceaa40915d98
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>
(cherry picked from commit 948399876d9b8b237f4597aee0e7d1d8b551793f)
bgp/topology-provider/src/main/java/org/opendaylight/bgpcep/bgp/topology/provider/LinkstateGraphBuilder.java