From 89a2bd20013b47c1b65d47a46e032987d2409c9f Mon Sep 17 00:00:00 2001 From: zhanghao Date: Tue, 12 May 2020 23:11:34 -0400 Subject: [PATCH] Add aggressive negotiation mode for ikepolicy The phase1 negotiation mode adds support for aggressive mode. Change-Id: I9280fa5216dc98f72db24a13e9f9638711a3494b Partial-Bug: #1701413 --- neutron_lib/api/definitions/vpn.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neutron_lib/api/definitions/vpn.py b/neutron_lib/api/definitions/vpn.py index 3762b2dbd..08d18cb8c 100644 --- a/neutron_lib/api/definitions/vpn.py +++ b/neutron_lib/api/definitions/vpn.py @@ -121,9 +121,11 @@ VPN_SUPPORTED_AUTH_ALGORITHMS = [ # VPN phase1 negotiation mode constants VPN_PHASE1_NEGOTIATION_MODE_MAIN = 'main' +VPN_PHASE1_NEGOTIATION_MODE_AGGRESSIVE = 'aggressive' VPN_SUPPORTED_PHASE1_NEGOTIATION_MODES = [ VPN_PHASE1_NEGOTIATION_MODE_MAIN, + VPN_PHASE1_NEGOTIATION_MODE_AGGRESSIVE, ] # The alias of the extension.