Skip to content

Conversation

@unasra
Copy link
Collaborator

@unasra unasra commented Dec 1, 2025

No description provided.

@unasra unasra changed the base branch from main to feature December 1, 2025 20:06
@unasra unasra requested a review from Copilot December 4, 2025 06:45
Copilot finished reviewing on behalf of unasra December 4, 2025 06:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements comprehensive resource and data source support for Network Templates in the NIOS provider, enabling users to create, read, update, and delete network template objects with extensive configuration options for DHCP, DDNS, IPAM, and other network settings.

Key Changes

  • Added complete CRUD operations for nios_ipam_networktemplate resource with support for 60+ configuration attributes
  • Implemented data source for querying network templates with filter and extensible attribute support
  • Updated vendor dependencies to include the new Struct field in NetworktemplateMembers model
  • Added comprehensive test coverage with 70+ test cases covering all major attributes

Reviewed changes

Copilot reviewed 16 out of 20 changed files in this pull request and generated no comments.

Show a summary per file
File Description
vendor/modules.txt, go.mod, go.sum Updated infoblox-nios-go-client dependency to version with NetworktemplateMembers.Struct field
vendor/.../model_networktemplate_members.go Added Struct field with getter/setter methods for member type identification
internal/service/ipam/networktemplate_resource.go Implemented resource with CRUD operations, validation logic for options and members
internal/service/ipam/model_networktemplate.go Core model with 60+ attributes for network template configuration
internal/service/ipam/model_networktemplate_*.go Supporting models for nested objects (options, members, delegated_member, etc.)
internal/service/ipam/networktemplate_resource_test.go Comprehensive test suite with 70+ test cases for all attributes
internal/service/ipam/networktemplate_data_source*.go Data source implementation with filter support and tests
internal/provider/provider.go Registered new resource and data source with provider
examples/, docs/ Documentation and usage examples for resource and data source

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@VishrutiBuddhadev VishrutiBuddhadev left a comment

Choose a reason for hiding this comment

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

LGTM. @JchhatbarInfoblox Please take a look!

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