if (handler == null) {
continue;
}
- if (!handler.matchExportCondition(entryInfo, routeEntryExportParameters,
+ if (!handler.matchExportCondition(afiSafi, entryInfo, routeEntryExportParameters,
handler.getConditionParameter(attributes), entry.getValue())) {
return false;
}
if (handler == null) {
continue;
}
- if (!handler.matchImportCondition(entryInfo, routeEntryImportParameters,
+ if (!handler.matchImportCondition(afiSafi, entryInfo, routeEntryImportParameters,
handler.getConditionParameter(attributes), entry.getValue())) {
return false;
}
final MatchCommunitySet matchCond = conditions.getMatchCommunitySet();
if (matchCond != null) {
final BgpConditionsPolicy handler = this.bgpConditionsRegistry.get(MatchCommunitySet.class);
- if (!handler.matchImportCondition(routeEntryInfo, routeEntryImportParameters,
+ if (!handler.matchImportCondition(afiSafi, routeEntryInfo, routeEntryImportParameters,
handler.getConditionParameter(attributes), matchCond)) {
return false;
}
final MatchAsPathSet matchAsPathSet = conditions.getMatchAsPathSet();
if (matchCond != null) {
final BgpConditionsPolicy handler = this.bgpConditionsRegistry.get(MatchAsPathSet.class);
- if (!handler.matchImportCondition(routeEntryInfo, routeEntryImportParameters,
+ if (!handler.matchImportCondition(afiSafi, routeEntryInfo, routeEntryImportParameters,
handler.getConditionParameter(attributes), matchAsPathSet)) {
return false;
}
final MatchExtCommunitySet matchExtCommSet = conditions.getMatchExtCommunitySet();
if (matchExtCommSet != null) {
final BgpConditionsPolicy handler = this.bgpConditionsRegistry.get(MatchAsPathSet.class);
- if (!handler.matchImportCondition(routeEntryInfo, routeEntryImportParameters,
+ if (!handler.matchImportCondition(afiSafi, routeEntryInfo, routeEntryImportParameters,
handler.getConditionParameter(attributes), matchExtCommSet)) {
return false;
}
final MatchCommunitySet matchCond = conditions.getMatchCommunitySet();
if (matchCond != null) {
final BgpConditionsPolicy handler = this.bgpConditionsRegistry.get(MatchCommunitySet.class);
- if (!handler.matchExportCondition(routeEntryInfo, routeEntryExportParameters,
+ if (!handler.matchExportCondition(afiSafi, routeEntryInfo, routeEntryExportParameters,
handler.getConditionParameter(attributes), matchCond)) {
return false;
}
final MatchAsPathSet matchAsPathSet = conditions.getMatchAsPathSet();
if (matchAsPathSet != null) {
final BgpConditionsPolicy handler = this.bgpConditionsRegistry.get(MatchAsPathSet.class);
- if (!handler.matchExportCondition(routeEntryInfo, routeEntryExportParameters,
+ if (!handler.matchExportCondition(afiSafi, routeEntryInfo, routeEntryExportParameters,
handler.getConditionParameter(attributes), matchAsPathSet)) {
return false;
}
final MatchExtCommunitySet matchExtCommSet = conditions.getMatchExtCommunitySet();
if (matchExtCommSet != null) {
final BgpConditionsPolicy handler = this.bgpConditionsRegistry.get(MatchExtCommunitySet.class);
- if (!handler.matchExportCondition(routeEntryInfo, routeEntryExportParameters,
+ if (!handler.matchExportCondition(afiSafi, routeEntryInfo, routeEntryExportParameters,
handler.getConditionParameter(attributes), matchExtCommSet)) {
return false;
}