summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorSatyanarayana Patibandla <satya.patibandla@tcs.com>2013-04-27 18:18:44 -0400
committerSatyanarayana Patibandla <satya.patibandla@tcs.com>2013-05-20 02:16:17 +0530
commit53226b3262a95e4e62472416c125ee3ebd58b52e (patch)
tree9151b6cdf5486b7aa596a1ef9ea0aaedc0e9fd7e /nova/exception.py
parenteebcd6f2058d78c87dd2ee0a9a90f21f33f44e97 (diff)
downloadnova-53226b3262a95e4e62472416c125ee3ebd58b52e.tar.gz
nova-53226b3262a95e4e62472416c125ee3ebd58b52e.tar.xz
nova-53226b3262a95e4e62472416c125ee3ebd58b52e.zip
Added validation for networks parameter value
A validation check is added for networks parameter value. In server create request body, if networks parameter value is not stored in a list then 'Bad networks format' error is thrown with bad request exception.A new test case is added to verify whether it is returning bad request exception when invalid syntax is used. Fixes: bug #1175683 Change-Id: I457a1626c56281f89d8c4a606ccc0d0e3aea05fa
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions