Skip to content

feat: implement igroup crud tools#98

Open
Hardikl wants to merge 15 commits intomainfrom
hl_igrp
Open

feat: implement igroup crud tools#98
Hardikl wants to merge 15 commits intomainfrom
hl_igrp

Conversation

@Hardikl
Copy link
Copy Markdown
Contributor

@Hardikl Hardikl commented Apr 9, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 9, 2026 09:16
@cla-bot cla-bot bot added the cla-signed label Apr 9, 2026
Copy link
Copy Markdown

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

Implements MCP tool support for managing ONTAP SAN iGroups, including CRUD operations and initiator add/remove, wiring the new tools through the server layer down to the REST client and adding documentation + integration coverage.

Changes:

  • Add new tool parameter schemas for iGroup and iGroup initiator operations.
  • Implement server handlers and REST client calls for create/update/delete iGroups and add/remove initiators.
  • Add examples and an integration test covering iGroup flows.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tool/tool.go Adds IGroup and IGroupInitiator tool input structs for MCP tool schemas.
server/server.go Registers new iGroup-related MCP tools on the server.
server/igroup.go Implements MCP tool handlers + request builders/validation for iGroup and initiator operations.
rest/igroup.go Adds ONTAP REST client methods for iGroup CRUD and initiator add/remove.
ontap/ontap.go Introduces ONTAP model structs for IGroup, IGroupInitiator, and InitiatorName.
integration/test/igroup_test.go Adds an integration test scenario covering iGroup lifecycle and initiator operations.
docs/examples.md Documents example prompts for managing iGroups.
descriptions/descriptions.go Adds user-facing tool descriptions for the new iGroup tools.

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

Comment thread tool/tool.go Outdated
Comment thread server/server.go
@Hardikl Hardikl linked an issue Apr 9, 2026 that may be closed by this pull request
# Conflicts:
#	descriptions/descriptions.go
#	ontap/ontap.go
#	server/server.go
#	tool/tool.go
Copilot AI review requested due to automatic review settings April 9, 2026 13:59
Copy link
Copy Markdown

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

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.


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

Comment thread tool/tool.go Outdated
Copilot AI review requested due to automatic review settings April 13, 2026 09:12
Copy link
Copy Markdown

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

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.


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

Comment thread docs/examples.md Outdated
@Hardikl
Copy link
Copy Markdown
Contributor Author

Hardikl commented Apr 13, 2026

Marking this draft until PR #105 has been checked in.

@Hardikl Hardikl marked this pull request as draft April 13, 2026 09:40
Hardikl added 3 commits April 13, 2026 20:16
# Conflicts:
#	descriptions/descriptions.go
#	ontap/ontap.go
#	server/server.go
#	tool/tool.go
@Hardikl Hardikl marked this pull request as ready for review April 14, 2026 13:05
Copilot AI review requested due to automatic review settings April 14, 2026 13:05
Copy link
Copy Markdown

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

Copilot reviewed 12 out of 12 changed files in this pull request and generated 7 comments.


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

Comment thread ontap/ontap.go Outdated
Comment thread tool/tool.go Outdated
Comment thread server/igroup.go
Comment thread server/igroup.go
Comment thread server/igroup.go
Comment thread integration/test/igroup_test.go Outdated
Comment thread integration/test/igroup_test.go Outdated
Comment thread tool/tool.go Outdated
Comment thread integration/test/igroup_test.go Outdated
Comment thread integration/test/igroup_test.go Outdated
Comment thread ontap/ontap.go Outdated
Copilot AI review requested due to automatic review settings April 16, 2026 12:14
# Conflicts:
#	descriptions/descriptions.go
#	ontap/ontap.go
#	server/server.go
#	tool/tool.go
Copy link
Copy Markdown

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

Copilot reviewed 12 out of 12 changed files in this pull request and generated 5 comments.


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

Comment thread integration/test/igroup_test.go Outdated
Comment thread tool/tool.go Outdated
Comment thread server/igroup.go
Comment thread server/igroup.go
Comment thread integration/test/igroup_test.go Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add igroup (initiator group) management tools

3 participants