NSX-T Data Center REST API

Restart traceflow with same set of parameters used during create/update traceflow (Deprecated)

This will retrace even if current traceflow has observations. Current
observations will be lost. Traceflow configuration will be cleaned up
by the system after two hours of inactivity.
Deprecated: Please use PUT API to start new Traceflow sessions. By default, traceflow observations will be cleanup every two hours, please use is_transient flag to avoid the cleanup.

Request:

Method:
POST
URI Path(s):
/policy/api/v1/infra/traceflows/{traceflow-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/traceflows/{traceflow-id}
Request Headers:
n/a
Query Parameters:
ActionRequest+
Request Body:
n/a

Example Request:

https://<policy-mgr>/policy/api/v1/infra/traceflows/t7?action=retrace

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
TraceflowConfig+

Example Response:

{ "segment_port_path": "/infra/tier-1s/it_t1/segments/it-t1-seg/ports/default:c8d7ac3f-1904-4088-a9ec-f0183b5b14d6", "packet": { "eth_header": { "src_mac": "00:50:56:8f:49:60", "dst_mac": "00:50:56:8f:2f:97", "eth_type": 2048 }, "ip_header": { "src_ip": "172.16.14.11", "dst_ip": "172.16.16.13", "protocol": 1, "ttl": 64, "flags": 0 }, "transport_header": { "icmp_echo_request_header": { "id": 0, "sequence": 0 } }, "payload": "", "resource_type": "FieldsPacketData", "frame_size": 128, "routed": true, "transport_type": "UNICAST" }, "timeout": 10, "resource_type": "TraceflowConfig", "id": "t7", "display_name": "t7", "path": "/infra/traceflows/t7", "relative_path": "t7", "parent_path": "/infra", "unique_id": "4dbe1a62-156c-46be-a70f-ea237344f1c3", "marked_for_delete": false, "overridden": false, "_create_user": "admin", "_create_time": 1579195094519, "_last_modified_user": "admin", "_last_modified_time": 1579195094519, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

read

Feature:

policy_traceflow

Additional Errors: