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