Class ClientAttributePrependHandler
- java.lang.Object
-
- org.opendaylight.protocol.bgp.route.targetcontrain.impl.route.policy.ClientAttributePrependHandler
-
- All Implemented Interfaces:
ActionsPolicy<ClientAttributePrepend>
,BgpActionAugPolicy<ClientAttributePrepend>
public final class ClientAttributePrependHandler extends Object implements BgpActionAugPolicy<ClientAttributePrepend>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Attributes
applyExportAction(RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryExportParameters exportParameters, Attributes attributes, ClientAttributePrepend actions)
Applies action to Route Attributes container (Export Policy).Attributes
applyImportAction(RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryImportParameters routeBaseParameters, Attributes attributes, ClientAttributePrepend actions)
Applies action to Route Attributes container (Import Policy).static ClientAttributePrependHandler
getInstance()
-
-
-
Method Detail
-
getInstance
public static ClientAttributePrependHandler getInstance()
-
applyImportAction
public Attributes applyImportAction(RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryImportParameters routeBaseParameters, Attributes attributes, ClientAttributePrepend actions)
Description copied from interface:ActionsPolicy
Applies action to Route Attributes container (Import Policy).- Specified by:
applyImportAction
in interfaceActionsPolicy<ClientAttributePrepend>
- Parameters:
routeEntryInfo
- contains route Entry Info(AS, ClusterId, OriginatorId)routeBaseParameters
- contains route basic informationattributes
- attributesactions
- configured Actions- Returns:
- Filtered attributes, or null if the advertisement should be ignored.
-
applyExportAction
public Attributes applyExportAction(RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryExportParameters exportParameters, Attributes attributes, ClientAttributePrepend actions)
Description copied from interface:ActionsPolicy
Applies action to Route Attributes container (Export Policy).- Specified by:
applyExportAction
in interfaceActionsPolicy<ClientAttributePrepend>
- Parameters:
routeEntryInfo
- contains route Entry Info(AS, ClusterId, OriginatorId)exportParameters
- contains route basic export informationattributes
- attributesactions
- configured Actions- Returns:
- Filtered attributes, or null if the advertisement should be ignored.
-
-