Skip to content

Commit

Permalink
#4964: Add information about lacp connection status for lag ports tests
Browse files Browse the repository at this point in the history
* Added debug for endpoint
  • Loading branch information
pkazlenka committed Jan 31, 2023
1 parent 8427127 commit eeb17e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src-python/lab-service/traffexam/kilda/traffexam/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ def address_emmit_lacp_packet(idnr):
get_context().action.lacp_push(address.iface, push_entry)
except ValueError as e:
return bottle.HTTPError(400, 'Invalid LACP payload - {}'.format(e))

except Exception as e:
return bottle.HTTPError(500, 'Unexpected error - {}'.format(e))
return {
'lacp_push': {
'sent_packets': 1}}
Expand Down

0 comments on commit eeb17e3

Please sign in to comment.