Interface RIBExtensionConsumerContext

All Known Subinterfaces:
RIBExtensionProviderContext
All Known Implementing Classes:
DefaultRIBExtensionConsumerContext, OSGiRIBExtensionConsumerContext, SimpleRIBExtensionProviderContext

@NonNullByDefault public interface RIBExtensionConsumerContext
Interface for acquiring AdjRIBsIn factories. In order for a model-driven RIB implementation to work correctly, it has to know how to handle individual NLRI fields, whose encoding is specific to a AFI/SAFI pair. This interface exposes an entry point for locating the AFI/SAFI-specific implementation handler.
  • Method Details

    • getRIBSupport

      @Nullable RIBSupport getRIBSupport(TablesKey key)
      Acquire a RIB implementation factory for a AFI/SAFI combination.
      Parameters:
      key - AFI/SAFI key
      Returns:
      RIBSupport instance, or null if the AFI/SAFI is not implemented.
    • getRIBSupport

      @Nullable RIBSupport getRIBSupport(AddressFamily afi, SubsequentAddressFamily safi)
      Acquire a RIB implementation factory for a AFI/SAFI combination.
      Parameters:
      afi - Address Family Identifier
      safi - Subsequent Address Family identifier
      Returns:
      RIBSupport instance, or null if the AFI/SAFI is not implemented.
    • getRIBSupport

      @Nullable RIBSupport getRIBSupport(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates key)
      Acquire a RIB implementation factory for a AFI/SAFI combination.
      Parameters:
      key - Tables key with AFI/SAFI
      Returns:
      RIBSupport instance, or null if the AFI/SAFI is not implemented.