Trace Request

Media Type
[application/vnd.org.midonet.TraceRequest-v1+json]
Collection Media Type
[application/vnd.org.midonet.collection.TraceRequest-v1+json]
GET     /traces
GET     /traces/:traceId
POST    /traces
PUT     /traces/:traceId
DELETE  /traces/:traceId

It represents a request for trace information.

Field NameTypePOST/PUTRequiredDescription

uri

URI

  

A GET against this URI refreshes the representation of this resource.

id

UUID

POST

No

A unique identifier of the resource. If this field is omitted in the POST request, a random UUID is generated.

condition

Condition

POST/PUT

Yes

The match condition for this trace request. See the section called “Condition”.

deviceId

UUID

POST/PUT

Yes

The identifier of the device where the traffic is traced.

deviceType

String

POST/PUT

Yes

The device type. It must be one of the following: BRIDGE, PORT or ROUTER.

enabled

String

POST/PUT

Yes

Indicates whether the trace request is enabled. The default is false (no).

name

String

POST/PUT

Yes

The name of the trace request.

creationTimestampMs

Integer

POST/PUT

No

Sets or indicates the creation timestamp for this trace request. If not present, it is set to the current system time.

limit

Integer

POST/PUT

No

The trace request limit. The default is 2^63-1.

Questions? Discuss on Mailing Lists or Chat.
Found an error? Report a bug.