rename options to proper and add missing options

This commit is contained in:
Bartosz Woronicz
2021-04-07 16:30:19 +02:00
parent 54fcb65b59
commit bc98bb38fe
2 changed files with 14 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
options:
debug:
hpe3par-debug:
type: boolean
default: False
description: |
@@ -31,6 +31,16 @@ options:
default: 72
description: |
Time in hours a snapshot cannot be deleted.
max-over-subscription-ratio:
type: float
default: 20.0
description: |
The ratio of oversubscription when thin provisioned volumes are involved.
reserved-percentage:
type: int
default: 15
description: |
This flag represents the percentage of reserved back-end capacity
san-ip:
type: string
description: |

View File

@@ -12,12 +12,14 @@ TEST_3PAR_CONFIG = '\
{"/etc/cinder/cinder.conf": \
{"sections": \
{"charm-cinder-three-par": \
[["debug", false], \
[["hpe3par_debug", false], \
["driver_type", "fc"], \
["hpe3par_iscsi_ips", ""], \
["hpe3par_iscsi_chap_enabled", true], \
["hpe3par_snapshot_expiration", 48], \
["hpe3par_snapshot_retention", 72], \
["max_over_subscription_ratio", 20.0], \
["reserved_percentage", 15], \
["san_ip", "1.2.3.4"], \
["san_login", "login"], \
["san_password", "pwd"], \