HP VAN SDN Controller REST API Guide

{
"all": [
"output"
]
},
{
"select": [
"output"
]
}
],
"capabilities": [
"select_liveness"
],
"max_groups": [
{
"all": 32
},
{
"select": 32
}
],
"types": [
"all",
"select"
]
},
"version": "1.3.0"
}
Response codes
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
Datapaths/{dpid}/ports
Sample request
List all ports for the given dpid:
GET /sdn/v2.0/of/datapaths/{dpid}/ports
There is no request body for this API.
Sample response
{
"ports": [
{
"advertised_features": [],
"config": [],
"current_features": [
"rate_1gb_fd",
"rate_1tb_fd"
],
"current_speed": 3567587328,
"id": 23,
"mac": "74:46:a0:ff:07:29",
"max_speed": 3567587328,
"name": "23",
"peer_features": [],
"state": [
"live"
],
56 /sdn/v2.0/of