# ONOS Network Ops

> Diagnose and safely operate an ONOS SDN network from your AI agent.

ONOS Network Ops is a free AI agent skill on Agensi by Ortega Kabwe, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Ortega Kabwe](https://www.agensi.io/creators/ortega-kabwe)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/onos-network-ops
- Tags: devops, onos, sdn, networking, openflow, mininet, flow-rules, network-troubleshooting

## About this skill

Turn your coding agent into an SDN operator for networks managed by the ONOS controller.

This skill teaches your agent how to use onos-mcp-server, an open-source MCP server that exposes the ONOS REST API as tools. Instead of guessing, the agent follows proven workflows:

- **Health check**: one call for the big picture, then drill-down into unreachable switches, inactive links, failed flows and faulty ports, summarized in a clear table.
- **"h1 can't ping h2"**: resolves both hosts, checks forwarding apps, computes the path, inspects each switch's flow table and port counters, then gives a root cause and a concrete fix.
- **Flow table audit**: finds shadowed rules, conflicting overlaps, rules stuck in PENDING_ADD and outputs to dead ports.
- **Safe changes**: adding or deleting flow rules and (de)activating ONOS apps always follows inspect, propose, confirm, apply, verify, with the flow ID returned for rollback.

Includes a flow-rule cheat sheet (match fields, actions, priorities, ready-made examples such as blocking SSH or a host pair) and a setup guide for Mininet labs.

### Requirements
- An ONOS controller (2.x or later) with its REST API reachable.
- onos-mcp-server running and connected to your agent (setup guide included). Works with any MCP-capable agent: Claude Code, Cursor, VS Code, Codex and others.

### Safety and network access
The skill contains only Markdown instructions: no scripts, no network calls of its own. The agent only talks to the onos-mcp-server instance you connect. Write operations require your explicit confirmation, and running the server with `MCP_READ_ONLY=true` removes them entirely.

## Requires

- ONOS controller 2.x+
- onos-mcp-server (Java 25)
- Remote MCP (HTTP) support or Node.js
- Onos MCP
- Remote MCP
- Git

## Known limitations

Requires onos-mcp-server connection. Cannot execute shell commands or Karaf CLI. Hosts only appear after sending traffic. Flow write tools require explicit user confirmation.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the ONOS Network Ops skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What specific network problems does this skill solve?

This skill provides deep visibility into Software-Defined Networks by inspecting devices, resolving host locations, and auditing flow tables to find hidden traffic blocks or performance bottlenecks that manual debugging often misses.

### What software or environment is required to use this skill?

Users need an active ONOS controller managing a network of OpenFlow switches or a Mininet simulation, along with a connected instance of the onos-mcp-server to provide the necessary tool interfaces.

### What kind of diagnostic reports will I receive from this skill?

It generates structured Health Reports covering device and link status, along with detailed Connectivity Diagnoses that identify root causes like shadowed rules, missing forwarding applications, or port-level packet drops.

### Are there any tasks or environments this skill does not support?

The skill cannot execute direct ONOS Karaf CLI commands or Mininet shell scripts, and it is unable to perform network changes if the underlying server is set to a read-only configuration.

### How should I prompt my agent to begin troubleshooting with this skill?

You can ask for a network health check, investigate why specific hosts cannot communicate, or request an audit of a switch to find conflicting flow rules and high-priority traffic drops.

### How does this skill handle making changes to my network configuration?

It follows a safety-first workflow by requiring you to explicitly confirm the exact device, match criteria, and priority for any flow rule changes before they are executed on the live network.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
