mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
169fbc4c94
commit
1a266e29a7
1 changed files with 3 additions and 3 deletions
|
@ -322,7 +322,7 @@ def get_igmp_interface(module, interface):
|
||||||
'ConfiguredStartupQueryInterval': 'startup_query_interval',
|
'ConfiguredStartupQueryInterval': 'startup_query_interval',
|
||||||
'StartupQueryCount': 'startup_query_count',
|
'StartupQueryCount': 'startup_query_count',
|
||||||
'RobustnessVariable': 'robustness',
|
'RobustnessVariable': 'robustness',
|
||||||
'QuerierTimeout': 'querier_timeout',
|
'ConfiguredQuerierTimeout': 'querier_timeout',
|
||||||
'ConfiguredMaxResponseTime': 'query_mrt',
|
'ConfiguredMaxResponseTime': 'query_mrt',
|
||||||
'ConfiguredQueryInterval': 'query_interval',
|
'ConfiguredQueryInterval': 'query_interval',
|
||||||
'LastMemberMTR': 'last_member_qrt',
|
'LastMemberMTR': 'last_member_qrt',
|
||||||
|
@ -342,9 +342,9 @@ def get_igmp_interface(module, interface):
|
||||||
igmp['report_llg'] = False
|
igmp['report_llg'] = False
|
||||||
|
|
||||||
immediate_leave = str(resource['ImmediateLeave']) # returns en or dis
|
immediate_leave = str(resource['ImmediateLeave']) # returns en or dis
|
||||||
if immediate_leave == 'en':
|
if immediate_leave == 'en' or immediate_leave == 'true':
|
||||||
igmp['immediate_leave'] = True
|
igmp['immediate_leave'] = True
|
||||||
elif immediate_leave == 'dis':
|
elif immediate_leave == 'dis' or immediate_leave == 'false':
|
||||||
igmp['immediate_leave'] = False
|
igmp['immediate_leave'] = False
|
||||||
|
|
||||||
# the next block of code is used to retrieve anything with:
|
# the next block of code is used to retrieve anything with:
|
||||||
|
|
Loading…
Reference in a new issue