use of org.batfish.representation.cisco.IpAsPathAccessListLine in project batfish by batfish.
the class CiscoControlPlaneExtractor method exitIp_as_path_access_list_tail.
@Override
public void exitIp_as_path_access_list_tail(Ip_as_path_access_list_tailContext ctx) {
LineAction action = toLineAction(ctx.action);
String regex = ctx.as_path_regex.getText().trim();
IpAsPathAccessListLine line = new IpAsPathAccessListLine(action, regex);
_currentAsPathAcl.addLine(line);
}
Aggregations