use of org.batfish.representation.cisco.IsakmpPolicy in project batfish by batfish.
the class CiscoControlPlaneExtractor method enterCis_policy.
@Override
public void enterCis_policy(Cis_policyContext ctx) {
if (_currentIsakmpPolicy != null) {
throw new BatfishException("IsakmpPolicy should be null!");
}
_currentIsakmpPolicy = new IsakmpPolicy(ctx.name.getText(), ctx.getStart().getLine());
_currentIsakmpPolicy.getProposal().setAuthenticationAlgorithm(IkeAuthenticationAlgorithm.SHA1);
}
Aggregations