-
Notifications
You must be signed in to change notification settings - Fork 151
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
base: main
Are you sure you want to change the base?
Conversation
Pull Request Functional Test Report for #3648 / 853efa9Virtual Devices
Hardware Devices
|
/gcbrun |
Pull Request Test Coverage Report for Build 12434843545Details
💛 - Coveralls |
/fptest cisco-8808 |
There was a problem hiding this 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
9f1aefd
to
5a152a7
Compare
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
Hi @dplore can you look into approving this? its waiting on your approval. |
/fptest cisco-8808 |
/fptest |
There was a problem hiding this 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
39262b6
to
abd7643
Compare
There was a problem hiding this 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
Test is for breakout config for the following modes
4x100
2x100
4x10