mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-18 01:34:50 +02:00
23 lines
934 B
ReStructuredText
23 lines
934 B
ReStructuredText
|
/v2/compute/projects/{project_id}/atm_relay_switch/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/pcap
|
||
|
------------------------------------------------------------------------------------------------------------------------------------------
|
||
|
|
||
|
.. contents::
|
||
|
|
||
|
GET /v2/compute/projects/**{project_id}**/atm_relay_switch/nodes/**{node_id}**/adapters/**{adapter_number:\d+}**/ports/**{port_number:\d+}**/pcap
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
Stream the pcap capture file
|
||
|
|
||
|
Parameters
|
||
|
**********
|
||
|
- **project_id**: Project UUID
|
||
|
- **node_id**: Node UUID
|
||
|
- **adapter_number**: Adapter to steam a packet capture (always 0)
|
||
|
- **port_number**: Port on the switch
|
||
|
|
||
|
Response status codes
|
||
|
**********************
|
||
|
- **200**: File returned
|
||
|
- **403**: Permission denied
|
||
|
- **404**: The file doesn't exist
|
||
|
|