列出所有网络设备。
请求示例:
GET /api/network/v1/devices HTTP/1.1 Authorization: Basic ab6rt4psMWE= Host: example.zfssa.com:215 Accept: application/json
结果示例:
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 412
X-Zfssa-Gns-Api: 1.0
{
"devices": [{
"href": "/api/network/v1/devices/ixgbe0",
....
}, {
"href": "/api/network/v1/devices/ixgbe1",
...
}, {
"href": "/api/network/v1/devices/ixgbe2",
...
}, {
"href": "/api/network/v1/devices/ixgbe3",
...
}]
}