2018-06-07 08:26:06 +00:00
|
|
|
/v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
.. contents::
|
|
|
|
|
|
|
|
POST /v2/compute/projects/**{project_id}**/traceng/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/stop_capture
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
Stop a packet capture on a TraceNG instance
|
|
|
|
|
|
|
|
Parameters
|
|
|
|
**********
|
2018-06-14 08:39:31 +00:00
|
|
|
- **project_id**: Project UUID
|
2018-08-16 14:31:56 +00:00
|
|
|
- **node_id**: Node UUID
|
2018-11-20 06:04:27 +00:00
|
|
|
- **adapter_number**: Adapter to stop a packet capture
|
2018-06-07 08:26:06 +00:00
|
|
|
- **port_number**: Port on the adapter
|
|
|
|
|
|
|
|
Response status codes
|
|
|
|
**********************
|
2018-11-20 06:04:27 +00:00
|
|
|
- **204**: Capture stopped
|
2018-06-07 08:26:06 +00:00
|
|
|
- **400**: Invalid request
|
|
|
|
- **404**: Instance doesn't exist
|
2018-11-20 06:04:27 +00:00
|
|
|
|
|
|
|
Sample session
|
|
|
|
***************
|
|
|
|
|
|
|
|
|
|
|
|
.. literalinclude:: ../../../examples/compute_post_projectsprojectidtracengnodesnodeidadaptersadapternumberdportsportnumberdstopcapture.txt
|
2018-06-07 08:26:06 +00:00
|
|
|
|