Interface BGPRibRoutingPolicy


  • public interface BGPRibRoutingPolicy
    Interface for BGP RIB Routing Policy. Apply Import/Export Routing 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 information
        attributes - Route attributes
        afiSafiType - 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 information
        attributes - Route attributes
        afiSafType - Afi Safi Type
        Returns:
        modified route attributes after apply policies