Search in sources :

Example 1 with DepiClass

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

the class CiscoControlPlaneExtractor method enterS_depi_class.

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

Aggregations

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