'Create a new software deployment.'

@util.policy_enforce
def create(self, req, body):

    create_data = dict(((k, body.get(k)) for k in ('config_id', 'server_id', 'input_values', 'action', 'status', 'status_reason', 'stack_user_project_id')))
    sd = self.rpc_client.create_software_deployment(req.context, **create_data)
    return {'software_deployment': sd}
