use of org.batfish.datamodel.DiffieHellmanGroup in project batfish by batfish.
the class ConfigurationBuilder method exitSeikpr_dh_group.
@Override
public void exitSeikpr_dh_group(Seikpr_dh_groupContext ctx) {
DiffieHellmanGroup group = toDhGroup(ctx.dh_group());
_currentIkeProposal.setDiffieHellmanGroup(group);
}
use of org.batfish.datamodel.DiffieHellmanGroup in project batfish by batfish.
the class ConfigurationBuilder method exitSeipp_perfect_forward_secrecy.
@Override
public void exitSeipp_perfect_forward_secrecy(Seipp_perfect_forward_secrecyContext ctx) {
DiffieHellmanGroup dhGroup = toDhGroup(ctx.dh_group());
_currentIpsecPolicy.setPfsKeyGroup(dhGroup);
}
use of org.batfish.datamodel.DiffieHellmanGroup in project batfish by batfish.
the class FlatVyosControlPlaneExtractor method exitIkept_dh_group.
@Override
public void exitIkept_dh_group(Ikept_dh_groupContext ctx) {
int num = toInteger(ctx.num);
DiffieHellmanGroup dhGroup = DiffieHellmanGroup.fromGroupNumber(num);
_currentIkeProposal.setDhGroup(dhGroup);
}
Aggregations