Merge ActualBestPathRoutes and AdvertizedRoute 84/78484/5
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 5 Dec 2018 21:22:27 +0000 (22:22 +0100)
committerRobert Varga <nite@hq.sk>
Fri, 7 Dec 2018 10:03:20 +0000 (10:03 +0000)
commit28fa5d1095933a7b5763bd23142963072d1d5cce
treef76f5946a915b05102d311826bcc3d2ae73f3c69
parentca1806e3b56814e23c73c6c11d0071c3f7e72c20
Merge ActualBestPathRoutes and AdvertizedRoute

These two classes are almost identical, extract the common bits
to a common superclass, reducing complexity and allowing them
us to share codepaths.

Change-Id: Ib6bbf1e4285ed0f1376d932367c8cb0d3f6f2662
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/entry/AbstractAdvertizedRoute.java [new file with mode: 0644]
bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/entry/ActualBestPathRoutes.java
bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/entry/AdvertizedRoute.java