use of org.batfish.representation.cisco.NatPool in project batfish by batfish.
the class CiscoControlPlaneExtractor method enterIp_nat_pool.
@Override
public void enterIp_nat_pool(Ip_nat_poolContext ctx) {
String name = ctx.name.getText();
int definitionLine = ctx.name.getStart().getLine();
NatPool natPool = new NatPool(name, definitionLine);
_configuration.getNatPools().put(name, natPool);
_currentNatPool = natPool;
}
Aggregations