Comment #1 on issue 111 by [email protected]: http request body programmatically to perform POST /2/instances (i.e. create instance)
http://code.google.com/p/ganeti/issues/detail?id=111

The RAPI documentation has improved quite a bit for Ganeti 2.2, please have a look at <http://git.ganeti.org/?p=ganeti.git;a=blob;f=doc/rapi.rst;hb=master>. In your case you need to pass all parameters as a JSON-encoded dictionary in the body, not the query. E.g.:

{"name": "inst1.example.com", "disk_template": "drbd", …}

Reply via email to