-
Notifications
You must be signed in to change notification settings - Fork 48
feat(): Hub-and-Spoke partial mesh topology #430
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
Open
Shreesha001
wants to merge
22
commits into
kubeslice:hub-spoke-integration-branch
Choose a base branch
from
Shreesha001:feature/hub-and-spoke-integration
base: hub-spoke-integration-branch
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
30526f4
feat(): add hub-and-spoke topology fields to SliceConfig CRD
Shreesha001 4962128
address review: single-hub schema cap, doc/comment fixes, regen CRD
Shreesha001 eea8f1f
address review: use field.Duplicate value form, drop duplicate topolo…
Shreesha001 0311682
feat: add TopologyResolver for hub-and-spoke edge computation
Shreesha001 7e7b16f
feat: gate WorkerSliceGateway creation on resolved topology edges
Shreesha001 084da7a
test: hub-and-spoke create skips spoke-to-spoke edges
Shreesha001 6879152
feat: remove no-longer-desired edges on topology change (cleanup gating)
Shreesha001 91bf1c7
feat: add gateway connectivity and slice topology status fields
Shreesha001 3c64e17
feat: aggregate gateway connectivity into TopologyConverged slice con…
Shreesha001 d9a589c
feat: mark spoke gateways to route entire slice subnet via hub
Shreesha001 007b2c5
test: end-to-end hub-and-spoke topology builds partial mesh (#304)
Shreesha001 c7b736b
fix: reconcile RouteEntireSliceSubnet on surviving gateways when topo…
Shreesha001 ed4d7dd
feat: add gateway connection status fields to WorkerSliceGateway CRD
Shreesha001 502904c
fix: clear RouteEntireSliceSubnet on server gateway after hub change
Shreesha001 9b45b12
test: add hub-and-spoke control-plane e2e suite and testing docs
Shreesha001 e2cf2f2
Merge branch 'feature/303-status-aggregation' into feature/hub-and-sp…
Shreesha001 3065d34
address review: correct hub-and-spoke sample note and enqueue SliceCo…
Shreesha001 b2a5d15
address review: reconcile TopologyConverged for no-network slices and…
Shreesha001 fa3ea3c
address review: reject HubAndSpoke on no-network slices, add hub-chan…
Shreesha001 e45597c
docs: update hub-and-spoke test counts for new webhook, derive, route…
Shreesha001 05a89e0
self-heal partial gateway pair on AlreadyExists; keep NONET test mock…
Shreesha001 3a54ff1
requeue instead of silently skipping gateway creation when a member c…
Shreesha001 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
37 changes: 37 additions & 0 deletions
37
config/samples/controller_v1alpha1_sliceconfig_hub_and_spoke.yaml
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| # Sample SliceConfig using the HubAndSpoke topology. | ||
| # | ||
| # worker-1 acts as the hub; worker-2 and worker-3 become spokes (all | ||
| # non-hub members are spokes). | ||
| # | ||
| # The controller consumes spec.topology for this sample and creates | ||
| # hub<->spoke links only: worker-1<->worker-2 and worker-1<->worker-3. | ||
| # No spoke<->spoke link is created. | ||
| # | ||
| # Omitting spec.topology entirely (or setting mode: FullMesh with no | ||
| # hubs) keeps the existing full-mesh behavior. | ||
| apiVersion: controller.kubeslice.io/v1alpha1 | ||
| kind: SliceConfig | ||
| metadata: | ||
| name: hub-and-spoke-slice | ||
| spec: | ||
| sliceType: Application | ||
| sliceSubnet: 10.1.0.0/16 | ||
| sliceGatewayProvider: | ||
| sliceGatewayType: OpenVPN | ||
| sliceCaType: Local | ||
| sliceIpamType: Local | ||
| clusters: | ||
| - worker-1 | ||
| - worker-2 | ||
| - worker-3 | ||
| topology: | ||
| mode: HubAndSpoke | ||
| hubs: | ||
| - worker-1 | ||
| qosProfileDetails: | ||
| queueType: HTB | ||
| priority: 1 | ||
| tcType: BANDWIDTH_CONTROL | ||
| bandwidthCeilingKbps: 5120 | ||
| bandwidthGuaranteedKbps: 2560 | ||
| dscpClass: AF11 |
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.
Uh oh!
There was an error while loading. Please reload this page.