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