]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
NSX: return 400 if dscp set for trusted queue
authorSalvatore Orlando <salv.orlando@gmail.com>
Thu, 19 Jun 2014 12:49:18 +0000 (05:49 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Thu, 19 Jun 2014 16:35:47 +0000 (09:35 -0700)
commitf24482b18428a4935cbda97f96532e7c0876d9bd
tree701f405b00bd090c7b73daea055c52864f7bee23
parent24718e6f1764e95f0c393ba042546e3584981b31
NSX: return 400 if dscp set for trusted queue

If qos_marking is set to True, the code currently silently
drops the dscp setting and continues.

It is preferrable instead to notify the user of the invalid
setting returning a 400 error.

Change-Id: I7db1867712bd20f2030c56a42baac20e6ae76d0d
Closes-Bug: 1332062
neutron/plugins/vmware/dbexts/qos_db.py
neutron/plugins/vmware/extensions/qos.py
neutron/tests/unit/vmware/extensions/test_qosqueues.py