1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-03 21:58:13 +00:00
gns3-server/docs/api/examples/controller_get_appliances.txt

105 lines
2.9 KiB
Plaintext
Raw Normal View History

2018-01-08 08:26:44 +00:00
curl -i -X GET 'http://localhost:3080/v2/appliances'
GET /v2/appliances HTTP/1.1
HTTP/1.1 200
Connection: close
2018-06-07 08:26:06 +00:00
Content-Length: 2690
2018-01-08 08:26:44 +00:00
Content-Type: application/json
Date: Thu, 16 Aug 2018 14:23:19 GMT
Server: Python/3.5 GNS3/2.2.0dev2
2018-01-08 08:26:44 +00:00
X-Route: /v2/appliances
[
{
"appliance_id": "f8e6b43c-e844-4a83-9586-ab3696ca9eca",
"builtin": false,
"category": "router",
"compute_id": "local",
"default_name_format": "{name}-{0}",
"name": "test",
"node_type": "qemu",
"platform": null,
"symbol": "guest.svg"
},
2018-01-08 08:26:44 +00:00
{
"appliance_id": "dd0f6f3a-ba58-3249-81cb-a1dd88407a47",
2018-01-08 08:26:44 +00:00
"builtin": true,
"category": "switch",
2018-01-08 08:26:44 +00:00
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "Frame Relay switch",
"node_type": "frame_relay_switch",
2018-01-08 08:26:44 +00:00
"platform": null,
"symbol": ":/symbols/frame_relay_switch.svg"
2018-01-08 08:26:44 +00:00
},
{
"appliance_id": "39e257dc-8412-3174-b6b3-0ee3ed6a43e9",
2018-01-08 08:26:44 +00:00
"builtin": true,
"category": "guest",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "Cloud",
"node_type": "cloud",
2018-01-08 08:26:44 +00:00
"platform": null,
"symbol": ":/symbols/cloud.svg"
},
{
"appliance_id": "b4503ea9-d6b6-3695-9fe4-1db3b39290b0",
"builtin": true,
"category": "switch",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "Ethernet hub",
"node_type": "ethernet_hub",
"platform": null,
"symbol": ":/symbols/hub.svg"
},
{
"appliance_id": "aaa764e2-b383-300f-8a0e-3493bbfdb7d2",
2018-01-08 08:26:44 +00:00
"builtin": true,
"category": "switch",
2018-01-08 08:26:44 +00:00
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "ATM switch",
"node_type": "atm_switch",
2018-01-08 08:26:44 +00:00
"platform": null,
"symbol": ":/symbols/atm_switch.svg"
2018-01-08 08:26:44 +00:00
},
{
"appliance_id": "19021f99-e36f-394d-b4a1-8aaa902ab9cc",
2018-01-08 08:26:44 +00:00
"builtin": true,
"category": "guest",
2018-01-08 08:26:44 +00:00
"compute_id": null,
"default_name_format": "PC-{0}",
"name": "VPCS",
"node_type": "vpcs",
2018-01-08 08:26:44 +00:00
"platform": null,
"symbol": ":/symbols/vpcs_guest.svg"
2018-01-08 08:26:44 +00:00
},
{
"appliance_id": "df8f4ea9-33b7-3e96-86a2-c39bc9bb649c",
"builtin": true,
"category": "guest",
"compute_id": null,
2018-01-08 08:26:44 +00:00
"default_name_format": "{name}-{0}",
"name": "NAT",
"node_type": "nat",
2018-01-08 08:26:44 +00:00
"platform": null,
"symbol": ":/symbols/cloud.svg"
},
{
"appliance_id": "1966b864-93e7-32d5-965f-001384eec461",
"builtin": true,
"category": "switch",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "Ethernet switch",
"node_type": "ethernet_switch",
"platform": null,
"symbol": ":/symbols/ethernet_switch.svg"
2018-01-08 08:26:44 +00:00
}
]