Skip to content

Commit 65a6430

Browse files
Jenkinsopenstack-gerrit
Jenkins
authored andcommitted
Merge "Remove strict checking of encryption type"
2 parents fbd7e4f + b21cafa commit 65a6430

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

neutronclient/neutron/v2_0/vpn/ikepolicy.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,7 @@ def add_known_arguments(self, parser):
6060
'Default:sha1'))
6161
parser.add_argument(
6262
'--encryption-algorithm',
63-
default='aes-128', choices=['3des',
64-
'aes-128',
65-
'aes-192',
66-
'aes-256'],
63+
default='aes-128',
6764
help=_('Encryption algorithm in lowercase, default:aes-128'))
6865
parser.add_argument(
6966
'--phase1-negotiation-mode',

neutronclient/neutron/v2_0/vpn/ipsecpolicy.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,7 @@ def add_known_arguments(self, parser):
6262
help=_('Authentication algorithm in lowercase, default:sha1'))
6363
parser.add_argument(
6464
'--encryption-algorithm',
65-
default='aes-128', choices=['3des',
66-
'aes-128',
67-
'aes-192',
68-
'aes-256'],
65+
default='aes-128',
6966
help=_('Encryption algorithm in lowercase, default:aes-128'))
7067
parser.add_argument(
7168
'--encapsulation-mode',

0 commit comments

Comments
 (0)