Add volume param to runtest

Now runtest generates storage_protocol
Related-prod: PROD-19439

Change-Id: I7d2c092028417a7895f47516330f86afd5551803
diff --git a/_modules/runtest/tempest_sections/volume.py b/_modules/runtest/tempest_sections/volume.py
index 8a2ef73..df24023 100644
--- a/_modules/runtest/tempest_sections/volume.py
+++ b/_modules/runtest/tempest_sections/volume.py
@@ -72,7 +72,21 @@
 
     @property
     def storage_protocol(self):
-        pass
+        c = conditions.BaseRule('cinder.volume.enabled', 'eq', True)
+        backends = self.get_item_when_condition_match(
+            'cinder.controller.backend', c)
+        if not backends:
+            return
+
+        # TODO: Add more backends here
+        protocol_map = {'ceph': 'ceph', 'lvm': 'ISCSI'}
+
+        # TODO: cinder support multibackends with different storage protocols,
+        # pick first we know about for now, but might be refactored in future.
+        for backend_name,backend in backends.iteritems():
+            res = backend['engine']
+            if res:
+              return res
 
     @property
     def vendor_name(self):