use of org.batfish.representation.juniper.FwFromDestinationPrefixListExcept in project batfish by batfish.
the class ConfigurationBuilder method exitFftf_destination_prefix_list.
@Override
public void exitFftf_destination_prefix_list(Fftf_destination_prefix_listContext ctx) {
String name = ctx.name.getText();
// temporary
if (_currentFilter.getFamily() != Family.INET) {
_configuration.getIgnoredPrefixLists().add(name);
}
FwFrom from;
if (ctx.EXCEPT() != null) {
from = new FwFromDestinationPrefixListExcept(name);
} else {
from = new FwFromDestinationPrefixList(name);
}
_currentFwTerm.getFroms().add(from);
}
Aggregations