Search in sources :

Example 1 with DepiTunnel

use of org.batfish.datamodel.vendor_family.cisco.DepiTunnel in project batfish by batfish.

the class CiscoControlPlaneExtractor method enterS_depi_tunnel.

@Override
public void enterS_depi_tunnel(S_depi_tunnelContext ctx) {
    String name = ctx.name.getText();
    int line = ctx.getStart().getLine();
    _configuration.getCf().getDepiTunnels().computeIfAbsent(name, n -> new DepiTunnel(n, line));
}
Also used : DepiTunnel(org.batfish.datamodel.vendor_family.cisco.DepiTunnel)

Aggregations

DepiTunnel (org.batfish.datamodel.vendor_family.cisco.DepiTunnel)1