Skip to content

Commit

Permalink
fix(suzieq/poller/worker/services/interfaces.py): change xcvr unsuppo…
Browse files Browse the repository at this point in the history
…rted adminState for NX-OS

Signed-off-by: Fabien VINCENT <[email protected]>
  • Loading branch information
beufanet committed Mar 26, 2024
1 parent 2993315 commit 37b6a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suzieq/poller/worker/services/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ def fix_nxos_speed(entry):

if entry['reason'] == "xcvr not inserted":
entry['state'] = 'notConnected'
entry['adminState'] = 'notConnected'
entry['adminState'] = 'down'

if entry.get('reason', '') == 'administratively down':
entry['adminState'] = 'down'
Expand Down

0 comments on commit 37b6a54

Please sign in to comment.