CORENET-7134: Add ovn-kubernetes toolset skeleton#315
Conversation
Register an empty ovn-kubernetes toolset so sibling stories (CORENET-7135/7136) can land OVN/OVS tool handlers on top of this framework. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Matteo Dallaglio <mdallagl@redhat.com>
|
@mattedallo: This pull request references CORENET-7134 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThis PR adds a new OVN-Kubernetes toolset to the OpenShift MCP server. It defines a toolset struct with network troubleshooting capabilities, registers it in the module system, and integrates it into the existing toolset test suite with snapshot validation. ChangesOVN-Kubernetes Toolset
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mattedallo The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/test all |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
@mattedallo: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
| @@ -0,0 +1,38 @@ | |||
| package ovnkubernetes | |||
There was a problem hiding this comment.
seems pretty empty
why not land this with actual tools (e.g. as go module)?
There was a problem hiding this comment.
Hi @matzew, thanks for reviewing!
Yep, we have a followup PRs coming for the tools.
But If you prefer I may add some of them into this PR directly.
Summary
Registers a new
ovn-kubernetestoolset as scaffolding for OVN-Kubernetes networking diagnostics integration (enhancements#2002).pkg/toolsets/ovnkubernetes/toolset.go— empty toolset implementingapi.Toolset, registered viainit()pkg/mcp/modules.goovn-kubernetesto theTestGranularToolsetsToolssnapshot test with an empty[]snapshotThe toolset ships with zero tools — sibling stories CORENET-7135 (OVS tools) and CORENET-7136 (OVN tools) will add tool handlers on top of this framework.
Verification
make build— binary compiles with the new toolsetmake test— all tests pass (including the new snapshot test)make lint— no lint violationsWhat is NOT in this PR
ovn-kubernetes-mcpGo dependency (arrives with tool implementations)Summary by CodeRabbit
Release Notes
New Features
Tests