• Constantinos Venetsanopoulos's avatar
    Add the gnt-storage client · b954f097
    Constantinos Venetsanopoulos authored
    
    
    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: default avatarConstantinos Venetsanopoulos <cven@grnet.gr>
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    [iustin@google.com: fixed Haskell compatibility and style fixes]
    Reviewed-by: default avatarIustin Pop <iustin@google.com>
    b954f097
Makefile.am 52.2 KB