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 igmp proxy support #16861

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

Conversation

btrent98
Copy link

This PR adds the ability to proxy igmp joins received on downstream interfaces to one or more upstream interfaces

@frrbot frrbot bot added documentation pim tests Topotests, make check, etc yang labels Sep 18, 2024
@btrent98 btrent98 force-pushed the igmp-proxy2 branch 4 times, most recently from fe1768e to 7adb219 Compare September 19, 2024 16:06

DEFUN (show_ip_igmp_proxy,
show_ip_igmp_proxy_cmd,
"show ip igmp [vrf NAME] proxy [json]",
Copy link
Contributor

Choose a reason for hiding this comment

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

This could easily be combined with show_ip_igmp_join_cmd since they both do the same thing, just passing a different type.

Copy link
Author

Choose a reason for hiding this comment

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

I talked to Jafar about this and he prefers to leave them separate, both for clarity and also because the proxy command may expand in the future. If it does, we'll just have to pull them apart again.

}

DEFUN (show_ip_igmp_proxy_vrf_all,
show_ip_igmp_proxy_vrf_all_cmd,
Copy link
Contributor

Choose a reason for hiding this comment

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

Same, merge with the other show that does basically the same thing.

Copy link
Author

Choose a reason for hiding this comment

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

same as above

pimd/pim_cmd.c Outdated
interface_ip_igmp_proxy_cmd,
"[no] ip igmp proxy",
NO_STR
IP_STR
Copy link
Contributor

Choose a reason for hiding this comment

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

Fix indentation

Copy link
Author

Choose a reason for hiding this comment

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

fixed

Barry A. Trent added 6 commits September 20, 2024 13:44
Signed-off-by: Barry A. Trent <[email protected]>
Use existing igmp static join infrastructure.
Add an enum to distinguish static from proxy joins.

Signed-off-by: Barry A. Trent <[email protected]>
Signed-off-by: Barry A. Trent <[email protected]>
@btrent98
Copy link
Author

ci:rerun Strange Ubuntu18 build failure?

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

Successfully merging this pull request may close these issues.

2 participants