Search in sources :

Example 1 with L2tpClass

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

the class CiscoControlPlaneExtractor method enterS_l2tp_class.

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

Aggregations

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