2015-03-30 09:05:54 +00:00
|
|
|
curl -i -X GET 'http://localhost:8000/v1/interfaces'
|
2015-02-24 10:38:57 +00:00
|
|
|
|
2015-03-30 09:05:54 +00:00
|
|
|
GET /v1/interfaces HTTP/1.1
|
2015-02-24 10:38:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HTTP/1.1 200
|
|
|
|
CONNECTION: keep-alive
|
2015-03-30 09:05:54 +00:00
|
|
|
CONTENT-LENGTH: 718
|
2015-02-24 10:38:57 +00:00
|
|
|
CONTENT-TYPE: application/json
|
|
|
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
2015-05-01 09:20:55 +00:00
|
|
|
SERVER: Python/3.4 GNS3/1.4.0.dev1
|
2015-02-24 10:38:57 +00:00
|
|
|
X-ROUTE: /v1/interfaces
|
|
|
|
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"id": "lo0",
|
|
|
|
"name": "lo0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "gif0",
|
|
|
|
"name": "gif0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "stf0",
|
|
|
|
"name": "stf0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "en1",
|
|
|
|
"name": "en1"
|
|
|
|
},
|
2015-04-07 14:09:27 +00:00
|
|
|
{
|
|
|
|
"id": "fw0",
|
|
|
|
"name": "fw0"
|
|
|
|
},
|
2015-02-24 10:38:57 +00:00
|
|
|
{
|
|
|
|
"id": "en2",
|
|
|
|
"name": "en2"
|
|
|
|
},
|
2015-05-01 09:20:55 +00:00
|
|
|
{
|
|
|
|
"id": "en0",
|
|
|
|
"name": "en0"
|
|
|
|
},
|
2015-02-24 10:38:57 +00:00
|
|
|
{
|
|
|
|
"id": "p2p0",
|
|
|
|
"name": "p2p0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bridge0",
|
|
|
|
"name": "bridge0"
|
2015-03-30 09:05:54 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vboxnet0",
|
|
|
|
"name": "vboxnet0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vboxnet1",
|
|
|
|
"name": "vboxnet1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "vboxnet2",
|
|
|
|
"name": "vboxnet2"
|
2015-02-24 10:38:57 +00:00
|
|
|
}
|
|
|
|
]
|