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:
Wojciech Wypior 2019-08-22 04:58:23 +01:00 committed by Tim Rupp
parent 8bfa7569b5
commit e89d178440
2 changed files with 4 additions and 2 deletions

View file

@ -1100,7 +1100,7 @@ class ModuleManager(object):
except ValueError as 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:
raise F5ModuleError(response['message'])
else:
@ -1147,7 +1147,7 @@ class ModuleManager(object):
except ValueError as 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:
raise F5ModuleError(response['message'])
else:

View file

@ -96,6 +96,7 @@ options:
- no-session-resumption-on-renegotiation
- no-tlsv1.1
- no-tlsv1.2
- no-tlsv1.3
- single-dh-use
- ephemeral-rsa
- cipher-server-preference
@ -1040,6 +1041,7 @@ class ArgumentSpec(object):
'no-session-resumption-on-renegotiation',
'no-tlsv1.1',
'no-tlsv1.2',
'no-tlsv1.3',
'single-dh-use',
'ephemeral-rsa',
'cipher-server-preference',