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