OpenDoveSwitchStatsNorthbound

Open DOVE Northbound REST APIs for Switch Stats.


Authentication scheme [for now]: HTTP Basic
Authentication realm : opendaylight
Transport : HTTP and HTTPS

HTTPS Authentication is disabled by default. Administrator can enable it in tomcat-server.xml after adding a proper keystore / SSL certificate from a trusted authority.
More info : http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Configuration

The following resources are part of this group:

/switch_stats

Mount Point: /controller/nb/v2/opendove/odmc/switch_stats

GET

Returns switch statistics

Parameters

name description type default
ip (no documentation provided) query
vnid (no documentation provided) query
mac (no documentation provided) query

Response Body

element: openDoveSwitchStatsRequest
media types: application/json

statistics


Example:

Request URL:
http://localhost:8080/controller/nb/v2/opendove/odmc/switch_stats?ip=1.1.1.1&vnid=100[&mac=000000000001]

Response body in JSON:
{
"stats": [ { "Name": "", "Value": " } ]
}

Status Codes

code description
200 Operation successful
204 No content
401 Unauthorized
500 Internal Error

DELETE

Returns switch statistics

Parameters

name description type default
ip (no documentation provided) query
vnid (no documentation provided) query
mac (no documentation provided) query

Response Body

element: openDoveSwitchStatsRequest
media types: application/json

(no documentation provided)

Status Codes

code description
200 Operation successful
204 No content
401 Unauthorized
500 Internal Error