Skip to content

Support multi-tenancy in access zone networks#432

Merged
donatwork merged 26 commits into
mainfrom
usr/atye/multi-tenant
Aug 18, 2025
Merged

Support multi-tenancy in access zone networks#432
donatwork merged 26 commits into
mainfrom
usr/atye/multi-tenant

Conversation

@atye

@atye atye commented Aug 8, 2025

Copy link
Copy Markdown
Contributor

Description

Add the ability to support multiple tenants by allowing for storage classes to specify an access zone which will be used to match nodes and networks in the access zone. On driver startup the nodes will be labelled with entries aligning with the networks and IP addresses, for example:

csi-isilon.dellemc.com/aznetwork-192.168.100.0-24-192.168.100.10=true

During CreateVolume the storage class will contain the new field for specifying the access zone and that value will override the value in the driver's configuration.

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
https://github.com/dell/csm/issues/1991

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Backward compatibility is not broken

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

  • Test A
  • Test B

@atye atye changed the title Support multi-tenancy in access zone network Support multi-tenancy in access zone networks Aug 8, 2025
@atye atye changed the base branch from main to release/v2.14.1 August 8, 2025 19:52
@atye atye changed the base branch from release/v2.14.1 to main August 8, 2025 19:52
@donatwork donatwork requested a review from tdawe August 11, 2025 15:57
donatwork
donatwork previously approved these changes Aug 15, 2025
@github-actions

Copy link
Copy Markdown
Contributor

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/dell/csi-powerscale/common/constants 0.00% (ø)
github.com/dell/csi-powerscale/service 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/dell/csi-powerscale/common/constants/consts.go 0.00% (ø) 0 0 0
github.com/dell/csi-powerscale/service/controller.go 0.00% (ø) 0 0 0
github.com/dell/csi-powerscale/service/controllerNodeToArrayConnectivity.go 0.00% (ø) 0 0 0
github.com/dell/csi-powerscale/service/csi_extension_server.go 0.00% (ø) 0 0 0
github.com/dell/csi-powerscale/service/identity.go 0.00% (ø) 0 0 0
github.com/dell/csi-powerscale/service/isiService.go 0.00% (ø) 0 0 0
github.com/dell/csi-powerscale/service/mount.go 0.00% (ø) 0 0 0
github.com/dell/csi-powerscale/service/node.go 0.00% (ø) 0 0 0
github.com/dell/csi-powerscale/service/service.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/dell/csi-powerscale/service/controllerNodeToArrayConnectivity_test.go
  • github.com/dell/csi-powerscale/service/controller_test.go
  • github.com/dell/csi-powerscale/service/isiService_test.go
  • github.com/dell/csi-powerscale/service/mount_test.go
  • github.com/dell/csi-powerscale/service/nodeConnectivityChecker_test.go
  • github.com/dell/csi-powerscale/service/node_test.go
  • github.com/dell/csi-powerscale/service/replication_test.go
  • github.com/dell/csi-powerscale/service/service_test.go
  • github.com/dell/csi-powerscale/service/step_defs_test.go
  • github.com/dell/csi-powerscale/service/step_handlers_test.go

@donatwork donatwork merged commit b1f885a into main Aug 18, 2025
6 checks passed
@donatwork donatwork deleted the usr/atye/multi-tenant branch August 18, 2025 20:19
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.

7 participants