Skip to content

Comments

NE-2447: Implement inspect_route tool#147

Open
bentito wants to merge 5 commits intoopenshift:mainfrom
bentito:feat/NE-2447-inspect-route
Open

NE-2447: Implement inspect_route tool#147
bentito wants to merge 5 commits intoopenshift:mainfrom
bentito:feat/NE-2447-inspect-route

Conversation

@bentito
Copy link

@bentito bentito commented Feb 16, 2026

This PR adds the inspect_route tool to the NetEdge toolset, enabling LLMs to analyze OpenShift Route configurations.

This tool is essential for the NetEdge diagnostic capabilities as it allows the agent to verify:

  • Ingress configuration (hostnames, paths, TLS termination)
  • Backend service routing and weights
  • Router status and admission conditions

By exposing these details, the agent can troubleshoot connectivity issues at the ingress layer.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Feb 16, 2026
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 16, 2026

@bentito: This pull request references NE-2447 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 "4.22.0" version, but no target version was set.

Details

In response to this:

This PR adds the inspect_route tool to the NetEdge toolset, enabling LLMs to analyze OpenShift Route configurations.

This tool is essential for the NetEdge diagnostic capabilities as it allows the agent to verify:

  • Ingress configuration (hostnames, paths, TLS termination)
  • Backend service routing and weights
  • Router status and admission conditions

By exposing these details, the agent can troubleshoot connectivity issues at the ingress layer.

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.

@openshift-ci
Copy link

openshift-ci bot commented Feb 16, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: bentito
Once this PR has been reviewed and has the lgtm label, please assign kaustubh-pande for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@@ -15,16 +15,6 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client/fake"
)
Copy link
Member

Choose a reason for hiding this comment

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

could we do grouping via testify/suite ?
e.g. similar to requested here: #131 (comment) ?

I guess we can also do that in a follow up PR, for all netedge tests.

{
Tool: api.Tool{
Name: "inspect_route",
Description: "Inspect an OpenShift Route to view its configuration, status, and related services.",
Copy link
Member

Choose a reason for hiding this comment

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

looks like the actual implementation only returns the Route , not "related services".

Perhaps something like:

"Inspect an OpenShift Route to view its full configuration and status."

@bentito
Copy link
Author

bentito commented Feb 19, 2026

/retest

@openshift-ci
Copy link

openshift-ci bot commented Feb 19, 2026

@bentito: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/fips-image-scan-openshift-mcp-server 0d73d2e link true /test fips-image-scan-openshift-mcp-server

Full PR test history. Your PR dashboard.

Details

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 kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants