Skip to content

Feature dynamicipam#288

Merged
gourishkb merged 10 commits intorelease-v1.9.0from
feature-dynamicipam
Dec 19, 2025
Merged

Feature dynamicipam#288
gourishkb merged 10 commits intorelease-v1.9.0from
feature-dynamicipam

Conversation

@gourishkb
Copy link
Contributor

Description

Fixes #

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit test cases.

Does this PR introduce a breaking change for other components like worker-operator?


ani1609 and others added 10 commits November 26, 2025 13:06
…bnet allocation (#284)

* phase-1: Implement SliceIpam CRD with validation and webhook support

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* phase-2: Implement Slice IPAM utility functions and corresponding tests

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* phase 3- Implement Slice IPAM Service and Unit Tests

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* phase 4: Implement SliceIpam Controller and Unit Tests

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* phase 5: Implement Dynamic IPAM handling in SliceConfigService

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* phase 6: Integrate Slice IPAM service into SliceConfigService

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* Update namespace in dynamic IPAM SliceConfig sample

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* Refactor SliceIpam service integration and improve test cases

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* Refactor Slice IPAM service comments to remove phase references

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* Update mock generation to version v2.53.5 and enhance error handling in mock methods across multiple services

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* fix: add retry logic for resource update conflicts

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* fix: handle missing namespace ConfigMap gracefully in project reconciliation

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* feat: add Dynamic IPAM service implementation

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* feat: extend WorkerSliceConfig creation to support Dynamic IPAM

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* feat: integrate Dynamic IPAM into SliceConfig reconciliation

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* fix: ensure AvailableSubnets displays 0 when pool is exhausted

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* feat: enhance subnet allocation to reuse released entries and add corresponding tests

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* SliceIpam webhook validation

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* sliceconfig cleanups

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* fix: ensure AvailableSubnets is required and displayed correctly in SliceIpamStatus

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* phase 9: feat- add IPAM metrics for allocation, release, and cleanup operations

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* feat: add validation for unique CIDR pools in Dynamic IPAM slices and corresponding tests

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* feat: enhance subnet allocation logic to reallocate released subnets for rejoining clusterscd

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* docs: add comprehensive Dynamic IPAM documentations

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* docs for dynamic IPAM

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* feat: enhance Dynamic IPAM integration by retrieving subnet size from SliceIpam resource

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* feat: enhance subnet allocation logic to support reclamation of expired subnets

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* feat: update cluster references from 'cluster-x' to 'worker-x' in dynamic IPAM configuration and documentation

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* feat: add visual documentation for Dynamic IPAM integration tests

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* Revise test documentation for dynamic IPAM

Updated test results and images for dynamic IPAM functionality.

Signed-off-by: Ankit Kr. Chowdhury <89239354+ani1609@users.noreply.github.com>

---------

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>
Signed-off-by: Ankit Kr. Chowdhury <89239354+ani1609@users.noreply.github.com>
Signed-off-by: gourishkb <gourish@aveshasystems.com>
…alue (#286)

* feat(): Add 'Local' option to SliceIpamType and WorkerSliceConfig enums for backward compatibility

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* feat(): Enhance Static IPAM backward compatibility by including legacy 'Local' type in tests

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>

* Update image for test-06 results in TESTS.md

Updated image reference for test results in TESTS.md.

Signed-off-by: Ankit Kr. Chowdhury <89239354+ani1609@users.noreply.github.com>

---------

Signed-off-by: Ankit Kr. Chowdhury <rakesh856100@gmail.com>
Signed-off-by: Ankit Kr. Chowdhury <89239354+ani1609@users.noreply.github.com>
Signed-off-by: gourishkb <gourish@aveshasystems.com>
Signed-off-by: gourishkb <gourish@aveshasystems.com>
Signed-off-by: gourishkb <gourish@aveshasystems.com>
Signed-off-by: gourishkb <gourish@aveshasystems.com>
Signed-off-by: gourishkb <gourish@aveshasystems.com>
Signed-off-by: gourishkb <gourish@aveshasystems.com>
@gourishkb gourishkb requested a review from Rahul-D78 December 19, 2025 08:55
@gourishkb gourishkb merged commit ed0ea9e into release-v1.9.0 Dec 19, 2025
3 of 5 checks passed
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