gnt-cluster {init, modify} --file-storage-dir
authorHelga Velroyen <helgav@google.com>
Mon, 22 Jul 2013 11:06:22 +0000 (13:06 +0200)
committerHelga Velroyen <helgav@google.com>
Tue, 23 Jul 2013 12:29:59 +0000 (14:29 +0200)
commit3039e2dce4fa3d2d9875538617cbcb2a2c0f9c1f
tree37c124feefea5bfcf2f7f7fddf2062efed18955c
parent738436bf45dc1c6a82a6fac70cbc09099bf210c1
gnt-cluster {init, modify} --file-storage-dir

This patch implements consistent usage and behavior of
the --file-storage-dir option in 'gnt-cluster init'
and 'gnt-cluster modify'. It includes a bunch of unit
tests as well.

Additionally, it enables the previously written unit
tests for 'instance_storage', which were forgotten to
be included in the Makefile so far.

Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
13 files changed:
Makefile.am
lib/bootstrap.py
lib/cli.py
lib/client/gnt_cluster.py
lib/cmdlib/cluster.py
lib/opcodes.py
qa/qa_cluster.py
src/Ganeti/OpCodes.hs
src/Ganeti/OpParams.hs
test/hs/Test/Ganeti/OpCodes.hs
test/py/ganeti.bootstrap_unittest.py
test/py/ganeti.cmdlib.cluster_unittest.py [new file with mode: 0755]
test/py/ganeti.cmdlib.instance_storage_unittest.py [changed mode: 0644->0755]