Browse code

Remove lib/cinder_backends/solidfire

This was something we used a while back, but since support
for sections was added to devstack local.conf parsing we
don't need this, and actually prefer just using the
sections in local.conf.

Here's an example of how to achieve the same thing via
local.conf sections:

CINDER_ENABLED_BACKENDS=solidfire
TEMPEST_VOLUME_DRIVER=SolidFireDriver
TEMPEST_VOLUME_VENDOR="SolidFire Inc"
TEMPEST_STORAGE_PROTOCOL=iSCSI

[[post-config|$CINDER_CONF]]
[DEFAULT]
CINDER_ENABLED_BACKENDS=solidfire
[solidfire]
volume_driver=cinder.volume.drivers.solidfire.SolidFireDriver
san_ip=192.168.160.3
san_login=admin
san_password=admin
volume_backend_name=solidfire

Change-Id: I8068fd4fb14510b15c31edf490283454f167f6c6

John Griffith authored on 2016/01/28 03:30:22
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,49 +0,0 @@
1
-#!/bin/bash
2
-#
3
-# lib/cinder_backends/solidfire
4
-# Configure the solidfire driver
5
-
6
-# Enable with:
7
-#
8
-#   CINDER_ENABLED_BACKENDS+=,solidfire:<volume-type-name>
9
-
10
-# Dependencies:
11
-#
12
-# - ``functions`` file
13
-# - ``cinder`` configurations
14
-
15
-# CINDER_CONF
16
-
17
-# configure_cinder_driver - make configuration changes, including those to other services
18
-
19
-# Save trace setting
20
-_XTRACE_CINDER_SOLIDFIRE=$(set +o | grep xtrace)
21
-set +o xtrace
22
-
23
-
24
-# Entry Points
25
-# ------------
26
-
27
-# configure_cinder_backend_solidfire - Set config files, create data dirs, etc
28
-function configure_cinder_backend_solidfire {
29
-    # To use SolidFire, set the following in local.conf:
30
-    # CINDER_ENABLED_BACKENDS+=,solidfire:<volume-type-name>
31
-    # SAN_IP=<mvip>
32
-    # SAN_LOGIN=<cluster-admin-account>
33
-    # SAN_PASSWORD=<cluster-admin-password>
34
-
35
-    local be_name=$1
36
-    iniset $CINDER_CONF $be_name volume_backend_name $be_name
37
-    iniset $CINDER_CONF $be_name volume_driver "cinder.volume.drivers.solidfire.SolidFireDriver"
38
-    iniset $CINDER_CONF $be_name san_ip $SAN_IP
39
-    iniset $CINDER_CONF $be_name san_login $SAN_LOGIN
40
-    iniset $CINDER_CONF $be_name san_password $SAN_PASSWORD
41
-}
42
-
43
-
44
-# Restore xtrace
45
-$_XTRACE_CINDER_SOLIDFIRE
46
-
47
-# Local variables:
48
-# mode: shell-script
49
-# End: