use of org.batfish.datamodel.routing_policy.expr.MatchTag in project batfish by batfish.
the class RouteMapMatchTagLine method toBooleanExpr.
@Override
public BooleanExpr toBooleanExpr(Configuration c, CiscoConfiguration cc, Warnings w) {
Disjunction d = new Disjunction();
List<BooleanExpr> disjuncts = d.getDisjuncts();
for (int tag : _tags) {
disjuncts.add(new MatchTag(IntComparator.EQ, new LiteralInt(tag)));
}
return d.simplify();
}
Aggregations