From 5aafe4d0f477e99a5f4af2a8bac4800eb4042bd4 Mon Sep 17 00:00:00 2001 From: Adit Sarfaty Date: Wed, 8 Nov 2017 09:23:54 +0200 Subject: [PATCH] NSX|V fix exception & typo in vpn driver TrivialFix Change-Id: I2b52fb1c3220245e4fed6a9658d022d80cbc3a18 --- vmware_nsx/services/vpnaas/nsxv/ipsec_validator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vmware_nsx/services/vpnaas/nsxv/ipsec_validator.py b/vmware_nsx/services/vpnaas/nsxv/ipsec_validator.py index 2549ffb8d1..cc4a825780 100644 --- a/vmware_nsx/services/vpnaas/nsxv/ipsec_validator.py +++ b/vmware_nsx/services/vpnaas/nsxv/ipsec_validator.py @@ -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':