2016-03-11 16:16:09 +00:00
|
|
|
curl -i -X GET 'http://localhost:8000/v2/hypervisor/interfaces'
|
2015-02-24 10:38:57 +00:00
|
|
|
|
2016-03-11 16:16:09 +00:00
|
|
|
GET /v2/hypervisor/interfaces HTTP/1.1
|
2015-02-24 10:38:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HTTP/1.1 200
|
2015-07-09 14:16:43 +00:00
|
|
|
ACCESS-CONTROL-ALLOW-ORIGIN: *
|
2016-03-04 16:50:17 +00:00
|
|
|
CONTENT-LENGTH: 1253
|
2015-02-24 10:38:57 +00:00
|
|
|
CONTENT-TYPE: application/json
|
|
|
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
2016-03-04 16:50:17 +00:00
|
|
|
SERVER: Python/3.5 GNS3/1.5.0dev1
|
2016-03-07 16:57:12 +00:00
|
|
|
X-ROUTE: /v2/hypervisor/interfaces
|
2015-02-24 10:38:57 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
{
|
2016-01-04 16:04:15 +00:00
|
|
|
"id": "bridge0",
|
2015-07-09 14:16:43 +00:00
|
|
|
"ip_address": "",
|
2016-01-04 16:04:15 +00:00
|
|
|
"name": "bridge0"
|
2015-02-24 10:38:57 +00:00
|
|
|
},
|
2015-06-10 12:35:53 +00:00
|
|
|
{
|
|
|
|
"id": "en0",
|
2015-10-16 17:05:29 +00:00
|
|
|
"ip_address": "",
|
2015-06-10 12:35:53 +00:00
|
|
|
"name": "en0"
|
|
|
|
},
|
2015-07-09 14:16:43 +00:00
|
|
|
{
|
|
|
|
"id": "en1",
|
2015-10-16 17:05:29 +00:00
|
|
|
"ip_address": "192.168.84.114",
|
2015-07-09 14:16:43 +00:00
|
|
|
"name": "en1"
|
|
|
|
},
|
2016-01-04 16:04:15 +00:00
|
|
|
{
|
|
|
|
"id": "en2",
|
|
|
|
"ip_address": "",
|
|
|
|
"name": "en2"
|
|
|
|
},
|
2015-04-07 14:09:27 +00:00
|
|
|
{
|
|
|
|
"id": "fw0",
|
2015-07-09 14:16:43 +00:00
|
|
|
"ip_address": "",
|
2015-04-07 14:09:27 +00:00
|
|
|
"name": "fw0"
|
|
|
|
},
|
2015-02-24 10:38:57 +00:00
|
|
|
{
|
2016-01-04 16:04:15 +00:00
|
|
|
"id": "lo0",
|
|
|
|
"ip_address": "127.0.0.1",
|
|
|
|
"name": "lo0"
|
2015-02-24 10:38:57 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "p2p0",
|
2015-07-09 14:16:43 +00:00
|
|
|
"ip_address": "",
|
2015-02-24 10:38:57 +00:00
|
|
|
"name": "p2p0"
|
|
|
|
},
|
2015-03-30 09:05:54 +00:00
|
|
|
{
|
|
|
|
"id": "vboxnet0",
|
2016-03-04 16:50:17 +00:00
|
|
|
"ip_address": "",
|
2015-03-30 09:05:54 +00:00
|
|
|
"name": "vboxnet0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vboxnet1",
|
2016-03-04 16:50:17 +00:00
|
|
|
"ip_address": "",
|
2015-03-30 09:05:54 +00:00
|
|
|
"name": "vboxnet1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vboxnet2",
|
2015-07-09 14:16:43 +00:00
|
|
|
"ip_address": "",
|
2015-03-30 09:05:54 +00:00
|
|
|
"name": "vboxnet2"
|
2015-07-09 14:16:43 +00:00
|
|
|
},
|
2015-10-16 17:05:29 +00:00
|
|
|
{
|
|
|
|
"id": "vboxnet3",
|
2016-03-04 16:50:17 +00:00
|
|
|
"ip_address": "",
|
2015-10-16 17:05:29 +00:00
|
|
|
"name": "vboxnet3"
|
2016-03-04 16:50:17 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vboxnet4",
|
|
|
|
"ip_address": "",
|
|
|
|
"name": "vboxnet4"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vboxnet5",
|
|
|
|
"ip_address": "",
|
|
|
|
"name": "vboxnet5"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vboxnet6",
|
|
|
|
"ip_address": "",
|
|
|
|
"name": "vboxnet6"
|
2015-02-24 10:38:57 +00:00
|
|
|
}
|
|
|
|
]
|