Interface StatementRegistryConsumer

    • Method Detail

      • applyExportStatement

        @NonNull RouteAttributeContainer applyExportStatement​(@NonNull RouteEntryBaseAttributes routeEntryInfo,
                                                              @NonNull Class<? extends 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 Class<? extends 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