Skip to content

[multicast] Adapt multicast code to new dendrite DPD API#9950

Merged
zeeshanlakhani merged 1 commit intory/dendrite-220from
zl/dendrite-220-mcast-api
Mar 2, 2026
Merged

[multicast] Adapt multicast code to new dendrite DPD API#9950
zeeshanlakhani merged 1 commit intory/dendrite-220from
zl/dendrite-220-mcast-api

Conversation

@zeeshanlakhani
Copy link
Collaborator

This includes a few changes I was already working on in relation to #9898. This comes after testing with a feature-gated (for multicast) dpd binary.

There's a minor follow-up (oxidecomputer/dendrite#232) that I'll work in after this.

  • Use actual group tags from DPD responses instead of hardcoded "nexus"
  • Rename IntoUnderlayMulticastIpv6 -> IntoUnderlayMulticast (shorter), fits trait definition / more accurate
  • Pass MulticastTag as parameter to dpd_update_external_or_create
  • Use existing_tag.try_into() / current_tag.try_into() for tag usage
  • Nit: dpd_state_matches_tag to use as_str() comparison
  • Fix: IpSrc::Subnet -> IpSrc::Any (new dendrite API)
  • Fix: SwitchLocation import (moved to sled_agent_types)
  • Remove unused multicast type imports

This includes a few changes I was already working on in relation to
#9898. This comes after testing with
a feature-gated (for multicast) dpd binary. 

There's a minor follow-up (oxidecomputer/dendrite#232) that I'll work in after this. 

- Use actual group tags from DPD responses instead of hardcoded "nexus"
- Rename IntoUnderlayMulticastIpv6 -> IntoUnderlayMulticast (shorter), fits trait definition / more accurate
- Pass MulticastTag as parameter to dpd_update_external_or_create
- Use existing_tag.try_into() / current_tag.try_into() for tag usage
- Nit: dpd_state_matches_tag to use as_str() comparison
- Fix: IpSrc::Subnet -> IpSrc::Any (new dendrite API)
- Fix: SwitchLocation import (moved to sled_agent_types)
- Remove unused multicast type imports
@zeeshanlakhani zeeshanlakhani marked this pull request as ready for review March 2, 2026 05:02
@zeeshanlakhani zeeshanlakhani merged commit 1077080 into ry/dendrite-220 Mar 2, 2026
16 checks passed
@zeeshanlakhani zeeshanlakhani deleted the zl/dendrite-220-mcast-api branch March 2, 2026 07:18
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.

2 participants