Skip to content

Python-client support for dtc modules - #30

Merged
unasra merged 1 commit into
infobloxopen:mainfrom
Tejashree-RS:dtc_support
May 11, 2026
Merged

Python-client support for dtc modules#30
unasra merged 1 commit into
infobloxopen:mainfrom
Tejashree-RS:dtc_support

Conversation

@Tejashree-RS

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

Copy link
Copy Markdown
Contributor

Summary

Introduces the dtc (DNS Traffic Control) package to the Universal DDI Python Client. This is the initial implementation providing full CRUD API classes, Pydantic data models, and reference documentation for all core DTC resources: HTTP, ICMP, SNMP, and TCP health checks; policies; pools; servers; and SNMP user security configurations.

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: HTTPHealthCheck, ICMPHealthCheck, SNMPHealthCheck, TCPHealthCheck, Policy, Pool, Server, SNMPUserSecurity
Description: Adds the complete dtc package with 8 API classes, 30+ Pydantic models, and full reference documentation.

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)
Directory Files Change
src/dtc/ README.md, __init__.py New package root with top-level exports and usage documentation
src/dtc/api/ 9 files New API classes: HealthCheckHttpApi, HealthCheckIcmpApi, HealthCheckSnmpApi, HealthCheckTcpApi, PolicyApi, PoolApi, ServerApi, SnmpUserSecurityApi — each exposing full CRUD operations
src/dtc/models/ 30 files New Pydantic models for all DTC resource types and their create/read/update/list response wrappers
src/dtc/docs/ 59 files Auto-generated API and model reference documentation

Ticket / Issue

Fixes #

Changelog Inclusion

  • Consider for changelog and release notes addition

Additional Context

This PR brings the dtc package to feature parity with the other Universal DDI packages already present in this client (e.g. ipam, dns_config, dns_data). The DTC APIs allow consumers to configure DNS-based load balancing across server pools using health-check-driven traffic policies.

@unasra unasra left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please raise a separate PR to update README to add the corresponding module links

@unasra
unasra merged commit 1378e7e into infobloxopen:main May 11, 2026
5 checks passed
@Tejashree-RS Tejashree-RS mentioned this pull request Jul 16, 2026
25 tasks
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