diff --git a/delfin/drivers/dell_emc/vnx/vnx_block/consts.py b/delfin/drivers/dell_emc/vnx/vnx_block/consts.py index 6f14898db..c42d38cac 100644 --- a/delfin/drivers/dell_emc/vnx/vnx_block/consts.py +++ b/delfin/drivers/dell_emc/vnx/vnx_block/consts.py @@ -14,7 +14,7 @@ from delfin import exception from delfin.common import constants -SOCKET_TIMEOUT = 30 +SOCKET_TIMEOUT = 10 CER_ERR = 'Unable to validate the identity of the server' CALLER_ERR = 'Caller not privileged' SECURITY_ERR = 'Security file not found' @@ -24,8 +24,8 @@ EXCEPTION_MAP = {CER_ERR: exception.SSLCertificateFailed, CALLER_ERR: exception.InvalidUsernameOrPassword, SECURITY_ERR: exception.InvalidUsernameOrPassword, - TRYING_CONNECT_ERR: exception.ConnectTimeout, - CONNECTION_ERR: exception.ConnectTimeout, + TRYING_CONNECT_ERR: exception.InvalidIpOrPort, + CONNECTION_ERR: exception.InvalidIpOrPort, INVALID_ERR: exception.InvalidUsernameOrPassword} CER_STORE = '2' CER_REJECT = '3'