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