Browse code

Merge "Remove lib/cinder_backends/solidfire"

Jenkins authored on 2016/02/27 11:37:24
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: