blob: 0595830a513927ecb3bc516b241fde75b8dc516a [file] [log] [blame]
From 0912d760d1329eb3e1ccfc79b99a916e810d0f20 Mon Sep 17 00:00:00 2001
From: Peter Penchev <openstack-dev@storpool.com>
Date: Mon, 13 Feb 2023 11:15:27 +0200
Subject: [PATCH 01/10] StorPool: cosmetic: comment headings instead of empty
lines
Instead of using empty lines to separate semantically different
sections of the driver capabilities / pools status dictionary,
put in comments describing the sections.
Change-Id: Id919c9d4a854101c9635c53af4e11d5ea22ea697
---
cinder/volume/drivers/storpool.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/cinder/volume/drivers/storpool.py b/cinder/volume/drivers/storpool.py
index 47685cb3f..d42d1c68c 100644
--- a/cinder/volume/drivers/storpool.py
+++ b/cinder/volume/drivers/storpool.py
@@ -302,14 +302,15 @@ class StorPoolDriver(driver.VolumeDriver):
) for t in templates]
self._stats = {
+ # Basic driver properties
'volume_backend_name': self.configuration.safe_get(
'volume_backend_name') or 'storpool',
'vendor_name': 'StorPool',
'driver_version': self.VERSION,
'storage_protocol': constants.STORPOOL,
-
+ # Driver capabilities
'sparse_copy_volume': True,
-
+ # The actual pools data
'pools': pools
}
--
2.42.0