2016-07-11 13:37:57 +00:00
|
|
|
curl -i -X GET 'http://localhost:3080/v2/compute/network/interfaces'
|
|
|
|
|
|
|
|
GET /v2/compute/network/interfaces HTTP/1.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HTTP/1.1 200
|
2016-09-27 15:15:40 +00:00
|
|
|
Content-Length: 5502
|
|
|
|
Content-Type: application/json
|
|
|
|
Date: Tue, 27 Sep 2016 10:01:08 GMT
|
|
|
|
Server: Python/3.5 GNS3/2.0.0dev1
|
|
|
|
X-Route: /v2/compute/network/interfaces
|
2016-07-11 13:37:57 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"id": "bridge0",
|
|
|
|
"ip_address": "",
|
|
|
|
"mac_address": "3e:07:54:87:bc:00",
|
|
|
|
"name": "bridge0",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": true,
|
2016-07-11 13:37:57 +00:00
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "en0",
|
|
|
|
"ip_address": "",
|
|
|
|
"mac_address": "3c:07:54:78:07:cc",
|
|
|
|
"name": "en0",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": false,
|
2016-07-11 13:37:57 +00:00
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "en1",
|
2016-08-29 13:58:29 +00:00
|
|
|
"ip_address": "192.168.84.156",
|
2016-07-11 13:37:57 +00:00
|
|
|
"mac_address": "68:a8:6d:4a:c3:16",
|
|
|
|
"name": "en1",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "255.255.255.0",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": false,
|
2016-07-11 13:37:57 +00:00
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "en2",
|
|
|
|
"ip_address": "",
|
|
|
|
"mac_address": "d2:00:1b:c0:17:80",
|
|
|
|
"name": "en2",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": false,
|
2016-07-11 13:37:57 +00:00
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "fw0",
|
|
|
|
"ip_address": "",
|
|
|
|
"mac_address": "3c:07:54:ff:fe:bc:01:78",
|
|
|
|
"name": "fw0",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": true,
|
2016-07-11 13:37:57 +00:00
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "lo0",
|
|
|
|
"ip_address": "127.0.0.1",
|
|
|
|
"mac_address": "",
|
|
|
|
"name": "lo0",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "255.0.0.0",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": true,
|
2016-07-11 13:37:57 +00:00
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "p2p0",
|
|
|
|
"ip_address": "",
|
|
|
|
"mac_address": "0a:a8:6d:4a:c3:16",
|
|
|
|
"name": "p2p0",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": true,
|
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vboxnet0",
|
|
|
|
"ip_address": "172.16.43.1",
|
|
|
|
"mac_address": "0a:00:27:00:00:00",
|
|
|
|
"name": "vboxnet0",
|
|
|
|
"netmask": null,
|
|
|
|
"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": "vboxnet3",
|
|
|
|
"ip_address": "",
|
|
|
|
"mac_address": "0a:00:27:00:00:03",
|
|
|
|
"name": "vboxnet3",
|
|
|
|
"netmask": "",
|
|
|
|
"special": true,
|
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vboxnet4",
|
|
|
|
"ip_address": "",
|
|
|
|
"mac_address": "0a:00:27:00:00:04",
|
|
|
|
"name": "vboxnet4",
|
|
|
|
"netmask": "",
|
|
|
|
"special": true,
|
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vboxnet5",
|
|
|
|
"ip_address": "192.168.33.1",
|
|
|
|
"mac_address": "0a:00:27:00:00:05",
|
|
|
|
"name": "vboxnet5",
|
|
|
|
"netmask": null,
|
|
|
|
"special": true,
|
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vboxnet6",
|
|
|
|
"ip_address": "",
|
|
|
|
"mac_address": "0a:00:27:00:00:06",
|
|
|
|
"name": "vboxnet6",
|
|
|
|
"netmask": "",
|
|
|
|
"special": true,
|
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vboxnet7",
|
|
|
|
"ip_address": "",
|
|
|
|
"mac_address": "0a:00:27:00:00:07",
|
|
|
|
"name": "vboxnet7",
|
|
|
|
"netmask": "",
|
|
|
|
"special": true,
|
2016-07-11 13:37:57 +00:00
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
2016-09-14 13:24:27 +00:00
|
|
|
"id": "vmnet1",
|
|
|
|
"ip_address": "172.16.16.1",
|
|
|
|
"mac_address": "00:50:56:c0:00:01",
|
|
|
|
"name": "vmnet1",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "255.255.255.0",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": true,
|
2016-07-14 13:31:49 +00:00
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
2016-09-14 13:24:27 +00:00
|
|
|
"id": "vmnet10",
|
|
|
|
"ip_address": "172.16.7.1",
|
|
|
|
"mac_address": "00:50:56:c0:00:0a",
|
|
|
|
"name": "vmnet10",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "255.255.255.0",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": true,
|
2016-07-14 13:31:49 +00:00
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
2016-09-14 13:24:27 +00:00
|
|
|
"id": "vmnet2",
|
|
|
|
"ip_address": "172.16.0.1",
|
|
|
|
"mac_address": "00:50:56:c0:00:02",
|
|
|
|
"name": "vmnet2",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "255.255.255.0",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": true,
|
2016-07-14 13:31:49 +00:00
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
2016-09-14 13:24:27 +00:00
|
|
|
"id": "vmnet3",
|
|
|
|
"ip_address": "172.16.1.1",
|
|
|
|
"mac_address": "00:50:56:c0:00:03",
|
|
|
|
"name": "vmnet3",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "255.255.255.0",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": true,
|
2016-07-14 13:31:49 +00:00
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vmnet4",
|
|
|
|
"ip_address": "172.16.2.1",
|
|
|
|
"mac_address": "00:50:56:c0:00:04",
|
|
|
|
"name": "vmnet4",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "255.255.255.0",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": true,
|
2016-07-14 13:31:49 +00:00
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vmnet5",
|
|
|
|
"ip_address": "172.16.3.1",
|
|
|
|
"mac_address": "00:50:56:c0:00:05",
|
|
|
|
"name": "vmnet5",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "255.255.255.0",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": true,
|
2016-07-14 13:31:49 +00:00
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vmnet6",
|
|
|
|
"ip_address": "172.16.4.1",
|
|
|
|
"mac_address": "00:50:56:c0:00:06",
|
|
|
|
"name": "vmnet6",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "255.255.255.0",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": true,
|
2016-07-14 13:31:49 +00:00
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vmnet7",
|
|
|
|
"ip_address": "172.16.5.1",
|
|
|
|
"mac_address": "00:50:56:c0:00:07",
|
|
|
|
"name": "vmnet7",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "255.255.255.0",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": true,
|
2016-07-14 13:31:49 +00:00
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vmnet8",
|
|
|
|
"ip_address": "192.168.229.1",
|
|
|
|
"mac_address": "00:50:56:c0:00:08",
|
|
|
|
"name": "vmnet8",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "255.255.255.0",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": true,
|
2016-07-14 13:31:49 +00:00
|
|
|
"type": "ethernet"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vmnet9",
|
|
|
|
"ip_address": "172.16.6.1",
|
|
|
|
"mac_address": "00:50:56:c0:00:09",
|
|
|
|
"name": "vmnet9",
|
2016-08-29 13:58:29 +00:00
|
|
|
"netmask": "255.255.255.0",
|
2016-09-27 15:15:40 +00:00
|
|
|
"special": true,
|
2016-07-14 13:31:49 +00:00
|
|
|
"type": "ethernet"
|
2016-07-11 13:37:57 +00:00
|
|
|
}
|
|
|
|
]
|