From 1a266e29a78674b7c5ea309de9c2c6800fc4c9f0 Mon Sep 17 00:00:00 2001 From: rahushen Date: Wed, 13 Sep 2017 11:08:22 -0400 Subject: [PATCH] Fixes #28793, #27484 (#29745) --- lib/ansible/modules/network/nxos/nxos_igmp_interface.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/network/nxos/nxos_igmp_interface.py b/lib/ansible/modules/network/nxos/nxos_igmp_interface.py index a58b1fd562c..0a6e7b24956 100644 --- a/lib/ansible/modules/network/nxos/nxos_igmp_interface.py +++ b/lib/ansible/modules/network/nxos/nxos_igmp_interface.py @@ -322,7 +322,7 @@ def get_igmp_interface(module, interface): 'ConfiguredStartupQueryInterval': 'startup_query_interval', 'StartupQueryCount': 'startup_query_count', 'RobustnessVariable': 'robustness', - 'QuerierTimeout': 'querier_timeout', + 'ConfiguredQuerierTimeout': 'querier_timeout', 'ConfiguredMaxResponseTime': 'query_mrt', 'ConfiguredQueryInterval': 'query_interval', 'LastMemberMTR': 'last_member_qrt', @@ -342,9 +342,9 @@ def get_igmp_interface(module, interface): igmp['report_llg'] = False 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 - elif immediate_leave == 'dis': + elif immediate_leave == 'dis' or immediate_leave == 'false': igmp['immediate_leave'] = False # the next block of code is used to retrieve anything with: