1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-12 01:58:14 +00:00
gns3-server/docs/api/examples/get_interfaces.txt

333 lines
6.3 KiB
Plaintext
Raw Normal View History

curl -i -X GET 'http://localhost:8000/v1/interfaces'
2015-02-24 10:38:57 +00:00
GET /v1/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: *
2015-02-24 10:38:57 +00:00
CONNECTION: keep-alive
2015-10-16 17:05:29 +00:00
CONTENT-LENGTH: 6181
2015-02-24 10:38:57 +00:00
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
2015-10-16 17:05:29 +00:00
SERVER: Python/3.4 GNS3/1.4.0.dev9
2015-02-24 10:38:57 +00:00
X-ROUTE: /v1/interfaces
[
{
"id": "lo0",
2015-07-09 14:16:43 +00:00
"ip_address": "127.0.0.1",
2015-02-24 10:38:57 +00:00
"name": "lo0"
},
{
"id": "gif0",
2015-07-09 14:16:43 +00:00
"ip_address": "",
2015-02-24 10:38:57 +00:00
"name": "gif0"
},
{
"id": "stf0",
2015-07-09 14:16:43 +00:00
"ip_address": "",
2015-02-24 10:38:57 +00:00
"name": "stf0"
},
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"
},
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
{
"id": "en2",
2015-07-09 14:16:43 +00:00
"ip_address": "",
2015-02-24 10:38:57 +00:00
"name": "en2"
},
{
"id": "p2p0",
2015-07-09 14:16:43 +00:00
"ip_address": "",
2015-02-24 10:38:57 +00:00
"name": "p2p0"
},
{
"id": "bridge0",
2015-07-09 14:16:43 +00:00
"ip_address": "",
2015-02-24 10:38:57 +00:00
"name": "bridge0"
},
{
"id": "vboxnet0",
2015-10-16 17:05:29 +00:00
"ip_address": "",
"name": "vboxnet0"
},
{
"id": "vboxnet1",
2015-07-09 14:16:43 +00:00
"ip_address": "",
"name": "vboxnet1"
},
{
"id": "vboxnet2",
2015-07-09 14:16:43 +00:00
"ip_address": "",
"name": "vboxnet2"
2015-07-09 14:16:43 +00:00
},
2015-10-16 17:05:29 +00:00
{
"id": "vboxnet3",
"ip_address": "192.168.99.1",
"name": "vboxnet3"
},
2015-07-09 14:16:43 +00:00
{
"id": "vmnet1",
"ip_address": "172.16.16.1",
"name": "vmnet1"
},
2015-10-16 17:05:29 +00:00
{
"id": "vmnet2",
"ip_address": "172.16.0.1",
"name": "vmnet2"
},
{
"id": "vmnet3",
"ip_address": "172.16.1.1",
"name": "vmnet3"
},
{
"id": "vmnet4",
"ip_address": "172.16.2.1",
"name": "vmnet4"
},
{
"id": "vmnet5",
"ip_address": "172.16.3.1",
"name": "vmnet5"
},
{
"id": "vmnet6",
"ip_address": "172.16.4.1",
"name": "vmnet6"
},
{
"id": "vmnet7",
"ip_address": "172.16.5.1",
"name": "vmnet7"
},
2015-07-09 14:16:43 +00:00
{
"id": "vmnet8",
"ip_address": "192.168.229.1",
"name": "vmnet8"
2015-10-16 17:05:29 +00:00
},
{
"id": "vmnet9",
"ip_address": "172.16.6.1",
"name": "vmnet9"
},
{
"id": "vmnet10",
"ip_address": "172.16.7.1",
"name": "vmnet10"
},
{
"id": "vmnet11",
"ip_address": "172.16.8.1",
"name": "vmnet11"
},
{
"id": "vmnet12",
"ip_address": "172.16.9.1",
"name": "vmnet12"
},
{
"id": "vmnet13",
"ip_address": "172.16.10.1",
"name": "vmnet13"
},
{
"id": "vmnet14",
"ip_address": "172.16.11.1",
"name": "vmnet14"
},
{
"id": "vmnet15",
"ip_address": "172.16.12.1",
"name": "vmnet15"
},
{
"id": "vmnet16",
"ip_address": "172.16.13.1",
"name": "vmnet16"
},
{
"id": "vmnet17",
"ip_address": "172.16.14.1",
"name": "vmnet17"
},
{
"id": "vmnet18",
"ip_address": "172.16.15.1",
"name": "vmnet18"
},
{
"id": "vmnet19",
"ip_address": "172.16.17.1",
"name": "vmnet19"
},
{
"id": "vmnet20",
"ip_address": "172.16.18.1",
"name": "vmnet20"
},
{
"id": "vmnet21",
"ip_address": "172.16.19.1",
"name": "vmnet21"
},
{
"id": "vmnet22",
"ip_address": "172.16.20.1",
"name": "vmnet22"
},
{
"id": "vmnet23",
"ip_address": "172.16.21.1",
"name": "vmnet23"
},
{
"id": "vmnet24",
"ip_address": "172.16.22.1",
"name": "vmnet24"
},
{
"id": "vmnet25",
"ip_address": "172.16.23.1",
"name": "vmnet25"
},
{
"id": "vmnet26",
"ip_address": "172.16.24.1",
"name": "vmnet26"
},
{
"id": "vmnet27",
"ip_address": "172.16.25.1",
"name": "vmnet27"
},
{
"id": "vmnet28",
"ip_address": "172.16.26.1",
"name": "vmnet28"
},
{
"id": "vmnet29",
"ip_address": "172.16.27.1",
"name": "vmnet29"
},
{
"id": "vmnet30",
"ip_address": "172.16.28.1",
"name": "vmnet30"
},
{
"id": "vmnet31",
"ip_address": "172.16.29.1",
"name": "vmnet31"
},
{
"id": "vmnet32",
"ip_address": "172.16.30.1",
"name": "vmnet32"
},
{
"id": "vmnet33",
"ip_address": "172.16.31.1",
"name": "vmnet33"
},
{
"id": "vmnet34",
"ip_address": "172.16.32.1",
"name": "vmnet34"
},
{
"id": "vmnet35",
"ip_address": "172.16.33.1",
"name": "vmnet35"
},
{
"id": "vmnet36",
"ip_address": "172.16.34.1",
"name": "vmnet36"
},
{
"id": "vmnet37",
"ip_address": "172.16.35.1",
"name": "vmnet37"
},
{
"id": "vmnet38",
"ip_address": "172.16.36.1",
"name": "vmnet38"
},
{
"id": "vmnet39",
"ip_address": "172.16.37.1",
"name": "vmnet39"
},
{
"id": "vmnet40",
"ip_address": "172.16.38.1",
"name": "vmnet40"
},
{
"id": "vmnet41",
"ip_address": "172.16.39.1",
"name": "vmnet41"
},
{
"id": "vmnet42",
"ip_address": "172.16.40.1",
"name": "vmnet42"
},
{
"id": "vmnet43",
"ip_address": "172.16.41.1",
"name": "vmnet43"
},
{
"id": "vmnet44",
"ip_address": "172.16.42.1",
"name": "vmnet44"
},
{
"id": "vmnet45",
"ip_address": "172.16.43.1",
"name": "vmnet45"
},
{
"id": "vmnet46",
"ip_address": "172.16.44.1",
"name": "vmnet46"
},
{
"id": "vmnet47",
"ip_address": "172.16.45.1",
"name": "vmnet47"
},
{
"id": "vmnet48",
"ip_address": "172.16.46.1",
"name": "vmnet48"
},
{
"id": "vmnet49",
"ip_address": "172.16.47.1",
"name": "vmnet49"
},
{
"id": "vmnet50",
"ip_address": "172.16.48.1",
"name": "vmnet50"
2015-02-24 10:38:57 +00:00
}
]