Policy > Monitoring > Traceflow

Read Antrea traceflow config

Read Antrea traceflow config with id traceflow-id

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/antrea/traceflows/<traceflow-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/antrea/traceflows/t1

Successful Response:

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

Example Response:

{ "container_cluster_id": "3abe1a62-156c-46be-a70f-ea237344f1c3", "source_external_id": "4abe1a62-156c-46be-a70f-ea237344f1c3", "destination_external_id": "5abe1a62-156c-46be-a70f-ea237344f1c3", "packet": { "ipHeader": { "srcIp": "172.16.14.11", "dstIp": "172.16.16.13", "protocol": 1, "ttl": 64, "flags": 0 }, "transportHeader": { "icmpEchoRequestHeader": { "id": 0, "sequence": 0 } }, "frameSize": 255, "resourceType": "FIELDS_PACKET_DATA", "payload": "123", "transportType": "UNICAST" }, "timeout": 10, "resource_type": "AntreaTraceflowConfig", "id": "t14", "display_name": "t14", "path": "/infra/antrea/traceflows/t14", "relative_path": "t14", "parent_path": "/infra", "unique_id": "d3c59bf3-5de8-4d65-91cc-940458fc8860", "marked_for_delete": false, "overridden": false, "_create_user": "admin", "_create_time": 1579243672065, "_last_modified_user": "admin", "_last_modified_time": 1579243672065, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

read

Feature:

policy_traceflow

Additional Errors: