HP VAN SDN Controller REST API Guide

List meter statistics for a specific meter:
GET /sdn/v2.0/of/stats/meters?dpid="00:64:74:46:a0:ff:07:00"&meter_id=3
There is no request body for this API.
Sample response
{
"stats": [
{
"dpid": "00:64:74:46:a0:ff:07:00",
"meter_stats": [
{
"band_stats": [
{
"byte_count": 0,
"packet_count": 0
},
{
"byte_count": 0,
"packet_count": 0
}
],
"byte_count": 0,
"duration_nsec": 3801967296,
"duration_sec": 3664433282,
"flow_count": 0,
"id": 1,
"packet_count": 0
}
],
"version": "1.3.0"
}
]
}
Response codes
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
Datapaths
Sample request
List all datapaths:
GET /sdn/v2.0/of/datapaths
There is no request body for this API.
Sample response
{
"datapaths": [
{
"capabilities": [
"flow_stats",
"table_stats",
"port_stats",
"group_stats",
"port_blocked"
],
"device_ip": "140.1.1.1",
Datapaths 53