Search in sources :

Example 1 with DocsisPolicyRule

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

the class CiscoControlPlaneExtractor method enterClb_rule.

@Override
public void enterClb_rule(Clb_ruleContext ctx) {
    String name = ctx.rulenum.getText();
    int line = ctx.getStart().getLine();
    _configuration.getCf().getCable().getDocsisPolicyRules().computeIfAbsent(name, n -> new DocsisPolicyRule(n, line));
}
Also used : DocsisPolicyRule(org.batfish.datamodel.vendor_family.cisco.DocsisPolicyRule)

Aggregations

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