Skip to main content

Packet Constructor tracked flow table

GET
/tasks/{id}/packet-constructor/flows

Paginated table of the tracked flows of a task with plugin 118: TX and RX are joined for each combination (stream, source port, flow number), loss, duplicates, reordered frames, and delay are calculated, and the values of the tracked fields are decoded from the template. The latest final snapshot (taken after the task stops) is used, otherwise the latest live one. Also returns a flow summary (total, with loss, silent) and the DUT delay from probes stamped by the port (probe: count, minimum, mean, p50, p99, p99.9, maximum) if the port sent them. The data comes from ClickHouse; if there is none yet, the lists are empty.

Contract

Parameter
Value
Sectiontasks
AuthenticationCookieAuth
Consumesnot required
Producesapplication/json

Parameters

8 parameters

Name
Location
Required
Type
Description
idpathyesintegerTask ID
streamquerynointegerFilter by stream number (0..511)
portquerynointegerFilter by source port number (0..255)
filterquerynoenum(all, loss, dead)Row filter
sortquerynoenum(loss, lossPct, latMax, latAvg, rx, flow)Sort field
orderquerynoenum(asc, desc)Sort direction
limitquerynointegerRows per page (1..1000)
offsetquerynointegerPage offset
  • "all"
  • "loss"
  • "asc"

Responses

4 responses

Status
Description
Type
200
Page of tracked flows and the summaryobject
400
Invalid parametersobject
401
Unauthorizedobject
404
Task not foundobject
  • {}
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }