Search in sources :

Example 1 with RoutePolicyBooleanAsPathIn

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

the class CiscoControlPlaneExtractor method toRoutePolicyBoolean.

private RoutePolicyBoolean toRoutePolicyBoolean(Boolean_as_path_in_rp_stanzaContext ctx) {
    AsPathSetExpr asPathSetExpr = toAsPathSetExpr(ctx.expr);
    int expressionLine = ctx.expr.getStart().getLine();
    return new RoutePolicyBooleanAsPathIn(asPathSetExpr, expressionLine);
}
Also used : RoutePolicyBooleanAsPathIn(org.batfish.representation.cisco.RoutePolicyBooleanAsPathIn) AsPathSetExpr(org.batfish.datamodel.routing_policy.expr.AsPathSetExpr)

Aggregations

AsPathSetExpr (org.batfish.datamodel.routing_policy.expr.AsPathSetExpr)1 RoutePolicyBooleanAsPathIn (org.batfish.representation.cisco.RoutePolicyBooleanAsPathIn)1