Interface BGPRibRoutingPolicy
-
public interface BGPRibRoutingPolicy
Interface for BGP RIB Routing Policy. Apply Import/Export Routing Policy to route attributes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull Optional<Attributes>
applyExportPolicies(@NonNull BGPRouteEntryExportParameters policyParameters, @NonNull Attributes attributes, @NonNull Class<? extends AfiSafiType> afiSafType)
Apply export policy to route attributes.@NonNull Optional<Attributes>
applyImportPolicies(@NonNull BGPRouteEntryImportParameters policyParameters, @NonNull Attributes attributes, @NonNull Class<? extends AfiSafiType> afiSafiType)
Apply import policy to route attributes.
-
-
-
Method Detail
-
applyImportPolicies
@NonNull Optional<Attributes> applyImportPolicies(@NonNull BGPRouteEntryImportParameters policyParameters, @NonNull Attributes attributes, @NonNull Class<? extends AfiSafiType> afiSafiType)
Apply import policy to route attributes.- Parameters:
policyParameters
- containing attributes and sender peer informationattributes
- Route attributesafiSafiType
- Afi Safi Type- Returns:
- modified route attributes after apply policies
-
applyExportPolicies
@NonNull Optional<Attributes> applyExportPolicies(@NonNull BGPRouteEntryExportParameters policyParameters, @NonNull Attributes attributes, @NonNull Class<? extends AfiSafiType> afiSafType)
Apply export policy to route attributes.- Parameters:
policyParameters
- containing attributes and sender/receiver peer informationattributes
- Route attributesafiSafType
- Afi Safi Type- Returns:
- modified route attributes after apply policies
-
-