mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-30 09:38:53 +00:00
188 lines
4.5 KiB
Plaintext
188 lines
4.5 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: 4266
|
|
Content-Type: application/json
|
|
Date: Thu, 07 Jun 2018 08:13:24 GMT
|
|
Server: Python/3.6 GNS3/2.1.7dev1
|
|
X-Route: /v2/compute/network/interfaces
|
|
|
|
[
|
|
{
|
|
"id": "bridge0",
|
|
"ip_address": "",
|
|
"mac_address": "ca:2a:14:12:34:00",
|
|
"name": "bridge0",
|
|
"netmask": "",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "en0",
|
|
"ip_address": "",
|
|
"mac_address": "c8:2a:14:21:cf:c8",
|
|
"name": "en0",
|
|
"netmask": "",
|
|
"special": false,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "en1",
|
|
"ip_address": "192.168.1.10",
|
|
"mac_address": "10:9a:dd:a4:f1:6a",
|
|
"name": "en1",
|
|
"netmask": "255.255.255.0",
|
|
"special": false,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "en2",
|
|
"ip_address": "",
|
|
"mac_address": "d2:00:18:cc:6a:60",
|
|
"name": "en2",
|
|
"netmask": "",
|
|
"special": false,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "fw0",
|
|
"ip_address": "",
|
|
"mac_address": "c8:2a:14:ff:fe:8c:c6:a6",
|
|
"name": "fw0",
|
|
"netmask": "",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "lo0",
|
|
"ip_address": "127.0.0.1",
|
|
"mac_address": "",
|
|
"name": "lo0",
|
|
"netmask": "255.0.0.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "p2p0",
|
|
"ip_address": "",
|
|
"mac_address": "02:9a:dd:a4:f1:6a",
|
|
"name": "p2p0",
|
|
"netmask": "",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet1",
|
|
"ip_address": "172.20.1.1",
|
|
"mac_address": "00:50:56:c0:00:01",
|
|
"name": "vmnet1",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet10",
|
|
"ip_address": "172.20.10.1",
|
|
"mac_address": "00:50:56:c0:00:0a",
|
|
"name": "vmnet10",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet11",
|
|
"ip_address": "172.20.11.1",
|
|
"mac_address": "00:50:56:c0:00:0b",
|
|
"name": "vmnet11",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet12",
|
|
"ip_address": "172.20.12.1",
|
|
"mac_address": "00:50:56:c0:00:0c",
|
|
"name": "vmnet12",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet13",
|
|
"ip_address": "172.20.13.1",
|
|
"mac_address": "00:50:56:c0:00:0d",
|
|
"name": "vmnet13",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet14",
|
|
"ip_address": "172.20.14.1",
|
|
"mac_address": "00:50:56:c0:00:0e",
|
|
"name": "vmnet14",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet15",
|
|
"ip_address": "172.20.15.1",
|
|
"mac_address": "00:50:56:c0:00:0f",
|
|
"name": "vmnet15",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet16",
|
|
"ip_address": "172.20.16.1",
|
|
"mac_address": "00:50:56:c0:00:10",
|
|
"name": "vmnet16",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet17",
|
|
"ip_address": "172.20.17.1",
|
|
"mac_address": "00:50:56:c0:00:11",
|
|
"name": "vmnet17",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet18",
|
|
"ip_address": "172.20.18.1",
|
|
"mac_address": "00:50:56:c0:00:12",
|
|
"name": "vmnet18",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet19",
|
|
"ip_address": "172.20.19.1",
|
|
"mac_address": "00:50:56:c0:00:13",
|
|
"name": "vmnet19",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"id": "vmnet8",
|
|
"ip_address": "192.168.100.1",
|
|
"mac_address": "00:50:56:c0:00:08",
|
|
"name": "vmnet8",
|
|
"netmask": "255.255.255.0",
|
|
"special": true,
|
|
"type": "ethernet"
|
|
}
|
|
]
|