Interface BGPRibRoutingPolicy


public interface BGPRibRoutingPolicy
Interface for BGP RIB Routing Policy. Apply Import/Export Routing 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 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 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