blob: 27d4f1ba89364ea73a4b571087d097c5abcc9ac0 [file] [log] [blame]
From 13e958bd85997cd84c37b76c0282bbfde5b9224a 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 03/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(-)
--- a/cinder/volume/drivers/storpool.py
+++ b/cinder/volume/drivers/storpool.py
@@ -302,15 +302,16 @@
) 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
'clone_across_pools': True,
'sparse_copy_volume': True,
-
+ # The actual pools data
'pools': pools
}