Interface StatementRegistryConsumer

All Known Implementing Classes:
OSGiStatementRegistry, SimpleStatementRegistry, StatementRegistry

public interface StatementRegistryConsumer
Registry of Statement to be consumed by Export and Import BGPRIBPolicy.
  • Method Details

    • applyExportStatement

      @NonNull RouteAttributeContainer applyExportStatement(@NonNull RouteEntryBaseAttributes routeEntryInfo, @NonNull AfiSafiType afiSafi, @NonNull BGPRouteEntryExportParameters baseExportParameters, @NonNull RouteAttributeContainer attributes, @NonNull Statement statement)
      Apply statement to BGP Route Attributes (Export Policy).
      Parameters:
      routeEntryInfo - contains route Entry Info(AS, ClusterId, OriginatorId)
      afiSafi - Afi Safi Type
      baseExportParameters - export Parameters
      attributes - route attributes
      statement - Statement containing Conditions/Actions
      Returns:
      modified Route attributes
    • applyImportStatement

      @NonNull RouteAttributeContainer applyImportStatement(@NonNull RouteEntryBaseAttributes routeEntryInfo, @NonNull AfiSafiType afiSafi, @NonNull BGPRouteEntryImportParameters routeBaseParameters, @NonNull RouteAttributeContainer attributes, @NonNull Statement statement)
      Apply statement to BGP Route Attributes (Import Policy).
      Parameters:
      routeEntryInfo - contains route Entry Info(AS, ClusterId, OriginatorId)
      afiSafi - Afi Safi Type
      routeBaseParameters - route base parameters
      attributes - route attributes
      statement - Statement containing Conditions/Actions
      Returns:
      modified Route attributes