use of org.batfish.representation.cisco.RoutePolicyBooleanMed in project batfish by batfish.
the class CiscoControlPlaneExtractor method toRoutePolicyBoolean.
private RoutePolicyBoolean toRoutePolicyBoolean(Boolean_med_rp_stanzaContext ctx) {
IntComparator cmp = toIntComparator(ctx.int_comp());
IntExpr rhs = toCommonIntExpr(ctx.rhs);
return new RoutePolicyBooleanMed(cmp, rhs);
}
Aggregations