]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Validate dscp value less that 64
authorAaron Rosen <arosen@nicira.com>
Wed, 10 Jul 2013 23:55:29 +0000 (16:55 -0700)
committerAaron Rosen <arosen@nicira.com>
Wed, 10 Jul 2013 23:57:22 +0000 (16:57 -0700)
commitb51738b3102e4954fce7c470145e430609ac2e31
tree5f12a96b991228449609fdb46754d459c9e8b346
parent58424dd6166f08c4d246aad1157a20b348d3af45
Validate dscp value less that 64

Previously neutron would raise a 500 error if the dscp value was greater
than 63. This patch adds validation to neutron so that a clear error
message is returned if the value is greater than 63.

Fixes bug 1200026

Change-Id: I41a93661952669d112463608be907eede1901490
neutron/plugins/nicira/extensions/nvp_qos.py
neutron/tests/unit/nicira/test_nicira_plugin.py