Improve Pcep Server 09/97009/5
authorOlivier Dugeon <olivier.dugeon@orange.com>
Thu, 22 Jul 2021 12:35:18 +0000 (14:35 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 26 Jul 2021 09:48:21 +0000 (09:48 +0000)
commit06af319945b60722241d96c16a9fef2800932d41
treebc67ddfd04f14eed72346aaaca86c422ae60b57e
parenta299e6ac11495070cbfa51162d356b49b17d7f9c
Improve Pcep Server

Some PCCs send a PcRequest message with Metrics and/or Bandwidth set
with value equal to 0 which result to a NO_PATH when calling path
computation. Indeed, it is impossible to determine a path with a metric
less or equal to 0.

This patch set skip Metrics and/or Bandwidth equal to 0 when building
the list ofi constraints for the path computation algorithm.

Change-Id: I3b343e67fc35f3393d4ed136aa4224082823f066
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
pcep/server/server-provider/src/main/java/org/opendaylight/bgpcep/pcep/server/provider/PathComputationImpl.java