Class DefaultRIBExtensionConsumerContext
java.lang.Object
org.opendaylight.protocol.bgp.rib.spi.DefaultRIBExtensionConsumerContext
- All Implemented Interfaces:
RIBExtensionConsumerContext
@Singleton
@MetaInfServices(RIBExtensionConsumerContext.class)
public final class DefaultRIBExtensionConsumerContext
extends Object
-
Constructor Summary
ConstructorDescriptionDefaultRIBExtensionConsumerContext
(org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer mappingService) DefaultRIBExtensionConsumerContext
(org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer mappingService, Iterable<RIBExtensionProviderActivator> extensionActivators) DefaultRIBExtensionConsumerContext
(org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer mappingService, RIBExtensionProviderActivator... extensionActivators) -
Method Summary
Modifier and TypeMethodDescriptionfinal <C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject & org.opendaylight.yangtools.yang.binding.ChoiceIn<Tables>,
S extends org.opendaylight.yangtools.yang.binding.ChildOf<C>>
RIBSupport<C,S> getRIBSupport
(TablesKey key) Acquire a RIB implementation factory for a AFI/SAFI combination.final <C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject & org.opendaylight.yangtools.yang.binding.ChoiceIn<Tables>,
S extends org.opendaylight.yangtools.yang.binding.ChildOf<C>>
RIBSupport<C,S> getRIBSupport
(AddressFamily afi, SubsequentAddressFamily safi) Acquire a RIB implementation factory for a AFI/SAFI combination.final <C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject & org.opendaylight.yangtools.yang.binding.ChoiceIn<Tables>,
S extends org.opendaylight.yangtools.yang.binding.ChildOf<C>>
RIBSupport<C,S> getRIBSupport
(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates key) Acquire a RIB implementation factory for a AFI/SAFI combination.
-
Constructor Details
-
DefaultRIBExtensionConsumerContext
public DefaultRIBExtensionConsumerContext() -
DefaultRIBExtensionConsumerContext
public DefaultRIBExtensionConsumerContext(org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer mappingService) -
DefaultRIBExtensionConsumerContext
public DefaultRIBExtensionConsumerContext(org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer mappingService, RIBExtensionProviderActivator... extensionActivators) -
DefaultRIBExtensionConsumerContext
@Inject public DefaultRIBExtensionConsumerContext(org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer mappingService, Iterable<RIBExtensionProviderActivator> extensionActivators)
-
-
Method Details
-
getRIBSupport
public final <C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject & org.opendaylight.yangtools.yang.binding.ChoiceIn<Tables>,S extends org.opendaylight.yangtools.yang.binding.ChildOf<C>> RIBSupport<C,S> getRIBSupport(TablesKey key) Description copied from interface:RIBExtensionConsumerContext
Acquire a RIB implementation factory for a AFI/SAFI combination.- Specified by:
getRIBSupport
in interfaceRIBExtensionConsumerContext
- Parameters:
key
- AFI/SAFI key- Returns:
- RIBSupport instance, or null if the AFI/SAFI is not implemented.
-
getRIBSupport
public final <C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject & org.opendaylight.yangtools.yang.binding.ChoiceIn<Tables>,S extends org.opendaylight.yangtools.yang.binding.ChildOf<C>> RIBSupport<C,S> getRIBSupport(AddressFamily afi, SubsequentAddressFamily safi) Description copied from interface:RIBExtensionConsumerContext
Acquire a RIB implementation factory for a AFI/SAFI combination.- Specified by:
getRIBSupport
in interfaceRIBExtensionConsumerContext
- Parameters:
afi
- Address Family Identifiersafi
- Subsequent Address Family identifier- Returns:
- RIBSupport instance, or null if the AFI/SAFI is not implemented.
-
getRIBSupport
public final <C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject & org.opendaylight.yangtools.yang.binding.ChoiceIn<Tables>,S extends org.opendaylight.yangtools.yang.binding.ChildOf<C>> RIBSupport<C,S> getRIBSupport(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates key) Description copied from interface:RIBExtensionConsumerContext
Acquire a RIB implementation factory for a AFI/SAFI combination.- Specified by:
getRIBSupport
in interfaceRIBExtensionConsumerContext
- Parameters:
key
- Tables key with AFI/SAFI- Returns:
- RIBSupport instance, or null if the AFI/SAFI is not implemented.
-