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

Add support for multicast in user defined networks. #4797

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

dceara
Copy link
Contributor

@dceara dceara commented Oct 22, 2024

What this PR does and why is it needed

This adds:

  • cluster and router port groups to user defined L2/L3 primary networks
  • multicast support to user defined L2/L3 primary networks
  • hairpin ACLs allowing hairpin service traffic for user defined L2/L3 primary networks too

Which issue(s) this PR fixes

Special notes for reviewers

Cluster-wide port group management routines have been moved to the base network controller and now are used by secondary network controllers too.

Multicast ACL management routines have been moved to the base network controller and now are used by secondary network controllers too.

E2e and unit tests have been adapted to run for both default and primary UDN networks for the features mentioned above.

How to verify it

Unit and end to end tests have been adapted/created.

Details to documentation updates

Description for the changelog

Does this PR introduce a user-facing change?

None

@dceara dceara requested a review from a team as a code owner October 22, 2024 15:48
@dceara dceara requested a review from girishmg October 22, 2024 15:48
@dceara dceara added the feature/user-defined-network-segmentation All PRs related to User defined network segmentation label Oct 22, 2024
@dceara dceara force-pushed the udn-multicast branch 3 times, most recently from 5c850fe to 0c53761 Compare October 23, 2024 11:05
@github-actions github-actions bot added the area/unit-testing Issues related to adding/updating unit tests label Oct 23, 2024
@dceara dceara force-pushed the udn-multicast branch 4 times, most recently from 7d7735d to 4902a06 Compare October 25, 2024 11:55
Otherwise with UDN we risk trying to capture IGMP queries on the wrong
interface.

Signed-off-by: Dumitru Ceara <dceara@redhat.com>
qinqon and others added 15 commits October 25, 2024 17:02
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
…oups.

We expect the management port to always be part of the per-network
cluster port group.

Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Do this only if the network segmentation feature is enabled.

Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
… port group.

Now that the cluster port group actually exists, add the mgmt port to it
(similar to what happens on the default network).

Signed-off-by: Dumitru Ceara <dceara@redhat.com>
This was originally skipped because there was no per-UDN
cluster-port-group.

Signed-off-by: Dumitru Ceara <dceara@redhat.com>
To reuse the multicast UDP and IGMP test at network segmentation test suite this
change move the test to a function we can call from there, it also wrap
the mechanism to activate at namespace and make both UDP and IGMP take
same parameters

Signed-off-by: Enrique Llorente <ellorent@redhat.com>
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
Multicast was disable for UDN, this change activate it only when network
segmentation and multicast is enabled and the network is layer2 or
layer3.

Signed-off-by: Enrique Llorente <ellorent@redhat.com>
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
Co-authored-by: Dumitru Ceara <dceara@redhat.com>
Signed-off-by: Dumitru Ceara <dceara@redhat.com>
The tests will now run for both default network and primary UDN
networks.

Signed-off-by: Enrique Llorente <ellorent@redhat.com>
Co-authored-by: Dumitru Ceara <dceara@redhat.com>
Signed-off-by: Dumitru Ceara <dceara@redhat.com>
@dceara dceara changed the title [WIP] Add support for multicast in user defined networks. Add support for multicast in user defined networks. Oct 25, 2024
@tssurya tssurya added this to the v1.1.0 milestone Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/e2e-testing area/unit-testing Issues related to adding/updating unit tests feature/user-defined-network-segmentation All PRs related to User defined network segmentation
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

3 participants