Interface StatementRegistryConsumer
- All Known Implementing Classes:
OSGiStatementRegistry
,SimpleStatementRegistry
,StatementRegistry
public interface StatementRegistryConsumer
Registry of Statement to be consumed by Export and Import BGPRIBPolicy.
-
Method Summary
Modifier and TypeMethodDescription@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).@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).
-
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 TypebaseExportParameters
- export Parametersattributes
- route attributesstatement
- 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 TyperouteBaseParameters
- route base parametersattributes
- route attributesstatement
- Statement containing Conditions/Actions- Returns:
- modified Route attributes
-