Class AbstractFlowspecRIBSupport<T extends AbstractFlowspecNlriParser,C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject,S extends org.opendaylight.yangtools.yang.binding.ChildOf<? super C>,R extends Route & org.opendaylight.yangtools.yang.binding.ChildOf<? super S> & org.opendaylight.yangtools.yang.binding.KeyAware<?>>

java.lang.Object
org.opendaylight.protocol.bgp.rib.spi.AbstractRIBSupport<C,S,R>
org.opendaylight.protocol.bgp.flowspec.AbstractFlowspecRIBSupport<T,C,S,R>
All Implemented Interfaces:
RIBSupport<C,S>
Direct Known Subclasses:
AbstractFlowspecL3vpnRIBSupport, FlowspecIpv4RIBSupport, FlowspecIpv6RIBSupport

@Beta public abstract class AbstractFlowspecRIBSupport<T extends AbstractFlowspecNlriParser,C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject,S extends org.opendaylight.yangtools.yang.binding.ChildOf<? super C>,R extends Route & org.opendaylight.yangtools.yang.binding.ChildOf<? super S> & org.opendaylight.yangtools.yang.binding.KeyAware<?>> extends AbstractRIBSupport<C,S,R>
  • Field Details

  • Constructor Details

    • AbstractFlowspecRIBSupport

      protected AbstractFlowspecRIBSupport(org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer mappingService, Class<C> cazeClass, org.opendaylight.yangtools.yang.common.QName cazeQName, Class<S> containerClass, org.opendaylight.yangtools.yang.common.QName containerQName, Class<R> listClass, org.opendaylight.yangtools.yang.common.QName listQName, AddressFamily afi, org.opendaylight.yangtools.yang.common.QName afiQName, SubsequentAddressFamily safi, org.opendaylight.yangtools.yang.common.QName safiQName, org.opendaylight.yangtools.yang.common.QName dstContainerClassQName, T nlriParser)
  • Method Details

    • buildDestination

      protected final DestinationType buildDestination(Collection<org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode> routes)
      Specified by:
      buildDestination in class AbstractRIBSupport<C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject,S extends org.opendaylight.yangtools.yang.binding.ChildOf<? super C>,R extends Route & org.opendaylight.yangtools.yang.binding.ChildOf<? super S> & org.opendaylight.yangtools.yang.binding.KeyAware<?>>
    • buildDestination

      protected abstract @NonNull DestinationType buildDestination(org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode route, @Nullable PathId pathId)
    • buildWithdrawnDestination

      protected final DestinationType buildWithdrawnDestination(Collection<org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode> routes)
      Specified by:
      buildWithdrawnDestination in class AbstractRIBSupport<C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject,S extends org.opendaylight.yangtools.yang.binding.ChildOf<? super C>,R extends Route & org.opendaylight.yangtools.yang.binding.ChildOf<? super S> & org.opendaylight.yangtools.yang.binding.KeyAware<?>>
    • buildWithdrawnDestination

      protected abstract @NonNull DestinationType buildWithdrawnDestination(org.opendaylight.yangtools.yang.data.api.schema.MapEntryNode route, @Nullable PathId pathId)
    • processDestination

      protected final Collection<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates> processDestination(org.opendaylight.mdsal.dom.api.DOMDataTreeWriteTransaction tx, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier routesPath, org.opendaylight.yangtools.yang.data.api.schema.ContainerNode destination, org.opendaylight.yangtools.yang.data.api.schema.ContainerNode attributes, RIBSupport.ApplyRoute function)
      Specified by:
      processDestination in class AbstractRIBSupport<C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject,S extends org.opendaylight.yangtools.yang.binding.ChildOf<? super C>,R extends Route & org.opendaylight.yangtools.yang.binding.ChildOf<? super S> & org.opendaylight.yangtools.yang.binding.KeyAware<?>>