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