fixed issue with no_tl3 option for client ssl profile (#61075)

added better error reporting in bigip_firewall_rule module
pull/60571/head
Wojciech Wypior 5 years ago committed by Tim Rupp
parent 8bfa7569b5
commit e89d178440

@ -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…
Cancel
Save