mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
30 lines
925 B
ReStructuredText
30 lines
925 B
ReStructuredText
/virtualbox/{uuid}/capture/{port_id:\d+}/start
|
|
---------------------------------------------
|
|
|
|
.. contents::
|
|
|
|
POST /virtualbox/**{uuid}**/capture/**{port_id:\d+}**/start
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Start a packet capture on a VirtualBox VM instance
|
|
|
|
Parameters
|
|
**********
|
|
- **port_id**: ID of the port to start a packet capture
|
|
- **uuid**: Instance UUID
|
|
|
|
Response status codes
|
|
**********************
|
|
- **200**: Capture started
|
|
- **400**: Invalid instance UUID
|
|
- **404**: Instance doesn't exist
|
|
|
|
Input
|
|
*******
|
|
.. raw:: html
|
|
|
|
<table>
|
|
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
|
<tr><td>capture_filename</td> <td>✔</td> <td>string</td> <td>Capture file name</td> </tr>
|
|
</table>
|
|
|