Use boxed Path IDs for AddPath 25/78525/15
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 6 Dec 2018 21:02:28 +0000 (22:02 +0100)
committerRobert Varga <nite@hq.sk>
Mon, 10 Dec 2018 14:43:44 +0000 (14:43 +0000)
commit254125834cdfd25cd02f63deb9b98f8b829ce0d9
tree242aa2651a358a6137de86ae31f80b257ad7b374
parent3cdae164f0c110d33fab772a9380da65458d0f15
Use boxed Path IDs for AddPath

AddPath entries are usually used to instantiate PathId objects,
which are forcing boxing. Since we are already keeping path IDs
in boxed format, this patch makes sure we take advantage of this.

Change-Id: Ia2566e48ef44313f5448bf4e23f4ff0f41c8a69b
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/add/AddPathBestPath.java
bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/add/AddPathSelector.java
bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/add/all/paths/AllPathsRouteEntry.java
bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/base/BaseBestPath.java
bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/spi/AbstractBestPath.java