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_storagesystem.
New in hitachivantara.vspone_block 3.0.0
version 4.0.0
The connection type gateway is deprecated.
Not available.
gateway connection type.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 either the UAI gateway. |
|
api_token string |
Token value to access UAI gateway. This is a required field for |
|
connection_type string / required |
Type of connection to the storage system. Choices:
|
|
password string |
Password for authentication. This field is valid for |
|
subscriber_id string |
This field is valid for |
|
username string |
Username for authentication. This field is valid for |
state string | The desired state of the storage system. Choices:
|
storage_system_info dictionary / required | Information about the Hitachi storage system. This field is required for gateway connection type only. |
|
address string / required |
IP address or hostname of the storage system. |
|
password string / required |
Password for authentication. This field is valid for |
|
remote_gateway_address string |
Remote gateway address for the storage system. |
|
serial string |
Serial number of the Hitachi storage system. |
|
username string / required |
Username for authentication. This field is valid for |
Attribute | Support | Description |
|---|---|---|
check_mode | Support: none | Determines if the module should run in check mode. |
Note
- name: Add Storage System for gateway connection type
hitachivantara.vspone_block.vsp.hv_storagesystem:
storage_system_info:
serial: "811150"
address: storage1.company.com
username: "username"
password: "password"
connection_info:
address: gateway.company.com
api_token: "api token value"
connection_type: "gateway"
subscriber_id: 12345
state: present
- name: Delete Storage System for gateway connection type
hitachivantara.vspone_block.vsp.hv_storagesystem:
storage_system_info:
serial: "811150"
connection_info:
address: gateway.company.com
api_token: "api token value"
connection_type: "gateway"
subscriber_id: 12345
state: absent
Common return values are documented here, the following are the fields unique to this module:
Key | Description |
|---|---|
storage_systems dictionary | Dictionary containing the discovered properties of the storage systems. Returned: always |
|
controller_address string |
IP address of the storage system controller. Returned: success Sample: |
|
device_limits dictionary |
Limits for various device parameters. Returned: success |
|
external_group_number_range dictionary |
Range for external group numbers. Returned: success |
|
is_valid boolean |
Indicates if the range is valid. Returned: success Sample: |
|
max_value integer |
Maximum value of the range. Returned: success Sample: |
|
min_value integer |
Minimum value of the range. Returned: success Sample: |
|
external_group_sub_number_range dictionary |
Range for external group sub-numbers. Returned: success |
|
is_valid boolean |
Indicates if the range is valid. Returned: success Sample: |
|
max_value integer |
Maximum value of the range. Returned: success Sample: |
|
min_value integer |
Minimum value of the range. Returned: success Sample: |
|
parity_group_number_range dictionary |
Range for parity group numbers. Returned: success |
|
is_valid boolean |
Indicates if the range is valid. Returned: success Sample: |
|
max_value integer |
Maximum value of the range. Returned: success Sample: |
|
min_value integer |
Minimum value of the range. Returned: success Sample: |
|
parity_group_sub_number_range dictionary |
Range for parity group sub-numbers. Returned: success |
|
is_valid boolean |
Indicates if the range is valid. Returned: success Sample: |
|
max_value integer |
Maximum value of the range. Returned: success Sample: |
|
min_value integer |
Minimum value of the range. Returned: success Sample: |
|
free_capacity string |
Free capacity of the storage system. Returned: success Sample: |
|
free_capacity_in_mb integer |
Free capacity of the storage system in megabytes. Returned: success Sample: |
|
free_local_clone_consistency_group_id integer |
Free local clone consistency group ID. Returned: success Sample: |
|
free_remote_clone_consistency_group_id integer |
Free remote clone consistency group ID. Returned: success Sample: |
|
management_address string |
Management IP address of the storage system. Returned: success Sample: |
|
microcode_version string |
Microcode version of the storage system. Returned: success Sample: |
|
model string |
Model of the storage system. Returned: success Sample: |
|
operational_status string |
Operational status of the storage system. Returned: success Sample: |
|
serial_number string |
Serial number of the storage system. Returned: success Sample: |
|
syslog_config dictionary |
Syslog configuration of the storage system. Returned: success |
|
detailed boolean |
Indicates if detailed logging is enabled. Returned: success Sample: |
|
syslog_servers list / elements=dictionary |
List of syslog servers. Returned: success |
|
id integer |
ID of the syslog server. Returned: success Sample: |
|
syslog_server_address string |
Address of the syslog server. Returned: success Sample: |
|
syslog_server_port string |
Port of the syslog server. Returned: success Sample: |
|
total_capacity string |
Total capacity of the storage system. Returned: success Sample: |
|
total_capacity_in_mb integer |
Total capacity of the storage system in megabytes. 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_storagesystem_module.html