get_flow_stats
Retrieve flow statistics from a specified OpenFlow switch, optionally filtering by match, table, or output port.
Instructions
Get flow statistics from a switch
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dpid": "<dpid>"
},
"name": "get_flow_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpid | Yes | ||
| match | No | ||
| table_id | No | ||
| out_port | No |