Class MatchBgpNeighborSetHandler
- java.lang.Object
-
- org.opendaylight.protocol.bgp.openconfig.routing.policy.statement.conditions.MatchBgpNeighborSetHandler
-
- All Implemented Interfaces:
BgpConditionsAugmentationPolicy<MatchBgpNeighborCondition,Void>
,ConditionsPolicy<MatchBgpNeighborCondition,Void>
public final class MatchBgpNeighborSetHandler extends Object implements BgpConditionsAugmentationPolicy<MatchBgpNeighborCondition,Void>
Match a set of Neighbors(ip address) (ANY, INVERT).
-
-
Constructor Summary
Constructors Constructor Description MatchBgpNeighborSetHandler(org.opendaylight.mdsal.binding.api.DataBroker dataBroker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
getConditionParameter(Attributes attributes)
Returns the specific attribute to check if match condition.boolean
matchExportCondition(Class<? extends AfiSafiType> afiSafi, RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryExportParameters exportParameters, Void nonAttributres, MatchBgpNeighborCondition conditions)
Check if route matches defined condition (Export Policy).boolean
matchImportCondition(Class<? extends AfiSafiType> afiSafi, RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryImportParameters importParameters, Void nonAttributres, MatchBgpNeighborCondition conditions)
Check if route matches defined condition (Import Policy).
-
-
-
Method Detail
-
matchImportCondition
public boolean matchImportCondition(Class<? extends AfiSafiType> afiSafi, RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryImportParameters importParameters, Void nonAttributres, MatchBgpNeighborCondition conditions)
Description copied from interface:ConditionsPolicy
Check if route matches defined condition (Import Policy).- Specified by:
matchImportCondition
in interfaceConditionsPolicy<MatchBgpNeighborCondition,Void>
- Parameters:
afiSafi
- Afi Safi TyperouteEntryInfo
- contains route Entry Info(AS, ClusterId, OriginatorId)importParameters
- contains route basic informationnonAttributres
- attributesconditions
- configured conditions- Returns:
- true if all defined condition matches
-
matchExportCondition
public boolean matchExportCondition(Class<? extends AfiSafiType> afiSafi, RouteEntryBaseAttributes routeEntryInfo, BGPRouteEntryExportParameters exportParameters, Void nonAttributres, MatchBgpNeighborCondition conditions)
Description copied from interface:ConditionsPolicy
Check if route matches defined condition (Export Policy).- Specified by:
matchExportCondition
in interfaceConditionsPolicy<MatchBgpNeighborCondition,Void>
- Parameters:
afiSafi
- Afi Safi TyperouteEntryInfo
- contains route Entry Info(AS, ClusterId, OriginatorId)exportParameters
- route basic export informationnonAttributres
- 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<MatchBgpNeighborCondition,Void>
- Parameters:
attributes
- route attributes- Returns:
- specific attribute
-
-