Skip to content

Commit

Permalink
Emc vnx block:Modifying exception types (#545)
Browse files Browse the repository at this point in the history
* Emc vnx block:Modifying exception types

* and
  • Loading branch information
jiangyutan authored Apr 2, 2021
1 parent 65fff0f commit 6dfa9bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions delfin/drivers/dell_emc/vnx/vnx_block/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand Down

0 comments on commit 6dfa9bd

Please sign in to comment.