use of org.batfish.representation.juniper.PsFromFamilyInet6 in project batfish by batfish.
the class ConfigurationBuilder method exitPopsf_family.
@Override
public void exitPopsf_family(Popsf_familyContext ctx) {
PsFrom from;
if (ctx.INET() != null) {
from = new PsFromFamilyInet();
} else if (ctx.INET6() != null) {
from = new PsFromFamilyInet6();
} else {
throw new BatfishException("Unsupported family: " + ctx.getText());
}
_currentPsTerm.getFroms().add(from);
}
Aggregations