Skip to content

Added inheritance support for DTC objects for python-client - #32

Merged
unasra merged 2 commits into
infobloxopen:mainfrom
Tejashree-RS:dtc-inheritance-client
May 20, 2026
Merged

Added inheritance support for DTC objects for python-client #32
unasra merged 2 commits into
infobloxopen:mainfrom
Tejashree-RS:dtc-inheritance-client

Conversation

@Tejashree-RS

@Tejashree-RS Tejashree-RS commented May 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds inheritance support to the DTC Policy and Pool APIs, enabling callers to pass the inherit query parameter to control field inheritance. Also corrects the PoolServer.weight field type from str to int to match the API schema.

Type of Change

  • 🆕 New API / Model
  • 🔧 Update Existing Schema or Model
  • 🐛 Bug Fix
  • 📝 Documentation
  • 🧹 Maintenance (dependency upgrades, CI, refactoring)

Affected Packages

  • anycast
  • cloud_discovery
  • dfp
  • dns_config
  • dns_data
  • dtc
  • fw
  • infra_mgmt
  • infra_provision
  • ipam
  • ipam_federation
  • keys
  • redirect
  • upgrade_policy
  • universal_ddi_client

Resource / Model: Policy, Pool, PoolServer
Description: Added inherit query parameter support to Policy and Pool CRUD operations; fixed PoolServer.weight field type.

Schema Changes

  • New model added
  • New field(s) added to existing model
  • Field(s) removed or renamed
  • Required fields changed
Detailed Changes (click to expand)
File Change
src/dtc/api/policy_api.py Added inherit query parameter to create, read, update, list operations
src/dtc/api/pool_api.py Added inherit query parameter to create, read, update, list operations
src/dtc/models/pool_server.py Fixed weight field type from str to int
src/dtc/docs/PolicyApi.md Updated docs to reflect new inherit parameter
src/dtc/docs/PoolApi.md Updated docs to reflect new inherit parameter
src/dtc/docs/PoolServer.md Updated weight field type documentation

Ticket / Issue

Fixes #

Changelog Inclusion

  • Consider for changelog and release notes addition

Additional Context

The inherit parameter allows API consumers to request inherited field values when retrieving DTC Policy and Pool objects, consistent with the pattern used in other Universal DDI packages.

@unasra
unasra merged commit e41956a into infobloxopen:main May 20, 2026
5 checks passed
@unasra unasra changed the title Added inheritance support for dtc on python-client Added inheritance support for DTC objects for python-client May 20, 2026
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