hitachivantara.vspone_block.vsp.hv_ddp_pool_facts module – Get facts of DDP Pools on Hitachi VSP storage systems.
Note
This module is part of the hitachivantara.vspone_block collection (version 4.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_facts.
New in hitachivantara.vspone_block 3.4.0
Synopsis
- This module retrieves details of DDP Pools on Hitachi VSP storage systems. - This module is only available for VSP One storage systems. - For examples go to URL https://github.com/hitachi-vantara/vspone-block-ansible/blob/main/playbooks/vsp_direct/ddp_pool_facts.yml
Requirements
The below requirements are needed on the host that executes this module.
python >= 3.9
Parameters
Parameter |
Comments |
|---|---|
Information required to establish a connection to the storage system. |
|
IP address or hostname of the storage system. |
|
Token used to operate on locked resources. |
|
Password for authentication. This is a required field. |
|
Username for authentication. This is a required field. |
|
Specification for retrieving DDP pool information. |
|
ID of the DDP Pool. Required for the Get DDP pool information using pool_id task. |
|
Name of the DDP Pool. Required for the Get DDP pool information using pool_name task. |
Attributes
Attribute |
Support |
Description |
|---|---|---|
Support: full |
Determines if the module should run in check mode. |
Notes
Note
Connection type
gatewaywas removed starting from version 3.4.0. Please use an earlier version if you require this connection type.
Examples
- name: Get all DDP Pools
hitachivantara.vspone_block.vsp.hv_ddp_pool_facts:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
- name: Get DDP Pool by ID
hitachivantara.vspone_block.vsp.hv_ddp_pool_facts:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
spec:
pool_id: 15
- name: Get DDP Pool by Name
hitachivantara.vspone_block.vsp.hv_ddp_pool_facts:
connection_info:
address: storage1.company.com
username: "admin"
password: "password"
spec:
pool_name: "DDP-1"
Returned Facts
Facts returned by this module are added/updated in the hostvars host facts and can be referenced by name just like any other host fact. They do not need to be registered in order to use them.
Key |
Description |
|---|---|
A list of DDP pool information. Returned: success |
|
Capacity management details. Returned: success |
|
Threshold for capacity depletion. Returned: success |
|
Threshold for capacity warning. Returned: success |
|
Used capacity rate. Returned: success |
|
Configuration status of the pool. Returned: success |
|
Indicates if the pool contains capacity-saving volumes. Returned: success |
|
Details of the drives in the pool. Returned: success |
|
Display capacity of the drive. Returned: success |
|
Capacity of the drive in GB. Returned: success |
|
Interface type of the drive. Returned: success |
|
Drive RPM. Returned: success |
|
Type of the drive. Returned: success |
|
Locations of the drives. Returned: success |
|
Number of drives. Returned: success |
|
Parity group type. Returned: success |
|
RAID level. Returned: success |
|
Total capacity of the drives in MiB. Returned: success |
|
Effective capacity of the pool in MiB. Returned: success |
|
Encryption status of the pool. Returned: success |
|
Free capacity of the pool in MiB. Returned: success |
|
ID of the DDP Pool. Returned: success |
|
Name of the DDP Pool. Returned: success |
|
Number of drive types in the pool. Returned: success |
|
Number of tiers in the pool. Returned: success |
|
Number of volumes in the pool. Returned: success |
|
Details of saving effects in the pool. Returned: success |
|
End time of the calculation. Returned: success |
|
Start time of the calculation. Returned: success |
|
Data reduction without system data. Returned: success |
|
Status of data reduction without system data. Returned: success |
|
Efficiency of data reduction. Returned: success |
|
Efficiency of FMD saving. Returned: success |
|
Indicates if total efficiency is supported. Returned: success |
|
Post-capacity FMD saving. Returned: success |
|
Pre-capacity FMD saving. Returned: success |
|
Software saving without system data. Returned: success |
|
Status of software saving without system data. Returned: success |
|
Total efficiency of the pool. Returned: success |
|
Status of total efficiency. Returned: success |
|
Status of the pool. Returned: success |
|
Subscription limit details. Returned: success |
|
Current subscription rate. Returned: success |
|
Indicates if subscription limit is enabled. Returned: success |
|
Details of the tiers in the pool. Returned: success |
|
Total capacity of the pool in MiB. Returned: success |
|
Used capacity of the pool in MiB. Returned: success |