Add the gnt-storage client
authorConstantinos Venetsanopoulos <cven@grnet.gr>
Wed, 28 Mar 2012 09:32:56 +0000 (12:32 +0300)
committerConstantinos Venetsanopoulos <cven@grnet.gr>
Wed, 22 Aug 2012 14:39:14 +0000 (17:39 +0300)
commit9bcef16fce36fe8cd6837e714a0f3d474e9a5f79
treedcfda3429dcb81d2366ce222ea30236316d6dfbf
parent47aaeaffe58e48f5b0b691bb51585257b9b94cb8
Add the gnt-storage client

Add a new client called 'gnt-storage'.
The client interacts with the ExtStorage interface, similarly to
the way gnt-os interacts with the OS interface.

For now, only two commands are supported: 'info' and 'diagnose'.

'diagnose' calculates the node status of each provider on each node,
similarly to gnt-os diagnose. Furthermore, for every provider, it
calculates it's nodegroup validity for each nodegroup. This is done
inside the LU and not the client (marked as 'TODO' for the  global
validity of gnt-os diagnose).

In the future, gnt-storage can be used to manage storage pools,
or even be extended to diagnose other storage types supported by
Ganeti, such as lvm, drbd (INT_MIRROR) or rbd (EXT_MIRROR).

Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr>
Makefile.am
autotools/build-bash-completion
lib/backend.py
lib/cli.py
lib/client/gnt_storage.py [new file with mode: 0644]
lib/cmdlib.py
lib/constants.py
lib/opcodes.py
lib/query.py
lib/rpc_defs.py
lib/server/noded.py