mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
134 lines
3.2 KiB
Plaintext
134 lines
3.2 KiB
Plaintext
curl -i -X GET 'http://localhost:3080/v2/compute/network/interfaces'
|
|
|
|
GET /v2/compute/network/interfaces HTTP/1.1
|
|
|
|
|
|
|
|
HTTP/1.1 200
|
|
Connection: close
|
|
Content-Length: 2933
|
|
Content-Type: application/json
|
|
Date: Tue, 27 Nov 2018 15:08:27 GMT
|
|
Server: Python/3.6 GNS3/2.2.0dev5
|
|
X-Route: /v2/compute/network/interfaces
|
|
|
|
[
|
|
{
|
|
"id": "docker0",
|
|
"ip_address": "172.17.0.1",
|
|
"mac_address": "02:42:c8:f1:08:fb",
|
|
"name": "docker0",
|
|
"netmask": "255.255.0.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "lo",
|
|
"ip_address": "127.0.0.1",
|
|
"mac_address": "00:00:00:00:00:00",
|
|
"name": "lo",
|
|
"netmask": "255.0.0.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vboxnet0",
|
|
"ip_address": "",
|
|
"mac_address": "0a:00:27:00:00:00",
|
|
"name": "vboxnet0",
|
|
"netmask": "",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vboxnet1",
|
|
"ip_address": "",
|
|
"mac_address": "0a:00:27:00:00:01",
|
|
"name": "vboxnet1",
|
|
"netmask": "",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vboxnet2",
|
|
"ip_address": "",
|
|
"mac_address": "0a:00:27:00:00:02",
|
|
"name": "vboxnet2",
|
|
"netmask": "",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "virbr0",
|
|
"ip_address": "192.168.122.1",
|
|
"mac_address": "00:00:00:00:00:00",
|
|
"name": "virbr0",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "virbr0-nic",
|
|
"ip_address": "",
|
|
"mac_address": "52:54:00:cb:6a:77",
|
|
"name": "virbr0-nic",
|
|
"netmask": "",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet1",
|
|
"ip_address": "172.16.1.1",
|
|
"mac_address": "00:50:56:c0:00:01",
|
|
"name": "vmnet1",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet2",
|
|
"ip_address": "172.16.2.1",
|
|
"mac_address": "00:50:56:c0:00:02",
|
|
"name": "vmnet2",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet3",
|
|
"ip_address": "172.16.3.1",
|
|
"mac_address": "00:50:56:c0:00:03",
|
|
"name": "vmnet3",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet4",
|
|
"ip_address": "172.16.10.1",
|
|
"mac_address": "00:50:56:c0:00:04",
|
|
"name": "vmnet4",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet8",
|
|
"ip_address": "192.168.195.1",
|
|
"mac_address": "00:50:56:c0:00:08",
|
|
"name": "vmnet8",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "wlp58s0",
|
|
"ip_address": "192.168.0.110",
|
|
"mac_address": "9c:b6:d0:dc:20:29",
|
|
"name": "wlp58s0",
|
|
"netmask": "255.255.255.0",
|
|
"special": false,
|
|
"type": "ethernet"
|
|
}
|
|
]
|