-
Notifications
You must be signed in to change notification settings - Fork 2
[multicast] Narrow admin-scoped to admin-local only (ff04::/16) #162
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
base: main
Are you sure you want to change the base?
Conversation
This PR is a precursor to a follow-up PR that leverages updated code in `omicron-common`. This gets dendrite in line with Omicron `main`, capturing an upstream type change that we needed to accomodate.
| oximeter-producer = { git = "https://github.com/oxidecomputer/omicron", branch = "main" } | ||
| oximeter-instruments = { git = "https://github.com/oxidecomputer/omicron", branch = "main", default-features = false, features = ["kstat"] } | ||
| oxnet = { version = "0.1.3", default-features = false, features = ["schemars", "serde"] } | ||
| omicron-common = { git = "https://github.com/oxidecomputer/omicron", branch= "zl/mcast-implicit-lifecycle" } |
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.
These are temporary until oxidecomputer/omicron#9450 is merged in.
Previously, internal multicast groups accepted admin-scoped addresses
including admin-local (ff04), site-local (ff05), and org-local (ff08).
This narrows the scope to only admin-local (ff04::/16), which is what
Omicron *now* dictates.
- [ ] This should be merged after
oxidecomputer/omicron#9450 is reviewed
and merged into Omicron. We now make Dendrite/Dpd match Omicron
consistently for validation.
Key changes:
- Remove IPV6_SITE_LOCAL_PATTERN and IPV6_ORG_SCOPE_PATTERN from P4
- Update P4 table entries to only match admin-local (size 4→2)
- Add ADMIN_LOCAL_PREFIX const to dpd-types with RFC doc links
- Update validation to use `is_admin_local_multicast()` from oxnet v0.1.4
- Bump to API version 2 for doc changes (only)
- Update README with OpenAPI generation instructions
- Use new multicast subnet constants from `omicron-common` for validation
6f00b19 to
94e91ca
Compare
|
@rcgoodfellow updated for your review. |
FelixMcFelix
left a comment
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.
Thanks Zeeshan, the updates to the allowed IP families all make sense. Just some questions on the expanded comments on the decapsualtion bitmaps in the dataplane.
Yep. No questions, just my bad in context. Fixed. |
Previously, internal/underlay multicast groups accepted admin-configured addresses including admin-local (ff04), site-local (ff05), and org-local (ff08). This narrows the scope to only admin-local (ff04::/16), which is what Omicron now dictates.
Related PRs:
mainrelated deps to 64b40cb #161, making clear the minor change from Omicronmainbefore these changes.Key changes:
IPV6_SITE_LOCAL_PATTERNandIPV6_ORG_SCOPE_PATTERNfrom P4ADMIN_LOCAL_PREFIXconst to dpd-types with RFC doc linksis_admin_local_multicast()from oxnet v0.1.4omicron-commonfor validation