-
Notifications
You must be signed in to change notification settings - Fork 40
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
VPC Subnet Routing [2/2] -- Custom Routers and NIC 'transit IP' lists #5823
Merged
Merged
Changes from 68 commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
76106b1
Clear XDE underlay when destroying virtual hardware
FelixMcFelix 0afee1b
Merge branch 'main' into felixmcfelix/opte-underlay-lock
FelixMcFelix 94e1808
Pull in latest OPTE after merge.
FelixMcFelix b67f416
Bump OPTE and related.
FelixMcFelix 5f7cfa8
Compat with newer OPTE, more believable router rules
FelixMcFelix 16e0107
VPC Subnet route reconcile.
FelixMcFelix 22b71bb
We now have valid, sane, default system routes
FelixMcFelix 160853b
Start refreshing API specs
FelixMcFelix 034dd0f
Iterating.
FelixMcFelix 87d9b26
Route resolution (but not actual installation)
FelixMcFelix 568f44c
Wrong ID in router initialisation.
FelixMcFelix 2a25d74
Rule insert/delete with OPTE.
FelixMcFelix c718c8d
Correctly instantiate router rules if existing
FelixMcFelix 06eaaab
Feed Clippy.
FelixMcFelix 38beadd
Comment adapted.
FelixMcFelix 17489cb
The backing code for a generational RPW
FelixMcFelix 006b1ca
Iterating.
FelixMcFelix c7de875
Trigger RPW in all the right spots.
FelixMcFelix 40edbc8
Unpublish VPC routers API.
FelixMcFelix 3b3abb1
Fixup broken tests.
FelixMcFelix be9f8ab
Accidental local state...
FelixMcFelix f433b38
Unsubscribe routes from sled when ports are removed.
FelixMcFelix 62ca9f0
Migration query for subnet route creation.
FelixMcFelix 2c06ff4
Rework migration slightly.
FelixMcFelix 0e8d1ad
Bump OPTE to include latest perf work.
FelixMcFelix 7b32e09
Merge branch 'main' into felixmcfelix/opte-underlay-lock
FelixMcFelix f7646ef
Merge branch 'felixmcfelix/opte-underlay-lock' into felixmcfelix/vpc-…
FelixMcFelix 2537222
Self-review pt.1.
FelixMcFelix f217bd1
Self-review pt.2.
FelixMcFelix b549044
Test route resolution.
FelixMcFelix f02535e
Accidentally ended up on the wrong maghemite.
FelixMcFelix 880378a
Hook VPC checks into sim-sled-agent, instance networking tests.
FelixMcFelix 08c982e
Correctly cleanup after new tests...
FelixMcFelix 821e241
Allow bind of subnet to custom router in create/update
FelixMcFelix 9c68888
Fix VpcRouter field order, test usual attachment behaviour
FelixMcFelix e886d16
Fix custom router listing.
FelixMcFelix e6fe817
Merge branch 'felixmcfelix/vpc-subnet-routing' into felixmcfelix/vpc-…
FelixMcFelix e78c51f
First shot at spoof-prevention prevention.
FelixMcFelix c1dc6d0
Test router attach swap, cleanup tests.
FelixMcFelix 0f0dcb6
Validate custom, dest/target pairs on route create
FelixMcFelix 3d17960
Visit + test allowed routes and modification semantics in-depth.
FelixMcFelix 4c40916
Don't break parsing NICs from old blueprints
FelixMcFelix 536b40c
Minor fmt + lint tweaks.
FelixMcFelix 83b1710
Fixup unexpected authz endpoints.
FelixMcFelix 7413adf
Last big test, cutesier test data names.
FelixMcFelix bd7294c
Fixup one test.
FelixMcFelix e3b7b90
Self-review.
FelixMcFelix 321cb16
Merge branch 'main' into felixmcfelix/vpc-subnet-routing
FelixMcFelix a8415b3
Merge branch 'felixmcfelix/vpc-subnet-routing' into felixmcfelix/vpc-…
FelixMcFelix f21ef51
Merge branch 'main' into felixmcfelix/vpc-subnet-routing
FelixMcFelix 87cf88e
Merge branch 'felixmcfelix/vpc-subnet-routing' into felixmcfelix/vpc-…
FelixMcFelix cca764f
Bump image.
FelixMcFelix 543cac4
Merge branch 'felixmcfelix/vpc-subnet-routing' into felixmcfelix/vpc-…
FelixMcFelix bf3ffb0
Handle greater specificity of rule addition.
FelixMcFelix 2425016
Forgot some maghemite SHAs...
FelixMcFelix 8e005a2
Merge branch 'felixmcfelix/vpc-subnet-routing' into felixmcfelix/vpc-…
FelixMcFelix feb455f
Merge branch 'main' into felixmcfelix/vpc-subnet-routing
FelixMcFelix 30e4043
Minor fixes post-merge.
FelixMcFelix 0057228
Review feedback.
FelixMcFelix a63b8b0
Merge branch 'felixmcfelix/vpc-subnet-routing' into felixmcfelix/vpc-…
FelixMcFelix 28cb739
One or two UUID-types missed...
FelixMcFelix 992b9b5
More liberal use of `#[serde(default)]`
FelixMcFelix ab7223b
Accidentally a line.
FelixMcFelix 2568e2c
Especially good at EXPECTORATE-ing
FelixMcFelix d747d01
Again.
FelixMcFelix c1e5e75
Review feedback: clearer explanation of `RouteDestination`
FelixMcFelix 15bb2ee
Merge branch 'main' into felixmcfelix/vpc-subnet-routing
FelixMcFelix 3766244
Merge branch 'felixmcfelix/vpc-subnet-routing' into felixmcfelix/vpc-…
FelixMcFelix 0ab6483
Slight adjustments to `destination` docstrings
FelixMcFelix 8162a23
Review feedback: typed RouterKind instead of Option abuse
FelixMcFelix e1971bc
Bump Maghemite.
FelixMcFelix 899d367
Merge branch 'main' into felixmcfelix/vpc-subnet-routing
FelixMcFelix 70263a2
Better conflict resolution on Nexus-managed subnet route names
FelixMcFelix 9b46a28
Merge branch 'felixmcfelix/vpc-subnet-routing' into felixmcfelix/vpc-…
FelixMcFelix 62de75e
Unearthed a nice li'l bug during migration on london
FelixMcFelix 93b073c
Merge branch 'felixmcfelix/vpc-subnet-routing' into felixmcfelix/vpc-…
FelixMcFelix 2bd4bd7
Merge branch 'main' into felixmcfelix/vpc-subnets-user
FelixMcFelix File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Sorry to keep nitpicking, but saying "set" and "subnets" might be confusing because this can only be one subnet. I can't think of a better wording — maybe rely on the definiton of
RouteDestination
to cover what is inside it, and here emphasize its role in the route. I like this bit in the doc comment onRouteDestination
, though it's kind of long: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.
Yeah, the existing
RouteDestination
text is good there. I think if we lean into just showing its role and delegating the details to the type, I'd go for: