Search in sources :

Example 1 with RoutePolicyBooleanTagIs

use of org.batfish.representation.cisco.RoutePolicyBooleanTagIs in project batfish by batfish.

the class CiscoControlPlaneExtractor method toRoutePolicyBoolean.

private RoutePolicyBoolean toRoutePolicyBoolean(Boolean_tag_is_rp_stanzaContext ctx) {
    IntComparator cmp = toIntComparator(ctx.int_comp());
    IntExpr rhs = toTagIntExpr(ctx.int_expr());
    return new RoutePolicyBooleanTagIs(cmp, rhs);
}
Also used : RoutePolicyBooleanTagIs(org.batfish.representation.cisco.RoutePolicyBooleanTagIs) IntComparator(org.batfish.datamodel.routing_policy.expr.IntComparator) IntExpr(org.batfish.datamodel.routing_policy.expr.IntExpr)

Aggregations

IntComparator (org.batfish.datamodel.routing_policy.expr.IntComparator)1 IntExpr (org.batfish.datamodel.routing_policy.expr.IntExpr)1 RoutePolicyBooleanTagIs (org.batfish.representation.cisco.RoutePolicyBooleanTagIs)1