From 5ec5c05f0d7d704844c212adadef78df9c53ea74 Mon Sep 17 00:00:00 2001 From: Trishna Guha Date: Tue, 6 Mar 2018 17:03:53 +0530 Subject: [PATCH] remove unused tx_rate and rx_rate from vyos_interface (#37062) (#37064) Signed-off-by: Trishna Guha (cherry picked from commit 5f3feac7fac0e01686ba3079dacbae3f93440922) --- lib/ansible/modules/network/vyos/vyos_interface.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/ansible/modules/network/vyos/vyos_interface.py b/lib/ansible/modules/network/vyos/vyos_interface.py index c73168992de..78cc60fda43 100644 --- a/lib/ansible/modules/network/vyos/vyos_interface.py +++ b/lib/ansible/modules/network/vyos/vyos_interface.py @@ -306,11 +306,9 @@ def check_declarative_intent_params(module, want, result): have_neighbors = None for w in want: want_state = w.get('state') - want_tx_rate = w.get('tx_rate') - want_rx_rate = w.get('rx_rate') want_neighbors = w.get('neighbors') - if want_state not in ('up', 'down') and not want_tx_rate and not want_rx_rate and not want_neighbors: + if want_state not in ('up', 'down') and not want_neighbors: continue if result['changed']: