Pass PathIds to StaleBestRoute 79/78779/6
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 14 Dec 2018 02:23:38 +0000 (03:23 +0100)
committerRobert Varga <nite@hq.sk>
Fri, 14 Dec 2018 19:40:39 +0000 (19:40 +0000)
commit25ef3d478a6c6291503a8526dad11b884d7b3e19
treee7bfe184f0fbfb642ad26e55dac97f0e8968501d
parente110a79fd0fa2db5317f478fe9cc96e6944e7573
Pass PathIds to StaleBestRoute

At the end of the day, StaleBestRoute needs to be refactored
so that we have two implementations: one for addpath, one for
non-addpath selection.

As a first step, make sure callers allocate PathIds and pass
them to StaleBestRoute.

Change-Id: Ief9a0280eec1bfa99530f3aedef8451a98ac35df
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/add/AddPathAbstractRouteEntry.java
bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/base/BaseRouteEntry.java
bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/entry/StaleBestPathRoute.java