Hi,

This patch set introduces the 'models/actions' directory for CIMI
where we can store the 'action' models, like MachineTemplateCreate
or MachineCreate. I do believe these models will make our CIMI entities
more nicer and we will require much less code to handle the create
operation.

Also using the 'action' models will make possible to add validation for
those attributes that are 'mandatory' by the CIMI specification, like
the 'machineImage' or 'machineConfig' when creating the MachineTemplate.

More description of how this works can be found in commit messages :-)

This is just a concept, if you have any ideas or suggestions how to make
it better or you think this is completely insane, please share your thoughts.

-- Michal

Reply via email to