Reviewed: https://review.openstack.org/205514 Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=d75c2e0b3160888a1f380567df6cd03ea04e7304 Submitter: Jenkins Branch: master
commit d75c2e0b3160888a1f380567df6cd03ea04e7304 Author: Keiichiro Tokunaga <email address hidden> Date: Fri Jul 24 19:52:12 2015 +0900
Add error response codes to net provider ext attr
The all methods of "Networks provider extended attributes" are missing "Error response codes".
The methods should have the following error response codes.
- List networks Unauthorized(401)
- Create network Bad request(400), Unauthorized(401)
- Show network details Unauthorized(401), Not found(404)
- Update network Bad request(400), Unauthorized(401), Not found(404)
- Delete network Unauthorized(401), Not found(404), Conflict(409)
Actually, "Delete network" is missing "Normal response codes" as well, and that should be '204'. That can be fixed in this patch.
Change-Id: I3246f85fccd3b4980410954643a133583d3ab939 Closes-Bug: #1477527
Reviewed: https:/ /review. openstack. org/205514 /git.openstack. org/cgit/ openstack/ api-site/ commit/ ?id=d75c2e0b316 0888a1f380567df 6cd03ea04e7304
Committed: https:/
Submitter: Jenkins
Branch: master
commit d75c2e0b3160888 a1f380567df6cd0 3ea04e7304
Author: Keiichiro Tokunaga <email address hidden>
Date: Fri Jul 24 19:52:12 2015 +0900
Add error response codes to net provider ext attr
The all methods of "Networks provider extended attributes" are
missing "Error response codes".
The methods should have the following error response codes.
- List networks
Unauthorized( 401)
- Create network
Bad request(400), Unauthorized(401)
- Show network details
Unauthorized( 401), Not found(404)
- Update network
Bad request(400), Unauthorized(401), Not found(404)
- Delete network
Unauthorized( 401), Not found(404), Conflict(409)
Actually, "Delete network" is missing "Normal response codes" as
well, and that should be '204'. That can be fixed in this patch.
Change-Id: I3246f85fccd3b4 980410954643a13 3583d3ab939
Closes-Bug: #1477527