Update qos parameter for volume manager and update example. (#27594)
(cherry picked from commit 2bab91551d
)
This commit is contained in:
parent
0521f9d26f
commit
75309386d7
1 changed files with 3 additions and 2 deletions
|
@ -49,7 +49,7 @@ options:
|
|||
required: false
|
||||
|
||||
qos:
|
||||
description: Initial quality of service settings for this volume.
|
||||
description: Initial quality of service settings for this volume. Configure as dict in playbooks.
|
||||
required: false
|
||||
default: None
|
||||
|
||||
|
@ -102,6 +102,7 @@ EXAMPLES = """
|
|||
password: "{{ solidfire_password }}"
|
||||
state: present
|
||||
name: AnsibleVol
|
||||
qos: {minIOPS: 1000, maxIOPS: 20000, burstIOPS: 50000}
|
||||
account_id: 3
|
||||
enable512e: False
|
||||
size: 1
|
||||
|
@ -156,7 +157,7 @@ class SolidFireVolume(object):
|
|||
account_id=dict(required=True, type='int'),
|
||||
|
||||
enable512e=dict(type='bool', aliases=['512emulation']),
|
||||
qos=dict(required=False, type='str', default=None),
|
||||
qos=dict(required=False, type='dict', default=None),
|
||||
attributes=dict(required=False, type='dict', default=None),
|
||||
|
||||
volume_id=dict(type='int', default=None),
|
||||
|
|
Loading…
Reference in a new issue