diff options
author | Minoru TAKAHASHI <takahashi.minoru7@gmail.com> | 2015-10-22 17:31:34 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-10-28 14:44:40 +0900 |
commit | 26e8efb24677d3a912ee948410c5753ed208e22f (patch) | |
tree | e19bce7a12533d22aab09ce7f6a9bb669f50f11f /debian | |
parent | 9a534b46a6ded307ba7de9e5af451df08a815da4 (diff) |
ofctl_rest: support OFPTableFeaturesStats Message
this patch makes ofctl_rest enable use of OFPTableFeaturesStats message.
Get table features:
usage)
URI: /stats/tablefeatures/<dpid>
method: GET
e.g.)
$ curl -X GET http://localhost:8080/stats/tablefeatures/1
{
"1": [
{
"metadata_write": 18446744073709552000,
"config": 0,
"table_id": 0,
"metadata_match": 18446744073709552000,
"max_entries": 4096,
"properties": [
{
"type": "INSTRUCTIONS",
"instruction_ids": [
{
"len": 4,
"type": 1
},
....
]
},
...
],
"name": "table_0"
},
{
"metadata_write": 18446744073709552000,
"config": 0,
"table_id": 1,
"metadata_match": 18446744073709552000,
"max_entries": 4096,
"properties": [
{
"type": "INSTRUCTIONS",
"instruction_ids": [
{
"len": 4,
"type": 1
},
....
]
},
...
],
"name": "table_1"
},
...
]
}
Signed-off-by: Minoru TAKAHASHI <takahashi.minoru7@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions