Create Traceflow

Create Traceflow

Initiate a Traceflow Operation on the Specified Port

Request
URI
POST
https://nsxmanager.your.domain/api/v1/traceflows
COPY
Request Body
TraceflowRequest of type(s) application/json
Required
{
    "packet": {
        "routed": false,
        "transport_type": "string",
        "resource_type": "string",
        "frame_size": 0
    },
    "timeout": 0,
    "lport_id": "string"
}
packet
Required

packet

integer As int64 As int64
timeout
Optional

Maximum time (in ms) the management plane will wait for observation result list to be sent by controller plane.

string
lport_id
Required

id of the source logical port to inject the traceflow packet into

Authentication
This operation uses the following authentication methods.
Responses
201

Resource created successfully

Returns Traceflow of type(s) application/json
This response body class contains all of the following: Resource , InlineTraceflow1
{
    "_self": {
        "rel": "string"
    },
    "_links": [
        {
            "action": "string",
            "href": "string",
            "rel": "string"
        }
    ],
    "_schema": "string",
    "operation_state": "string",
    "logical_counters": {
        "forwarded_count": 0,
        "dropped_count": 0,
        "delivered_count": 0,
        "received_count": 0
    },
    "timeout": 0,
    "lport_id": "string",
    "counters": {
        "forwarded_count": 0,
        "dropped_count": 0,
        "delivered_count": 0,
        "received_count": 0
    },
    "result_overflowed": false,
    "analysis": [
        "string"
    ],
    "id": "string"
}

400
Returns BadRequest of type(s) application/json
Operation doesn't return any data structure

403
Returns Forbidden of type(s) application/json
Operation doesn't return any data structure

404
Returns NotFound of type(s) application/json
Operation doesn't return any data structure

412
Returns PreconditionFailed of type(s) application/json
Operation doesn't return any data structure

500
Operation doesn't return any data structure

503
Returns ServiceUnavailable of type(s) application/json
Operation doesn't return any data structure