Closed freedge closed 2 years ago
I am also looking for those extra parameters when creating volumes using "ibm_svc_vdisk" and also if you can include these additional "sync_rate" and "warning" that would be great.
ibm_svc_vdisk:
clustername: '{{ svc_ip }}'
username: "{{ svcuser }}"
password: "{{ svcpassword }}"
log_path: /tmp/playbook.debug
name: "{{ volume_name }}"
state: present
mdiskgrp: '{{ svc_pool }}'
easytier: 'on'
autoexpand: 'on'
size: "200"
unit: gb
iogrp: io_grp0 # XXX
**sync_rate: 80**
**warning: 0**
Example CLI command:
mkvdisk -mdiskgrp
Please ignore my previous comment. I have updated the existing module to add all the required parameters. Thanks.
SUMMARY
Can you please support some extra parameters such as io group for volumes, and scsi lun ID for volume mapping.
Ideally the ansible module should just support the full list of options that the cli provides :) but these are definitely my top 2
ISSUE TYPE
- Feature Idea
COMPONENT NAME
- ibm_svc_vdisk
- ibm_svc_vol_map
ADDITIONAL INFORMATION
Expecting module to look like this:
ibm_svc_vdisk: clustername: '{{ svc_ip }}' username: "{{ svcuser }}" password: "{{ svcpassword }}" log_path: /tmp/playbook.debug name: "{{ volume_name }}" state: present mdiskgrp: '{{ svc_pool }}' easytier: 'on' autoexpand: 'on' size: "200" unit: gb iogrp: io_grp0 # XXX - name: Map volume to host delegate_to: localhost ibm_svc_vol_map: clustername: "{{svc_ip}}" username: "{{ svcuser }}" password: "{{ svcpassword }}" log_path: "/tmp/playbook.debug" volname: "{{ volume_name }}" host: "{{ host_name }}" state: present scsi: "0" # XXX
I'll second that request, especially for IO group.
"iogrp" is available in new module ibm_svc_manage_volume for standard volumes "scsi" parameter is also available in ibm_svc_vol_map module
SUMMARY
Can you please support some extra parameters such as io group for volumes, and scsi lun ID for volume mapping.
Ideally the ansible module should just support the full list of options that the cli provides :) but these are definitely my top 2
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION
Expecting module to look like this: