Page MenuHomeVyOS Platform

Add op mode commands for displaying LACP information for bonding interfaces
Closed, ResolvedPublicFEATURE REQUEST

Description

This task would create some additional show commands for LACP related info. The commands that would be added are:
show interfaces bonding lacp detail
show interfaces bonding <bondif> lacp detail
show interfaces bonding <bondif> lacp neighbors

The output will look like this:

vyos@vyos:~$ show interfaces bonding lacp detail 
Interface    Members    Mode    Rate    System MAC         Hash
-----------  ---------  ------  ------  -----------------  ------
bond0        eth3       active  slow    aa:bb:cc:dd:ee:f0  layer2
bond1                   active  slow    aa:bb:cc:dd:ee:f0  layer2
vyos@vyos:~$ show interfaces bonding bond0 lacp neighbors 
Interface    Member    Local ID           Remote ID
-----------  --------  -----------------  -----------------
bond0        eth3      aa:bb:cc:dd:ee:f0  0c:20:76:b0:00:00
vyos@vyos:~$ show interfaces bonding bond0 lacp detail 
Interface    Members    Mode    Rate    System MAC         Hash
-----------  ---------  ------  ------  -----------------  ------
bond0        eth3       active  slow    aa:bb:cc:dd:ee:f0  layer2

Additionally, the current show interfaces bonding detail command is not run as sudo, which prevents useful information from being output. That command is updated to be ran as sudo.

Details

Difficulty level
Normal (likely a few hours)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

L0crian changed Difficulty level from Unknown (require assessment) to Normal (likely a few hours).
Viacheslav triaged this task as Normal priority.Wed, May 1, 4:32 PM

Adding additional PR to add bonding.py to op-mode-standardized.json: https://github.com/vyos/vyos-1x/pull/3408

dmbaturin renamed this task from Add LACP related op commands to Add op mode commands for displaying LACP information for bonding interfaces.Sat, May 11, 8:09 PM