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

PLT-1.1 adding breakout config code #3648

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

Conversation

mastarkey
Copy link
Contributor

Test is for breakout config for the following modes

4x100
2x100
4x10

@mastarkey mastarkey requested review from amrindrr and a team as code owners December 16, 2024 00:28
@OpenConfigBot
Copy link

OpenConfigBot commented Dec 16, 2024

Pull Request Functional Test Report for #3648 / 853efa9

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

@dplore
Copy link
Member

dplore commented Dec 18, 2024

/gcbrun

@coveralls
Copy link

coveralls commented Dec 18, 2024

Pull Request Test Coverage Report for Build 12434843545

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 12422942759: 0.0%
Covered Lines: 1983
Relevant Lines: 3588

💛 - Coveralls

@dplore
Copy link
Member

dplore commented Dec 18, 2024

/fptest cisco-8808

amrindrr
amrindrr previously approved these changes Dec 18, 2024
Copy link
Contributor

@amrindrr amrindrr left a comment

Choose a reason for hiding this comment

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

Please fix static analysis errors before submitting

amrindrr
amrindrr previously approved these changes Dec 18, 2024
Copy link
Contributor

Choose a reason for hiding this comment

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

Ideally there should be singe _test.go file in a folder. I see this file has most of helper functions and doesn't include any Test function. I would suggest to move the helper functions inside /internal. For example functions related to platform probably could go into a library that's already started at: internal/components/components.go. Similarly different location for IP address incrementing function (inside /internal)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

can we merge this I will raise a git issue to make those changes. This item has been here for almost a year and there is endless back and forth on this. At a minimum i would like to merge it just to stop having to make changes to the devations.go file which are constantly eating my time to resolve it only for someone to make some other suggestions on the case. so ideally can we merge this and raise an git issue on those changes

Copy link
Contributor

Choose a reason for hiding this comment

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

Sounds good. You can send separate PR to make file and helper function changes.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, making refactoring the helpers can be in a follow up PR.
issue tracking: #3663

@mastarkey
Copy link
Contributor Author

mastarkey commented Dec 19, 2024

Hi @dplore can you look into approving this? its waiting on your approval.

@dplore
Copy link
Member

dplore commented Dec 19, 2024

/fptest cisco-8808

@amrindrr
Copy link
Contributor

/fptest

Copy link
Member

@dplore dplore left a comment

Choose a reason for hiding this comment

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

@mastarkey hi, this is ready to merge given the follow up issue, except there are still 7 static checks failing. Can you please resole those and I'll approve and merge.

@amrindrr will iterate with you regarding the CLI used for determining breakout capability since there are not currently any OC paths for querying breakout capabilities

@dplore dplore changed the title adding breakout config code PLT-1.1 adding breakout config code Dec 20, 2024
@mastarkey mastarkey requested review from dplore and amrindrr December 20, 2024 16:31
Copy link
Member

@dplore dplore left a comment

Choose a reason for hiding this comment

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

This looks good, except there are still several style/static analysis issues. Can you please resolve?

You can view them all here:
https://github.com/openconfig/featureprofiles/pull/3648/files

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

Successfully merging this pull request may close these issues.

5 participants