Hi,

This revision add support for MachineTemplate model in CIMI.

How to use it:

curl -v -X POST -H 'Content-Type: application/json' --user \
  'mockuser:mockpassword' -d @machine_template.json \
  http://localhost:3001/cimi/machine_templates

(machine_template.json is attached).

Then if you want to create a new machine using this MachineTemplate:

curl -v -X POST -H 'Content-Type: application/json' --user \
  'mockuser:mockpassword' -d @machine_from_temp.json \
  http://localhost:3001/cimi/machines

(machine_from_temp.json) is attached)

  -- Michal

Reply via email to