Skip to content

Support IPv6 for project IP address allocation - #2318

Open
yuanyouyao wants to merge 1 commit into
vmware:masterfrom
yuanyouyao:fix/project-ip-address-allocation-ip-address-type
Open

Support IPv6 for project IP address allocation#2318
yuanyouyao wants to merge 1 commit into
vmware:masterfrom
yuanyouyao:fix/project-ip-address-allocation-ip-address-type

Conversation

@yuanyouyao

Copy link
Copy Markdown
Contributor

Add ip_address_type and ipv6_allocation_prefix_length attributes to nsxt_policy_project_ip_address_allocation to support allocating IPv6 address blocks for project workloads.

Update resource documentation and add unit test coverage for IPv6 project IP address allocation creation.

@yuanyouyao
yuanyouyao requested a review from a team September 7, 2026 04:48
@yuanyouyao

Copy link
Copy Markdown
Contributor Author

/test-all

@yuanyouyao
yuanyouyao force-pushed the fix/project-ip-address-allocation-ip-address-type branch from b783faa to 8e3a2f4 Compare September 7, 2026 06:19
@yuanyouyao

Copy link
Copy Markdown
Contributor Author

/test-all

@yuanyouyao
yuanyouyao force-pushed the fix/project-ip-address-allocation-ip-address-type branch from 8e3a2f4 to 8441d08 Compare September 7, 2026 06:50
@yuanyouyao

Copy link
Copy Markdown
Contributor Author

/test-all

Add `ip_address_type` and `ipv6_allocation_prefix_length` attributes
to `nsxt_policy_project_ip_address_allocation` to support allocating
IPv6 address blocks for project workloads on NSX 9.2.0+.

Gate new schema attributes with `IntroducedInVersion: "9.2.0"` and
`OmitIfEmpty: true` so the provider omits them on NSX 9.1.x managers,
avoiding unrecognized property JSON deserialization errors during
resource creation on older NSX versions.

Update resource documentation and add unit test coverage for IPv6
and NSX 9.1 backward-compatible project IP address allocation creation.
@yuanyouyao
yuanyouyao force-pushed the fix/project-ip-address-allocation-ip-address-type branch from 8441d08 to a0937db Compare September 7, 2026 08:42
@yuanyouyao

Copy link
Copy Markdown
Contributor Author

/test-all

@ksamoray

ksamoray commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Why do we require ForceNew for these attributes?

@ksamoray

ksamoray commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Also, can we create an acceptance test for the IPv6 case?

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