Validation of params in AWS API

Registered by Jesse Andrews

API paramaters aren't validated on execution. Before the method is ran, we should check if the required parameters are passed, and the values of the type expected.

Preferably we should implement the validation in a manner which allows generation of API documentation which shows the requirements. Nova/validate.py was meant to be a start of this by using decorators.

Blueprint information

Status:
Complete
Approver:
Rick Clark
Priority:
Low
Drafter:
Nova EC2 API
Direction:
Approved
Assignee:
Joe Gordon
Definition:
Approved
Series goal:
Accepted for essex
Implementation:
Implemented
Milestone target:
milestone icon 2012.1
Started by
Thierry Carrez
Completed by
Joe Gordon

Whiteboard

This should be considered a bugfix rather than a feature, therefore I untargeted it.
Can we get this moved over to gerrit?

Gerrit topic: https://review.openstack.org/#q,topic:bug/813685,n,z

Addressed by: https://review.openstack.org/1860
    aws/ec2 api validation

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.