NSX|V fix exception & typo in vpn driver
TrivialFix Change-Id: I2b52fb1c3220245e4fed6a9658d022d80cbc3a18
This commit is contained in:
parent
5e9d41ac17
commit
5aafe4d0f4
@ -37,7 +37,7 @@ class IPsecValidator(vpn_validator.VpnReferenceValidator):
|
||||
if version != 'v1':
|
||||
msg = _("Unsupported ike policy %s! only v1 "
|
||||
"is supported right now.") % version
|
||||
raise nsxv_exc.NsxIPsecVpnError(details=msg)
|
||||
raise nsxv_exc.NsxVpnValidationError(details=msg)
|
||||
|
||||
def validate_ikepolicy_pfs(self, policy_info):
|
||||
# Check whether pfs is allowed.
|
||||
@ -52,7 +52,7 @@ class IPsecValidator(vpn_validator.VpnReferenceValidator):
|
||||
encryption = policy_info['encryption_algorithm']
|
||||
if encryption not in nsxv_constants.ENCRYPTION_ALGORITHM_MAP:
|
||||
msg = _("Unsupported encryption_algorithm: %(algo)s! please "
|
||||
"select one of the followoing supported algorithms: "
|
||||
"select one of the following supported algorithms: "
|
||||
"%(supported_algos)s") % {
|
||||
'algo': encryption,
|
||||
'supported_algos':
|
||||
|
Loading…
Reference in New Issue
Block a user