use of org.batfish.representation.cisco.ExtendedIpv6AccessList in project batfish by batfish.
the class CiscoControlPlaneExtractor method enterExtended_ipv6_access_list_stanza.
@Override
public void enterExtended_ipv6_access_list_stanza(Extended_ipv6_access_list_stanzaContext ctx) {
String name;
int definitionLine;
if (ctx.name != null) {
name = ctx.name.getText();
definitionLine = ctx.name.getStart().getLine();
} else {
throw new BatfishException("Could not determine acl name");
}
ExtendedIpv6AccessList list = _configuration.getExtendedIpv6Acls().computeIfAbsent(name, n -> new ExtendedIpv6AccessList(n, definitionLine));
_currentExtendedIpv6Acl = list;
}
Aggregations