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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
getConditionParameter(Attributes attributes)
Returns the specific attribute to check if match condition.static MatchAfiSafiNotInHandler
getInstance()
boolean
matchExportCondition(Class<? extends AfiSafiType> afiSafi, RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryExportParameters routeEntryExportParameters, Void attributes, MatchAfiSafiNotInCondition conditions)
Check if route matches defined condition (Export Policy).boolean
matchImportCondition(Class<? extends AfiSafiType> afiSafi, RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryImportParameters routeEntryImportParameters, Void attributes, MatchAfiSafiNotInCondition conditions)
Check if route matches defined condition (Import Policy).
-
-
-
Method Detail
-
getInstance
public static MatchAfiSafiNotInHandler getInstance()
-
matchImportCondition
public boolean matchImportCondition(Class<? extends 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(Class<? extends 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
public Void getConditionParameter(Attributes attributes)
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
-
-