Adding batch-create to gnt-instance
authorRené Nussbaumer <rn@google.com>
Wed, 15 Oct 2008 13:38:49 +0000 (13:38 +0000)
committerRené Nussbaumer <rn@google.com>
Wed, 15 Oct 2008 13:38:49 +0000 (13:38 +0000)
commit0d0e909035d3d83b7d72bc484922cda22108ac07
treec66710082b2be710d09bb6df3a518f73f2bdc19a
parent5d67298008eea518ef5e1a654f2c2a5f09544306
Adding batch-create to gnt-instance

This change is part of the integration of tools/batcher from
Ganeti 1.2 into Ganeti 2.0 core code. It has a compatible
submission interface to the version from 1.2 with these differences:

* it's integrated into Ganeti directly: gnt-instance batch-create
* iallocator is now provided by the instance specs
* log is now held within Ganeti
* no force needed
* no sleep needed
* memory and vcpus goes now into beparams
* missing stuff from the TODO (see below)

Open TODOs:

* Implement notification about creation status/interactive part (top like)
* Backup instance allocation specs?
* Document usage and spec format

Reviewed-by: iustinp
scripts/gnt-instance