use of org.batfish.representation.cisco.RoutePolicyPrependAsPath in project batfish by batfish.
the class CiscoControlPlaneExtractor method toRoutePolicyStatement.
private RoutePolicyStatement toRoutePolicyStatement(Prepend_as_path_rp_stanzaContext ctx) {
AsExpr expr = toAsExpr(ctx.as);
IntExpr number = null;
if (ctx.number != null) {
number = toIntExpr(ctx.number);
}
return new RoutePolicyPrependAsPath(expr, number);
}
Aggregations