Skip to content

[IPAM] Update schema to remove default value for compartment_id in Address Block, Subnet, and Address#242

Merged
unasra merged 8 commits into
infobloxopen:masterfrom
AnilGadiyarHJ:241-compbug
Dec 2, 2025
Merged

[IPAM] Update schema to remove default value for compartment_id in Address Block, Subnet, and Address#242
unasra merged 8 commits into
infobloxopen:masterfrom
AnilGadiyarHJ:241-compbug

Conversation

@AnilGadiyarHJ
Copy link
Copy Markdown
Collaborator

IpSpace is the parent and is not inherited, so the default value is not removed.

AddressBlock: compartmentId can be set, is optional, and can be computed. It can also inherit from IpSpace, so the default value is removed.

Subnet: compartmentId can only be inherited and cannot be set, so the default value is removed.

rest other objects like FA and Address, default was not set

@unasra unasra changed the title Removed the default value of compartment_id from inherited fields [IPAM] Update schema to remove default value for compartment_id in Address Block, Subnet, and Address Nov 26, 2025
Comment thread internal/service/ipam/model_ipamsvc_subnet.go
Comment thread internal/service/ipam/model_ipamsvc_address.go
@AnilGadiyarHJ AnilGadiyarHJ requested a review from unasra November 28, 2025 08:31
@unasra unasra merged commit 45850cf into infobloxopen:master Dec 2, 2025
3 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