HP VAN SDN Controller REST API Guide
Sample response
1 {
2 "controllers": {
3 "master": "15.255.127.65",
4 "slaves": [
5 "15.255.127.75",
6 "15.255.127.85"
7 ]
8 }
9 }
Response codes
• Normal: OK (200)
• Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
Datapaths/{dpid}/features/meter
Sample request
List meter features for given datapath:
GET /sdn/v2.0/of/datapaths/{dpid}/features/meter
There is no request body for this API.
Sample response
{
"meter_features": {
"flags": [
"kbps",
"pktps",
"stats"
],
"max_bands_per_meter": 2,
"max_color_value": 8,
"max_meters": 126,
"types": [
"drop"
]
},
"version": "1.3.0"
}
Response codes
• Normal: OK (200)
• Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
Datapaths/{dpid}/features/group
Sample request
List group features for given datapath:
GET /sdn/v2.0/of/datapaths/{dpid}/features/group
There is no request body for this API.
Sample response
{
"group_features": {
"actions": [
Datapaths 55