Skip to content

[config][show] cli support for retrieving ber, eye-info and configuring prbs, loopback on Y-cable #1386

Merged
vdahiya12 merged 16 commits intosonic-net:masterfrom
vdahiya12:phy_prbs_loopback_changes
Feb 4, 2021
Merged

[config][show] cli support for retrieving ber, eye-info and configuring prbs, loopback on Y-cable #1386
vdahiya12 merged 16 commits intosonic-net:masterfrom
vdahiya12:phy_prbs_loopback_changes

Conversation

@vdahiya12
Copy link
Contributor

@vdahiya12 vdahiya12 commented Jan 25, 2021

Summary:
This PR provides the support for adding CLI commands for configuring prbs, loopback and showing the BER and Eye info of the muxcable.
In particular these Cli commands are supported:
show muxcable eyeinfo <portnumber><target>
show muxcable berinfo <portnumber> <target>

config muxcable prbs <portnumber> <target> <mode> <lanemap>
config muxcable loopback <portnumber> <target> <lanemap>

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

added the changes in sonic-utilities/show and sonic-utilities/config by changing the muxcable.py

What is the motivation for this PR?

To add the support for Cli for muxcable to be utilized for configuring prbs, loopback modes and showing the ber, eye info of all the Port/Ports on a muxcable.

How did you do it?

Added the changes inside sonic-utilities and tested it on the testbed

How did you verify/test it?

Ran the cli commands on an Arista7260cx3 testbed with Gemini cable

Signed-off-by: vaibhav-dahiya [email protected]

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants