Class NonTransitiveAttributesFilterHandler
java.lang.Object
org.opendaylight.protocol.bgp.openconfig.routing.policy.statement.actions.NonTransitiveAttributesFilterHandler
- All Implemented Interfaces:
ActionsPolicy<NonTransitiveAttributesFilter>
,BgpActionAugPolicy<NonTransitiveAttributesFilter>
public final class NonTransitiveAttributesFilterHandler
extends Object
implements BgpActionAugPolicy<NonTransitiveAttributesFilter>
Removes non transitive attributes.
-
Method Summary
Modifier and TypeMethodDescriptionapplyExportAction
(RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryExportParameters routeEntryExportParameters, Attributes attributes, NonTransitiveAttributesFilter bgpActions) Applies action to Route Attributes container (Export Policy).applyImportAction
(RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryImportParameters routeEntryImportParameters, Attributes attributes, NonTransitiveAttributesFilter bgpActions) Applies action to Route Attributes container (Import Policy).
-
Method Details
-
getInstance
-
applyImportAction
public Attributes applyImportAction(RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryImportParameters routeEntryImportParameters, Attributes attributes, NonTransitiveAttributesFilter bgpActions) Description copied from interface:ActionsPolicy
Applies action to Route Attributes container (Import Policy).- Specified by:
applyImportAction
in interfaceActionsPolicy<NonTransitiveAttributesFilter>
- 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, NonTransitiveAttributesFilter bgpActions) Description copied from interface:ActionsPolicy
Applies action to Route Attributes container (Export Policy).- Specified by:
applyExportAction
in interfaceActionsPolicy<NonTransitiveAttributesFilter>
- 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.
-