diff options
author | Kevin Hulquest <kevin.hulquest@netapp.com> | 2017-08-19 11:03:51 -0600 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2017-09-09 12:29:32 -0700 |
commit | 75309386d7f70873951e10931770a5f74e827ced (patch) | |
tree | 61f728f5cfe848fbb8e90122862e042e0e6a23a2 | |
parent | 0521f9d26f9bb6b203e6f255f64fffe1b89eef4b (diff) | |
download | ansible-75309386d7f70873951e10931770a5f74e827ced.tar.gz |
Update qos parameter for volume manager and update example. (#27594)
(cherry picked from commit 2bab91551d5967d894f43c83ef0f83255887faa4)
-rw-r--r-- | lib/ansible/modules/storage/netapp/sf_volume_manager.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ansible/modules/storage/netapp/sf_volume_manager.py b/lib/ansible/modules/storage/netapp/sf_volume_manager.py index 2683527cb4..7a5a9b31eb 100644 --- a/lib/ansible/modules/storage/netapp/sf_volume_manager.py +++ b/lib/ansible/modules/storage/netapp/sf_volume_manager.py @@ -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), |