added cinder ldev range for hitashi vsp storage

Change-Id: Ie195b8464c95946b82ac5b97dfbc3d799f301094
diff --git a/README.rst b/README.rst
index 9987ad1..fed6b9e 100644
--- a/README.rst
+++ b/README.rst
@@ -243,6 +243,21 @@
             engine: hitachi_vsp
             connection: FC
 
+Cinder setup with Hitachi VPS with defined ldev range
+
+.. code-block:: yaml
+
+    cinder:
+      controller:
+        enabled: true
+        backend:
+          hus100_backend:
+            type_name: HUS100
+            backend: hus100_backend
+            engine: hitachi_vsp
+            connection: FC
+            ldev_range: 0-1000
+
 Cinder setup with CEPH
 
 .. code-block:: yaml
diff --git a/cinder/files/backend/_hitachi_vsp.conf b/cinder/files/backend/_hitachi_vsp.conf
index 0f6ae75..ea5059c 100644
--- a/cinder/files/backend/_hitachi_vsp.conf
+++ b/cinder/files/backend/_hitachi_vsp.conf
@@ -61,4 +61,9 @@
 #hitachi multipath advice
 use_multipath_for_image_xfer=false
 
-hitachi_storage_cli=HORCM
\ No newline at end of file
+hitachi_storage_cli=HORCM
+
+{%- if backend.ldev_range is defined %}
+#Range for ldev that shoudl be used
+hitachi_ldev_range={{ backend.ldev_range }}
+{%- endif %}