BGPCEP-764: Use full Ipv6 form under StrictBGPPeerRegistry
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / spi / RIBSupportContextRegistry.java
index b18bce1a158f3c4f1e6616a9a4f71681893c6136..196d0364738eb06b7268a90f2c82f8c6e2c69574 100644 (file)
@@ -8,24 +8,28 @@
 package org.opendaylight.protocol.bgp.rib.impl.spi;
 
 import javax.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev130925.rib.TablesKey;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates;
+import org.opendaylight.protocol.bgp.rib.spi.RIBSupport;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev171207.rib.TablesKey;
 
 public interface RIBSupportContextRegistry {
 
     /**
-     * Acquire a RIB Support Context for a AFI/SAFI combination.
+     * Acquire a RIB Support for a AFI/SAFI combination.
+     *
      * @param key AFI/SAFI key
      * @return RIBSupport instance, or null if the AFI/SAFI is
-     *         not implemented.
-    */
-    @Nullable abstract RIBSupportContext getRIBSupportContext(TablesKey key);
+     * not implemented.
+     */
+    @Nullable
+    RIBSupport getRIBSupport(TablesKey key);
 
     /**
      * Acquire a RIB Support Context for a AFI/SAFI combination.
-     * @param key Tables key with AFI/SAFI key
+     *
+     * @param key AFI/SAFI key
      * @return RIBSupport instance, or null if the AFI/SAFI is
-     *         not implemented.
-    */
-    @Nullable abstract RIBSupportContext getRIBSupportContext(NodeIdentifierWithPredicates key);
+     * not implemented.
+     */
+    @Nullable
+    RIBSupportContext getRIBSupportContext(TablesKey key);
 }