Update qos parameter for volume manager and update example. (#27594)

(cherry picked from commit 2bab91551d)
This commit is contained in:
Kevin Hulquest 2017-08-19 11:03:51 -06:00 committed by Toshio Kuratomi
parent 0521f9d26f
commit 75309386d7

View file

@ -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),