mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update qos parameter for volume manager and update example. (#27594)
This commit is contained in:
parent
436b173b24
commit
2bab91551d
1 changed files with 3 additions and 2 deletions
|
@ -49,7 +49,7 @@ options:
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
qos:
|
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
|
required: false
|
||||||
default: None
|
default: None
|
||||||
|
|
||||||
|
@ -102,6 +102,7 @@ EXAMPLES = """
|
||||||
password: "{{ solidfire_password }}"
|
password: "{{ solidfire_password }}"
|
||||||
state: present
|
state: present
|
||||||
name: AnsibleVol
|
name: AnsibleVol
|
||||||
|
qos: {minIOPS: 1000, maxIOPS: 20000, burstIOPS: 50000}
|
||||||
account_id: 3
|
account_id: 3
|
||||||
enable512e: False
|
enable512e: False
|
||||||
size: 1
|
size: 1
|
||||||
|
@ -156,7 +157,7 @@ class SolidFireVolume(object):
|
||||||
account_id=dict(required=True, type='int'),
|
account_id=dict(required=True, type='int'),
|
||||||
|
|
||||||
enable512e=dict(type='bool', aliases=['512emulation']),
|
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),
|
attributes=dict(required=False, type='dict', default=None),
|
||||||
|
|
||||||
volume_id=dict(type='int', default=None),
|
volume_id=dict(type='int', default=None),
|
||||||
|
|
Loading…
Reference in a new issue