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.
Reviewed: https:/ /review. openstack. org/28705 github. com/openstack/ nova/commit/ 53226b3262a95e4 e62472416c125ee 3ebd58b52e
Committed: http://
Submitter: Jenkins
Branch: master
commit 53226b3262a95e4 e62472416c125ee 3ebd58b52e
Author: Satyanarayana Patibandla <email address hidden>
Date: Sat Apr 27 18:18:44 2013 -0400
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: I457a1626c56281 f89d8c4a606ccc0 d0e3aea05fa