Note
This module is part of the hitachivantara.vspone_block collection (version 3.5.1).
You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install hitachivantara.vspone_block. You need further requirements to be able to use this module, see Requirements for details.
To use it in a playbook, specify: hitachivantara.vspone_block.vsp.hv_ddp_pool.
New in hitachivantara.vspone_block 3.4.0
https://github.com/hitachi-vantara/vspone-block-ansible/blob/main/playbooks/vsp_direct/ddp_pool.yml
The below requirements are needed on the host that executes this module.
Parameter | Comments |
|---|---|
connection_info dictionary / required | Information required to establish a connection to the storage system. |
|
address string / required |
IP address or hostname of the storage system. |
|
password string / required |
Password for authentication. This is a required field. |
|
username string / required |
Username for authentication. This is a required field. |
spec dictionary / required | Specification for DDP pool tasks. |
|
drives list / elements=dictionary |
List of drives to be added to the DDP Pool. |
|
data_drive_count integer |
Specify at least 9 for the number of data drives. if not specified, the number of data drives will be selected with recommend count. |
|
drive_type_code string |
Specify a drive type code consisting of 12 characters. if not specified, the drive type code will be selected automatically. |
|
is_encryption_enabled boolean |
Whether encryption is enabled for the DDP Pool. Choices:
|
|
pool_id integer |
ID of the DDP Pool. |
|
pool_name string |
Name of the DDP Pool. |
|
threshold_depletion integer |
Depletion threshold for the DDP Pool. |
|
threshold_warning integer |
Warning threshold for the DDP Pool. |
state string | The level of the Remote connection task. Choices are Choices:
|
Attribute | Support | Description |
|---|---|---|
check_mode | Support: none | Determines if the module should run in check mode. |
Note
gateway was removed starting from version 3.4.0. Please use an earlier version if you require this connection type.- name: Create a new DDP Pool
hitachivantara.vspone_block.vsp.hv_ddp_pool:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
state: present
spec:
pool_name: "GK-21268"
is_encryption_enabled: true
threshold_warning: 70
threshold_depletion: 80
drives:
- drive_type_code: "NM5C-R1R9NC"
data_drive_count: 9
- name: Create a new DDP Pool with automatic drive type code and count
hitachivantara.vspone_block.vsp.hv_ddp_pool:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
state: present
spec:
pool_name: "GK-21268"
- name: Update the DDP Pool Settings
hitachivantara.vspone_block.vsp.hv_ddp_pool:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
state: present
spec:
pool_id: 12
threshold_warning: 70
threshold_depletion: 80
pool_name: "GK-21268"
- name: Expand the DDP Pool size
hitachivantara.vspone_block.vsp.hv_ddp_pool:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
state: expand
spec:
pool_id: 12
drives:
- drive_type_code: "NM5C-R1R9NC"
data_drive_count: 9
- name: Delete a DDP Pool
hitachivantara.vspone_block.vsp.hv_ddp_pool:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
state: absent
spec:
pool_id: 12
Common return values are documented here, the following are the fields unique to this module:
Key | Description |
|---|---|
DDP_Pool dictionary | Details of the managed DDP Pool. Returned: success |
|
capacity_manage dictionary |
Capacity management details of the DDP Pool. Returned: success |
|
threshold_depletion integer |
Depletion threshold for the pool. Returned: success Sample: |
|
threshold_warning integer |
Warning threshold for the pool. Returned: success Sample: |
|
used_capacity_rate integer |
Used capacity rate of the pool. Returned: success Sample: |
|
config_status list / elements=string |
Configuration status of the pool. Returned: success |
|
contains_capacity_saving_volume boolean |
Indicates if the pool contains capacity-saving volumes. Returned: success Sample: |
|
drives list / elements=dictionary |
List of drives in the DDP Pool. Returned: success |
|
display_drive_capacity string |
Display capacity of the drive. Returned: success Sample: |
|
drive_capacity integer |
Capacity of the drive in GB. Returned: success Sample: |
|
drive_interface string |
Interface type of the drive. Returned: success Sample: |
|
drive_rpm string |
RPM of the drive. Returned: success Sample: |
|
drive_type string |
Type of the drive. Returned: success Sample: |
|
locations list / elements=string |
Physical locations of the drives. Returned: success Sample: |
|
number_of_drives integer |
Number of drives in the pool. Returned: success Sample: |
|
parity_group_type string |
Parity group type of the drives. Returned: success Sample: |
|
raid_level string |
RAID level of the drives. Returned: success Sample: |
|
total_capacity integer |
Total capacity of the drives in GB. Returned: success Sample: |
|
effective_capacity integer |
Effective capacity of the pool in GB. Returned: success Sample: |
|
encryption string |
Encryption status of the pool. Returned: success Sample: |
|
free_capacity integer |
Free capacity of the pool in GB. Returned: success Sample: |
|
id integer |
ID of the DDP Pool. Returned: success Sample: |
|
name string |
Name of the DDP Pool. Returned: success Sample: |
|
number_of_drive_types integer |
Number of drive types in the pool. Returned: success Sample: |
|
number_of_tiers integer |
Number of tiers in the pool. Returned: success Sample: |
|
number_of_volumes integer |
Number of volumes in the pool. Returned: success Sample: |
|
saving_effects dictionary |
Data saving effects of the pool. Returned: success |
|
calculation_end_time string |
End time of the saving calculation. Returned: success Sample: |
|
calculation_start_time string |
Start time of the saving calculation. Returned: success Sample: |
|
data_reduction_without_system_data integer |
Data reduction without system data. Returned: success Sample: |
|
data_reduction_without_system_data_status string |
Status of data reduction without system data. Returned: success Sample: |
|
efficiency_data_reduction integer |
Efficiency of data reduction. Returned: success Sample: |
|
efficiency_fmd_saving integer |
Efficiency of FMD saving. Returned: success Sample: |
|
is_total_efficiency_support boolean |
Indicates if total efficiency is supported. Returned: success Sample: |
|
post_capacity_fmd_saving integer |
Post-capacity FMD saving. Returned: success Sample: |
|
pre_capacity_fmd_saving integer |
Pre-capacity FMD saving. Returned: success Sample: |
|
software_saving_without_system_data integer |
Software saving without system data. Returned: success Sample: |
|
software_saving_without_system_data_status string |
Status of software saving without system data. Returned: success Sample: |
|
total_efficiency integer |
Total efficiency of the pool. Returned: success Sample: |
|
total_efficiency_status string |
Status of total efficiency. Returned: success Sample: |
|
status string |
Status of the DDP Pool. Returned: success Sample: |
|
subscription_limit dictionary |
Subscription limit details of the pool. Returned: success |
|
current_rate integer |
Current subscription rate. Returned: success Sample: |
|
is_enabled boolean |
Indicates if subscription limit is enabled. Returned: success Sample: |
|
tiers list / elements=dictionary |
List of tiers in the pool. Returned: success |
|
total_capacity integer |
Total capacity of the pool in GB. Returned: success Sample: |
|
used_capacity integer |
Used capacity of the pool in GB. Returned: success Sample: |
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/hitachivantara/vspone_block/vsp.hv_ddp_pool_module.html