Class MatchAfiSafiNotInHandler
java.lang.Object
org.opendaylight.protocol.bgp.openconfig.routing.policy.statement.conditions.MatchAfiSafiNotInHandler
- All Implemented Interfaces:
BgpConditionsAugmentationPolicy<MatchAfiSafiNotInCondition,
,Void> ConditionsPolicy<MatchAfiSafiNotInCondition,
Void>
public final class MatchAfiSafiNotInHandler
extends Object
implements BgpConditionsAugmentationPolicy<MatchAfiSafiNotInCondition,Void>
Match NLRI does not pertain to specific AFI/SAFI.
-
Method Summary
Modifier and TypeMethodDescriptiongetConditionParameter
(Attributes attributes) Returns the specific attribute to check if match condition.static MatchAfiSafiNotInHandler
boolean
matchExportCondition
(AfiSafiType afiSafi, RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryExportParameters routeEntryExportParameters, Void attributes, MatchAfiSafiNotInCondition conditions) Check if route matches defined condition (Export Policy).boolean
matchImportCondition
(AfiSafiType afiSafi, RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryImportParameters routeEntryImportParameters, Void attributes, MatchAfiSafiNotInCondition conditions) Check if route matches defined condition (Import Policy).
-
Method Details
-
getInstance
-
matchImportCondition
public boolean matchImportCondition(AfiSafiType afiSafi, RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryImportParameters routeEntryImportParameters, Void attributes, MatchAfiSafiNotInCondition conditions) Description copied from interface:ConditionsPolicy
Check if route matches defined condition (Import Policy).- Specified by:
matchImportCondition
in interfaceConditionsPolicy<MatchAfiSafiNotInCondition,
Void> - Parameters:
afiSafi
- Afi Safi TyperouteEntryInfo
- contains route Entry Info(AS, ClusterId, OriginatorId)routeEntryImportParameters
- contains route basic informationattributes
- attributesconditions
- configured conditions- Returns:
- true if all defined condition matches
-
matchExportCondition
public boolean matchExportCondition(AfiSafiType afiSafi, RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryExportParameters routeEntryExportParameters, Void attributes, MatchAfiSafiNotInCondition conditions) Description copied from interface:ConditionsPolicy
Check if route matches defined condition (Export Policy).- Specified by:
matchExportCondition
in interfaceConditionsPolicy<MatchAfiSafiNotInCondition,
Void> - Parameters:
afiSafi
- Afi Safi TyperouteEntryInfo
- contains route Entry Info(AS, ClusterId, OriginatorId)routeEntryExportParameters
- route basic export informationattributes
- attributesconditions
- configured conditions- Returns:
- true if all defined condition matches
-
getConditionParameter
Description copied from interface:ConditionsPolicy
Returns the specific attribute to check if match condition.- Specified by:
getConditionParameter
in interfaceConditionsPolicy<MatchAfiSafiNotInCondition,
Void> - Parameters:
attributes
- route attributes- Returns:
- specific attribute
-