Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added breakout config test #3546

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

mastarkey
Copy link
Contributor

@mastarkey mastarkey commented Oct 29, 2024

Test is for breakout config for the following modes

  • 4x100
  • 2x100
  • 4x10

@mastarkey mastarkey requested a review from a team as a code owner October 29, 2024 00:36
@OpenConfigBot
Copy link

OpenConfigBot commented Oct 29, 2024

Pull Request Functional Test Report for #3546 / 95e83a6

Virtual Devices

Device Test Test Documentation Job Raw Log
Arista cEOS status
PLT-1.1: Interface breakout Test
Cisco 8000E status
PLT-1.1: Interface breakout Test
Cisco XRd status
PLT-1.1: Interface breakout Test
Juniper ncPTX status
PLT-1.1: Interface breakout Test
Nokia SR Linux status
PLT-1.1: Interface breakout Test
Openconfig Lemming status
PLT-1.1: Interface breakout Test

Hardware Devices

Device Test Test Documentation Raw Log
Arista 7808 status
PLT-1.1: Interface breakout Test
Cisco 8808 status
PLT-1.1: Interface breakout Test
Juniper PTX10008 status
PLT-1.1: Interface breakout Test
Nokia 7250 IXR-10e status
PLT-1.1: Interface breakout Test

Help

@coveralls
Copy link

coveralls commented Oct 29, 2024

Pull Request Test Coverage Report for Build 11579508590

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 55.268%

Totals Coverage Status
Change from base Build 11575987661: 0.0%
Covered Lines: 1983
Relevant Lines: 3588

💛 - Coveralls

@mastarkey
Copy link
Contributor Author

/check

breakoutContainer := &oc.Component_Port{BreakoutMode: groupContainer}
portContainer := &oc.Component{Port: breakoutContainer, Name: ygot.String(componentName)}

if deviations.VerifyExpectedBreakoutSupportedConfig(dut) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure why this deviation is needed. if breakout config is not supported. then the test should fail right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this applies only for 2x100G, pls add a comment to call it out explicitly/indicate in the deviation title

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not just for 2x100 it could be any combination of breakout. were using Cisco CLI here to check supported breakout speed for a given interface optic so we don't just blindly run unsupported modes which will cause failures and unnecessary triages. So we just run show controllers phy breakout interface and compare that with what breakout mode were attempting to configure on that port if its not a supported mode then we skip it. So in this case I used it for 2x100 as that is something i did not have at the time, but would apply to any breakout combination.

`show controllers phy breakout interface
Wed Oct 30 22:50:05.315 UTC

Supported Breakout Type is : OPTICS_BO_TYPE_4x100G
Is Port Mode Config Needed : FALSE`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants