lib/cinder: add sheepdog support
This enables us to use Sheepdog as a Cinder backend storage by setting the CINDER_DRIVER environment variable. Change-Id: I70cfb7f89ac3260d277fa160c457d220255de065
This commit is contained in:
parent
a1e1b5c192
commit
af22a477d1
@ -209,6 +209,8 @@ function configure_cinder() {
|
|||||||
iniset $CINDER_CONF DEFAULT xenapi_nfs_server "$CINDER_XENAPI_NFS_SERVER"
|
iniset $CINDER_CONF DEFAULT xenapi_nfs_server "$CINDER_XENAPI_NFS_SERVER"
|
||||||
iniset $CINDER_CONF DEFAULT xenapi_nfs_serverpath "$CINDER_XENAPI_NFS_SERVERPATH"
|
iniset $CINDER_CONF DEFAULT xenapi_nfs_serverpath "$CINDER_XENAPI_NFS_SERVERPATH"
|
||||||
)
|
)
|
||||||
|
elif [ "$CINDER_DRIVER" == "sheepdog" ]; then
|
||||||
|
iniset $CINDER_CONF DEFAULT volume_driver "cinder.volume.drivers.sheepdog.SheepdogDriver"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user