2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.protocol.bgp.rib.impl.spi;
10 import javax.annotation.Nullable;
11 import org.opendaylight.protocol.bgp.rib.spi.RIBSupport;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev180329.rib.TablesKey;
14 public interface RIBSupportContextRegistry {
17 * Acquire a RIB Support for a AFI/SAFI combination.
19 * @param key AFI/SAFI key
20 * @return RIBSupport instance, or null if the AFI/SAFI is
24 RIBSupport getRIBSupport(TablesKey key);
27 * Acquire a RIB Support Context for a AFI/SAFI combination.
29 * @param key AFI/SAFI key
30 * @return RIBSupport instance, or null if the AFI/SAFI is
34 RIBSupportContext getRIBSupportContext(TablesKey key);