blob: 443593237152237bd4620cb28e13a2455a52d94d [file] [log] [blame]
john-griffithd0860cc2014-01-23 11:31:10 -07001# lib/cinder_plugins/sheepdog
2# Configure the sheepdog driver
3
4# Enable with:
5#
6# CINDER_DRIVER=sheepdog
7
8# Dependencies:
9#
10# - ``functions`` file
11# - ``cinder`` configurations
12
13# configure_cinder_driver - make configuration changes, including those to other services
14
15# Save trace setting
16MY_XTRACE=$(set +o | grep xtrace)
17set +o xtrace
18
19
20# Defaults
21# --------
22
23# Set up default directories
24
25
26# Entry Points
27# ------------
28
29# configure_cinder_driver - Set config files, create data dirs, etc
30function configure_cinder_driver() {
31 iniset $CINDER_CONF DEFAULT volume_driver "cinder.volume.drivers.sheepdog.SheepdogDriver"
32}
33
34# Restore xtrace
35$MY_XTRACE
36
37# Local variables:
38# mode: shell-script
39# End: