]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Send 400 error if device specification contains unexpected attributes
authorSalvatore Orlando <salv.orlando@gmail.com>
Wed, 24 Apr 2013 00:11:07 +0000 (02:11 +0200)
committerSalvatore Orlando <salv.orlando@gmail.com>
Wed, 24 Apr 2013 22:02:23 +0000 (00:02 +0200)
commit01a977b66958ec1d03964bbe3aaf218ff044232b
tree92b12ea97a2f1a90b1c9d90c39cd52c7cc49301b
parent941bb2122b966210597033d314af290a39428dda
Send 400 error if device specification contains unexpected attributes

Bug #1171926

This patch simply enhances the validator for the 'devices' attribute
by verifying each element in the device list does not contain
unexpected attributes.

Change-Id: Id3fd182a7f711b482ad371752983264ad73b100f
quantum/plugins/nicira/extensions/nvp_networkgw.py
quantum/tests/unit/nicira/test_networkgw.py