use of org.batfish.representation.juniper.PsThenNextHopIp in project batfish by batfish.
the class ConfigurationBuilder method exitPopst_next_hop.
@Override
public void exitPopst_next_hop(Popst_next_hopContext ctx) {
PsThen then;
if (ctx.IP_ADDRESS() != null) {
Ip nextHopIp = new Ip(ctx.IP_ADDRESS().getText());
then = new PsThenNextHopIp(nextHopIp);
} else {
todo(ctx, F_POLICY_TERM_THEN_NEXT_HOP);
return;
}
_currentPsThens.add(then);
}
Aggregations