diff options
author | Yuichi Ito <ito.yuichi0@gmail.com> | 2014-03-31 14:51:03 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-04-01 07:14:11 +0900 |
commit | d6bbd8349760e1fb93e74353f751eee1b025912b (patch) | |
tree | c1347f5b2051e169614acb9a75116454ff1a652c /tools/pip-requires | |
parent | d0cd13a6605337682219da8abcfbb702b484be76 (diff) |
ofctl_v1_3: Fix to enable using meter flags multiply
ofctl_rest is now enabled to parse flags multiply as follows:
curl -X POST -d '{"dpid": 1,
"meter_id": 1,
"flags": ["KBPS", "BURST"],
"bands": [{"type": "DROP", "rate": 1000}]}' http://localhost:8080/stats/meterentry/add
And now enabled to show flags as follows:
curl http://localhost:8080/stats/meterconfig/1
{
"1": [
{"bands": [{"burst_size": 0, "rate": 1000, "type": "DROP"}],
"flags": ["KBPS", "BURST"], "meter_id": 1}
]
}
Reported-by: cheers <cnmjbm@gmail.com>
Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools/pip-requires')
0 files changed, 0 insertions, 0 deletions