fixed issue with no_tl3 option for client ssl profile (#61075)
added better error reporting in bigip_firewall_rule module
This commit is contained in:
parent
8bfa7569b5
commit
e89d178440
2 changed files with 4 additions and 2 deletions
|
@ -1100,7 +1100,7 @@ class ModuleManager(object):
|
||||||
except ValueError as ex:
|
except ValueError as ex:
|
||||||
raise F5ModuleError(str(ex))
|
raise F5ModuleError(str(ex))
|
||||||
|
|
||||||
if 'code' in response and response['code'] in [400, 403]:
|
if 'code' in response and response['code'] in [400, 403, 404]:
|
||||||
if 'message' in response:
|
if 'message' in response:
|
||||||
raise F5ModuleError(response['message'])
|
raise F5ModuleError(response['message'])
|
||||||
else:
|
else:
|
||||||
|
@ -1147,7 +1147,7 @@ class ModuleManager(object):
|
||||||
except ValueError as ex:
|
except ValueError as ex:
|
||||||
raise F5ModuleError(str(ex))
|
raise F5ModuleError(str(ex))
|
||||||
|
|
||||||
if 'code' in response and response['code'] == 400:
|
if 'code' in response and response['code'] in [400, 403, 404]:
|
||||||
if 'message' in response:
|
if 'message' in response:
|
||||||
raise F5ModuleError(response['message'])
|
raise F5ModuleError(response['message'])
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -96,6 +96,7 @@ options:
|
||||||
- no-session-resumption-on-renegotiation
|
- no-session-resumption-on-renegotiation
|
||||||
- no-tlsv1.1
|
- no-tlsv1.1
|
||||||
- no-tlsv1.2
|
- no-tlsv1.2
|
||||||
|
- no-tlsv1.3
|
||||||
- single-dh-use
|
- single-dh-use
|
||||||
- ephemeral-rsa
|
- ephemeral-rsa
|
||||||
- cipher-server-preference
|
- cipher-server-preference
|
||||||
|
@ -1040,6 +1041,7 @@ class ArgumentSpec(object):
|
||||||
'no-session-resumption-on-renegotiation',
|
'no-session-resumption-on-renegotiation',
|
||||||
'no-tlsv1.1',
|
'no-tlsv1.1',
|
||||||
'no-tlsv1.2',
|
'no-tlsv1.2',
|
||||||
|
'no-tlsv1.3',
|
||||||
'single-dh-use',
|
'single-dh-use',
|
||||||
'ephemeral-rsa',
|
'ephemeral-rsa',
|
||||||
'cipher-server-preference',
|
'cipher-server-preference',
|
||||||
|
|
Loading…
Reference in a new issue