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

feat(evpn): complete fastpath implementation of new arch #384

Closed
wants to merge 18 commits into from

Conversation

atulpatel261194
Copy link
Contributor

@atulpatel261194 atulpatel261194 commented May 16, 2024

Introducing the complete implementation for fastpath based on the new opi-evpn-br architecture that has been presented to opi-tsc in 15 Feb 2024 link

This PR includes:

This PR has dependancy on Netlink Watcher( #385) , Intel Vendor Plugin(#386). Once these 2 PRs ( #385 , #386 ) get merged, We will rebase current PR (#384) to main.
The Current PR (#384) Will be the Last PR to be merged.

@atulpatel261194 atulpatel261194 requested a review from a team as a code owner May 16, 2024 10:59
@atulpatel261194 atulpatel261194 force-pushed the drop1.0 branch 2 times, most recently from 0e1e022 to b1bad1b Compare May 16, 2024 11:09
Co-authored-by: Dimitrios Markou <[email protected]>
Co-authored-by: Saikumar Banoth <[email protected]>
Co-authored-by: Patel Atul <[email protected]>
Co-authored-by: Vemula Venkatesh <[email protected]>
Co-authored-by: Jambekar Vishakha <[email protected]>
Signed-off-by: atulpatel261194 <[email protected]>
@atulpatel261194 atulpatel261194 force-pushed the drop1.0 branch 2 times, most recently from ea1662f to 56baf8e Compare May 16, 2024 12:46
@mardim91
Copy link
Contributor

Hello @atulpatel261194 can you please update the description to this one ?

Introducing the complete implementation for fastpath based on the new opi-evpn-br architecture that has been presented to opi-tsc in 15 Feb 2024 link

This PR includes:

Modular based implementation according to the architecture
NetlinkWatcher module
intel e2000 vendor module

Copy link
Contributor

@artek-koltun artek-koltun left a comment

Choose a reason for hiding this comment

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

My main question, if it is possible to split the PR to smaller chunks to ease the review process. I see that we can at least organize as separate PRs our preparation steps:

  • add of DeInit functionality
  • some patch to EventBus with subscribe/unsubscribe
  • netlink watcher,
  • ...
    and finally:
  • e2000 plugin

@mardim91
Copy link
Contributor

My main question, if it is possible to split the PR to smaller chunks to ease the review process. I see that we can at least organize as separate PRs our preparation steps:

  • add of DeInit functionality
  • some patch to EventBus with subscribe/unsubscribe
  • netlink watcher,
  • ...
    and finally:
  • e2000 plugin

Hello @artek-koltun,

The plan that has been presented and agreed by the TSC is to have the two big PRs (drop-0.5 and drop-1.0) first and then for any further development we can make smaller PRs. We have developed the code according that plan. However I understand that it is difficult to review such big PRs in the smallest detail so I think I can discuss with the team to split the drop-1.0 PR in 3 smaller chunks (netlinkWatcher, e2000 plugin and the rest of the code) just to make the review process easier but I cannot go further than that. Of course this will make the testing and bug fixing really hard for us but let me discuss with the team first. If you are ok with that split then maybe we can do it.

Signed-off-by: atulpatel261194 <[email protected]>
Signed-off-by: atulpatel261194 <[email protected]>
Copy link

codecov bot commented May 24, 2024

Codecov Report

Attention: Patch coverage is 2.15827% with 272 lines in your changes missing coverage. Please review.

Project coverage is 20.29%. Comparing base (5440fb9) to head (3acfb4f).
Report is 34 commits behind head on main.

Files with missing lines Patch % Lines
pkg/LinuxGeneralModule/lgm.go 0.00% 68 Missing ⚠️
pkg/infradb/infradb.go 0.00% 59 Missing ⚠️
pkg/frr/frr.go 0.00% 45 Missing ⚠️
cmd/main.go 0.00% 43 Missing ⚠️
pkg/utils/helpers.go 0.00% 27 Missing ⚠️
pkg/LinuxCIModule/lci.go 0.00% 17 Missing ⚠️
...g/infradb/subscriberframework/eventbus/eventbus.go 0.00% 13 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #384       +/-   ##
===========================================
- Coverage   50.77%   20.29%   -30.48%     
===========================================
  Files          37       51       +14     
  Lines        2525     6844     +4319     
===========================================
+ Hits         1282     1389      +107     
- Misses       1114     5287     +4173     
- Partials      129      168       +39     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: atulpatel261194 <[email protected]>
pkg/netlink/netlink_watcher.go Fixed Show fixed Hide fixed
pkg/netlink/netlink_watcher.go Fixed Show fixed Hide fixed
@Inbanoth Inbanoth force-pushed the drop1.0 branch 2 times, most recently from 23b91ca to 460a6fa Compare June 13, 2024 12:37
Copy link
Member

@glimchb glimchb left a comment

Choose a reason for hiding this comment

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

no vendor code in OPI, please

@glimchb glimchb added the invalid This doesn't seem right label Jun 13, 2024
Inbanoth added 6 commits July 3, 2024 16:09
Signed-off-by: Saikumar, Banoth <[email protected]>
Signed-off-by: Saikumar, Banoth <[email protected]>
Signed-off-by: Saikumar, Banoth <[email protected]>
Signed-off-by: Saikumar, Banoth <[email protected]>
Signed-off-by: Saikumar, Banoth <[email protected]>
@artek-koltun
Copy link
Contributor

Closing this one, as we agreed: no vendor plugins are allowed in generic domain bridges

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants