Extract routeKey/pathId from the identifier
[bgpcep.git] / bgp / extensions / evpn / src / main / java / org / opendaylight / protocol / bgp / evpn / impl / EvpnRibSupport.java
index 0a9ee6001a3daa83bb9f132154d9b1b0697ccf49..651d56d2e7253bc83dce13ff8ee5f488d730ecc6 100644 (file)
@@ -164,4 +164,14 @@ final class EvpnRibSupport extends AbstractRIBSupport<EvpnRoutesCase, EvpnRoutes
     public List<EvpnRoute> routesFromContainer(final EvpnRoutes container) {
         return container.getEvpnRoute();
     }
+
+    @Override
+    public PathId extractPathId(final EvpnRouteKey routeListKey) {
+        return routeListKey.getPathId();
+    }
+
+    @Override
+    public String extractRouteKey(final EvpnRouteKey routeListKey) {
+        return routeListKey.getRouteKey();
+    }
 }