NSX-T Data Center REST API
Create a new packet capture session
Create a new packet capture session on given node with specified optionsRequest:
Method:
POST
URI Path(s):
/policy/api/v1/infra/pktcap/session
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
PktCaptureRequest+
Example Request:
POST https://<nsx-mgr>/policy/api/v1/infra/pktcap/session { "node": "094f370c-d336-11e7-9776-3ba7f30fcb1f", "capsource": "CLI", "cappoint": "SEGMENTPORT", "capvalue": "502ca1f1-3958-7d8e-ffc1-48d99fa80192.001", "direction": "INPUT", "capmode": "STANDALONE", "options": { "values":[ {"name":"IPPROTO", "value":"0x01"} ] } }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PktCaptureSession+