Interface BGPRibRoutingPolicy
public interface BGPRibRoutingPolicy
Interface for BGP RIB Routing Policy. Apply Import/Export Routing Policy to route attributes.
-
Method Summary
Modifier and TypeMethodDescription@NonNull Optional
<Attributes> applyExportPolicies
(@NonNull BGPRouteEntryExportParameters policyParameters, @NonNull Attributes attributes, @NonNull AfiSafiType afiSafType) Apply export policy to route attributes.@NonNull Optional
<Attributes> applyImportPolicies
(@NonNull BGPRouteEntryImportParameters policyParameters, @NonNull Attributes attributes, @NonNull AfiSafiType afiSafiType) Apply import policy to route attributes.
-
Method Details
-
applyImportPolicies
@NonNull Optional<Attributes> applyImportPolicies(@NonNull BGPRouteEntryImportParameters policyParameters, @NonNull Attributes attributes, @NonNull 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 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
-