2019-10-23 17:00:00 +03:00
|
|
|
curl -i -X GET 'http://localhost:3080/v2/projects/a2d6087f-9fa8-40e6-ba55-7b69c5b7ae4c/links/d8a88fc5-3367-48e7-8280-8d1810f7fbff'
|
2018-01-08 10:26:44 +02:00
|
|
|
|
2019-10-23 17:00:00 +03:00
|
|
|
GET /v2/projects/a2d6087f-9fa8-40e6-ba55-7b69c5b7ae4c/links/d8a88fc5-3367-48e7-8280-8d1810f7fbff HTTP/1.1
|
2018-01-08 10:26:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HTTP/1.1 200
|
|
|
|
Connection: close
|
2019-10-23 17:00:00 +03:00
|
|
|
Content-Length: 921
|
2018-01-08 10:26:44 +02:00
|
|
|
Content-Type: application/json
|
2019-10-23 17:00:00 +03:00
|
|
|
Date: Wed, 23 Oct 2019 13:43:36 GMT
|
|
|
|
Server: Python/3.6 GNS3/2.2.1dev1
|
2018-01-08 10:26:44 +02:00
|
|
|
X-Route: /v2/projects/{project_id}/links/{link_id}
|
|
|
|
|
|
|
|
{
|
2019-10-23 17:00:00 +03:00
|
|
|
"capture_compute_id": null,
|
2018-01-08 10:26:44 +02:00
|
|
|
"capture_file_name": null,
|
|
|
|
"capture_file_path": null,
|
|
|
|
"capturing": false,
|
|
|
|
"filters": {},
|
2019-10-23 17:00:00 +03:00
|
|
|
"link_id": "d8a88fc5-3367-48e7-8280-8d1810f7fbff",
|
2018-01-08 10:26:44 +02:00
|
|
|
"link_type": "ethernet",
|
|
|
|
"nodes": [
|
|
|
|
{
|
|
|
|
"adapter_number": 0,
|
|
|
|
"label": {
|
|
|
|
"text": "Text",
|
|
|
|
"x": 42,
|
|
|
|
"y": 0
|
|
|
|
},
|
2019-10-23 17:00:00 +03:00
|
|
|
"node_id": "1756d31f-17ce-46bd-9186-1ab431a21a62",
|
2018-01-08 10:26:44 +02:00
|
|
|
"port_number": 3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"adapter_number": 2,
|
|
|
|
"label": {
|
2019-10-23 17:00:00 +03:00
|
|
|
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
|
|
|
|
"text": "2/4"
|
2018-01-08 10:26:44 +02:00
|
|
|
},
|
2019-10-23 17:00:00 +03:00
|
|
|
"node_id": "e4987445-aa90-4f1d-bed1-f4f890b28ad4",
|
2018-01-08 10:26:44 +02:00
|
|
|
"port_number": 4
|
|
|
|
}
|
|
|
|
],
|
2019-10-23 17:00:00 +03:00
|
|
|
"project_id": "a2d6087f-9fa8-40e6-ba55-7b69c5b7ae4c",
|
2018-01-08 10:26:44 +02:00
|
|
|
"suspend": false
|
|
|
|
}
|