Class SimpleRIBExtensionProviderContext

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.opendaylight.mdsal.binding.generator.impl.GeneratedClassLoadingStrategy getClassLoadingStrategy()
      Returns class loading strategy for loading YANG modeled classes associated with registered RIB supports.
      <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>,​R extends Route & org.opendaylight.yangtools.yang.binding.ChildOf<S> & org.opendaylight.yangtools.yang.binding.Identifiable<I>,​I extends org.opendaylight.yangtools.yang.binding.Identifier<R>>
      RIBSupport<C,​S,​R,​I>
      getRIBSupport​(Class<? extends AddressFamily> afi, Class<? extends SubsequentAddressFamily> safi)
      Acquire a RIB implementation factory for a AFI/SAFI combination.
      <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>,​R extends Route & org.opendaylight.yangtools.yang.binding.ChildOf<S> & org.opendaylight.yangtools.yang.binding.Identifiable<I>,​I extends org.opendaylight.yangtools.yang.binding.Identifier<R>>
      RIBSupport<C,​S,​R,​I>
      getRIBSupport​(TablesKey key)
      Acquire a RIB implementation factory for a AFI/SAFI combination.
      <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>,​R extends Route & org.opendaylight.yangtools.yang.binding.ChildOf<S> & org.opendaylight.yangtools.yang.binding.Identifiable<I>,​I extends org.opendaylight.yangtools.yang.binding.Identifier<R>>
      RIBSupport<C,​S,​R,​I>
      getRIBSupport​(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates key)
      Acquire a RIB implementation factory for a AFI/SAFI combination.
      <T extends RIBSupport<?,​?,​?,​?>>
      RIBSupportRegistration<T>
      registerRIBSupport​(Class<? extends AddressFamily> afi, Class<? extends SubsequentAddressFamily> safi, T support)
      Register a RIBSupport instance for a particular AFI/SAFI combination.
    • Constructor Detail

      • SimpleRIBExtensionProviderContext

        public SimpleRIBExtensionProviderContext()
    • Method Detail

      • getRIBSupport

        public <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>,​R extends Route & org.opendaylight.yangtools.yang.binding.ChildOf<S> & org.opendaylight.yangtools.yang.binding.Identifiable<I>,​I extends org.opendaylight.yangtools.yang.binding.Identifier<R>> RIBSupport<C,​S,​R,​I> getRIBSupport​(Class<? extends AddressFamily> afi,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Class<? extends SubsequentAddressFamily> safi)
        Description copied from interface: RIBExtensionConsumerContext
        Acquire a RIB implementation factory for a AFI/SAFI combination.
        Specified by:
        getRIBSupport in interface RIBExtensionConsumerContext
        Parameters:
        afi - Address Family Identifier
        safi - Subsequent Address Family identifier
        Returns:
        RIBSupport instance, or null if the AFI/SAFI is not implemented.
      • getRIBSupport

        public <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>,​R extends Route & org.opendaylight.yangtools.yang.binding.ChildOf<S> & org.opendaylight.yangtools.yang.binding.Identifiable<I>,​I extends org.opendaylight.yangtools.yang.binding.Identifier<R>> RIBSupport<C,​S,​R,​I> getRIBSupport​(TablesKey key)
        Description copied from interface: RIBExtensionConsumerContext
        Acquire a RIB implementation factory for a AFI/SAFI combination.
        Specified by:
        getRIBSupport in interface RIBExtensionConsumerContext
        Parameters:
        key - AFI/SAFI key
        Returns:
        RIBSupport instance, or null if the AFI/SAFI is not implemented.
      • getRIBSupport

        public <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>,​R extends Route & org.opendaylight.yangtools.yang.binding.ChildOf<S> & org.opendaylight.yangtools.yang.binding.Identifiable<I>,​I extends org.opendaylight.yangtools.yang.binding.Identifier<R>> RIBSupport<C,​S,​R,​I> 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 interface RIBExtensionConsumerContext
        Parameters:
        key - Tables key with AFI/SAFI
        Returns:
        RIBSupport instance, or null if the AFI/SAFI is not implemented.
      • getClassLoadingStrategy

        public org.opendaylight.mdsal.binding.generator.impl.GeneratedClassLoadingStrategy getClassLoadingStrategy()
        Description copied from interface: RIBExtensionConsumerContext
        Returns class loading strategy for loading YANG modeled classes associated with registered RIB supports.
        Specified by:
        getClassLoadingStrategy in interface RIBExtensionConsumerContext
        Returns:
        Class loading strategy for loading YANG modeled classes.