Fei Long Wang a6ca935665 Raise error when period with negative value
Based on current implement, when use launch below REST API:
GET http://10.1.0.175:8777/v2/meters/port/statistics?period=-1
The result will be 200 OK. No any error reports. This query
should not allow negative value setting but 400 error, and
prompts like this: "Period must be positive.". Just like
setting "Limit" to negative.

Fixes bug 1212159

Change-Id: I8d547fdf8faae2094b24c81da6b233b432bc99ae
2013-08-16 07:34:24 +08:00
..
2013-07-23 15:43:34 +02:00
2013-05-28 12:43:10 +01:00
2013-07-30 10:32:06 +02:00