Various small fixes (#27766)

This commit is contained in:
George Nikolopoulos 2017-08-16 21:14:21 +03:00 committed by Brian Coca
commit b339f23485
4 changed files with 6 additions and 23 deletions

View file

@ -151,11 +151,6 @@ options:
the service as UP at all times.
type: bool
sc:
description:
- "State of the SureConnect feature for the service group."
type: bool
sp:
description:
- "Enable surge protection for the service group."
@ -693,7 +688,6 @@ def main():
pathmonitorindv=dict(type='bool'),
useproxyport=dict(type='bool'),
healthmonitor=dict(type='bool'),
sc=dict(type='bool'),
sp=dict(type='bool'),
rtspsessionidremap=dict(type='bool'),
clttimeout=dict(type='float'),
@ -789,7 +783,6 @@ def main():
'pathmonitorindv',
'useproxyport',
'healthmonitor',
'sc',
'sp',
'rtspsessionidremap',
'clttimeout',
@ -862,7 +855,6 @@ def main():
'healthmonitor': ['bool_yes_no'],
'useproxyport': ['bool_yes_no'],
'rtspsessionidremap': ['bool_on_off'],
'sc': ['bool_on_off'],
'graceful': ['bool_yes_no'],
'cmp': ['bool_yes_no'],
}
@ -926,7 +918,11 @@ def main():
if not servicegroup_exists(client, module):
module.fail_json(msg='Service group is not present', **module_result)
if not servicegroup_identical(client, module, servicegroup_proxy):
module.fail_json(msg='Service group is not identical to configuration', **module_result)
module.fail_json(
msg='Service group is not identical to configuration',
diff=diff(client, module, servicegroup_proxy),
**module_result
)
if not servicemembers_identical(client, module):
module.fail_json(msg='Service group members differ from configuration', **module_result)
if not monitor_bindings_identical(client, module):