Search in sources :

Example 1 with RouteMapSetMetricLine

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

the class CiscoControlPlaneExtractor method exitSet_metric_rm_stanza.

@Override
public void exitSet_metric_rm_stanza(Set_metric_rm_stanzaContext ctx) {
    LongExpr metric = toMetricLongExpr(ctx.metric);
    RouteMapSetMetricLine line = new RouteMapSetMetricLine(metric);
    _currentRouteMapClause.addSetLine(line);
}
Also used : RouteMapSetMetricLine(org.batfish.representation.cisco.RouteMapSetMetricLine) LongExpr(org.batfish.datamodel.routing_policy.expr.LongExpr)

Aggregations

LongExpr (org.batfish.datamodel.routing_policy.expr.LongExpr)1 RouteMapSetMetricLine (org.batfish.representation.cisco.RouteMapSetMetricLine)1