Search in sources :

Example 1 with NatPool

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;
}
Also used : NatPool(org.batfish.representation.cisco.NatPool)

Aggregations

NatPool (org.batfish.representation.cisco.NatPool)1