Core shared file storage support
This patch introduces core file storage support, consisting of the following: A configure-time switch for enabling/disabling shared file storage support and controlling the shared file storage location: --with-shared-file-storage-dir=. Shared file storage configuration is then available as _autoconf.ENABLE_SHARED_FILE_STORAGE and _autoconf.SHARED_FILE_STORAGE_DIR and there is a cluster-wide ssconf key named "shared_file_storage_dir" for changing the file location. A new disk template named "sharedfile" (DT_SHARED_FILE), using ganeti.bdev.FileStorage. Auxiliary functions in lib/config.py to handle shared file storage. Signed-off-by:Apollon Oikonomopoulos <apollon@noc.grnet.gr> [iustin@google.com: small style fixes] Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
Showing
- Makefile.am 2 additions, 0 deletionsMakefile.am
- configure.ac 17 additions, 0 deletionsconfigure.ac
- lib/backend.py 14 additions, 12 deletionslib/backend.py
- lib/bdev.py 2 additions, 2 deletionslib/bdev.py
- lib/bootstrap.py 1 addition, 0 deletionslib/bootstrap.py
- lib/cli.py 10 additions, 0 deletionslib/cli.py
- lib/client/gnt_cluster.py 2 additions, 0 deletionslib/client/gnt_cluster.py
- lib/cmdlib.py 34 additions, 9 deletionslib/cmdlib.py
- lib/config.py 8 additions, 0 deletionslib/config.py
- lib/constants.py 11 additions, 4 deletionslib/constants.py
- lib/objects.py 2 additions, 1 deletionlib/objects.py
- lib/opcodes.py 16 additions, 0 deletionslib/opcodes.py
- lib/ssconf.py 10 additions, 0 deletionslib/ssconf.py
Loading
Please register or sign in to comment