mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
remove unused tx_rate and rx_rate from vyos_interface (#37062)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
eb52a88fb6
commit
5f3feac7fa
1 changed files with 1 additions and 3 deletions
|
@ -306,11 +306,9 @@ def check_declarative_intent_params(module, want, result):
|
||||||
have_neighbors = None
|
have_neighbors = None
|
||||||
for w in want:
|
for w in want:
|
||||||
want_state = w.get('state')
|
want_state = w.get('state')
|
||||||
want_tx_rate = w.get('tx_rate')
|
|
||||||
want_rx_rate = w.get('rx_rate')
|
|
||||||
want_neighbors = w.get('neighbors')
|
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
|
continue
|
||||||
|
|
||||||
if result['changed']:
|
if result['changed']:
|
||||||
|
|
Loading…
Reference in a new issue