hitachivantara.vspone_block.sds_block.hv_sds_block_remote_path_group module – Manages remote path groups on VSP One SDS Block and Cloud systems.
Note
This module is part of the hitachivantara.vspone_block collection (version 4.8.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.sds_block.hv_sds_block_remote_path_group.
New in hitachivantara.vspone_block 4.5.0
Synopsis
- This module allows create a remote path group, add remote path to a remote path group, remove remote path from remote path group, and delete remote path group on Hitachi SDS Block storage systems.
- For examples, go to URL https://github.com/hitachi-vantara/vspone-block-ansible/blob/main/playbooks/sds_block_direct/remote_path_group.yml
Requirements
The below requirements are needed on the host that executes this module.
- python >= 3.9
Parameters
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. |
|
connection_type string |
Type of connection to the storage system. Choices:
|
|
password string / required |
Password for authentication. This is a required field. |
|
username string / required |
Username for authentication. This is a required field. |
spec dictionary | Specification for the remote path group. |
|
id string |
The ID of the remote path group. Required for update and delete operation. |
|
local_port_id aliases: local_port string |
Port number of the local storage system in CLx-y format. Required for create operation. local_port is deprecated. Use |
|
path_group_id integer |
Path group ID. Required for create operation. Value must be between 1 and 255. |
|
remote_io_timeout_in_sec integer |
Timeout setting value for the RIO (remote IO) between the local storage system and remote storage system in seconds. Optional for create operation. Value must be between 10 and 80. Default value is 15. |
|
remote_port_id aliases: remote_port string |
Port number of the remote storage system in CLx-y format. Required for create operation. remote_port is deprecated. Use |
|
remote_serial string |
Serial number of the remote storage system. Required for create operation. |
|
remote_storage_system_type string |
ID indicating the remote storage system model. Required for create operation. Choices:
|
state string | The desired state of the remote path group. Choices:
|
Attributes
Attribute | Support | Description |
|---|---|---|
check_mode | Support: none | Determines if the module should run in check mode. |
Examples
- name: Create a remote path group
hitachivantara.vspone_block.sds_block.hv_sds_block_remote_path_group:
connection_info:
address: storage1.company.com
username: "admin"
password: "secret"
state: "present"
spec:
remote_serial: "810045"
remote_storage_system_type: "M8"
local_port_id: "CL1-C"
remote_port_id: "CL2-C"
path_group_id: 20
remote_io_timeout_in_sec: 200
- name: Delete a remote path group
hitachivantara.vspone_block.sds_block.hv_sds_block_remote_path_group:
connection_info:
address: storage1.company.com
username: "admin"
password: "secret"
state: "restore"
spec:
id: "3d0997ce-7065-4e4a-9095-4dc62b36f300"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key | Description |
|---|---|
remote_path_groups dictionary | Details of the remote path group configuration. Returned: always |
|
cu_status string |
Connection unit status of the remote path group. Returned: success Sample: |
|
cu_type string |
Type of the connection unit. Returned: success Sample: |
|
id string |
Unique identifier of the remote path group. Returned: success Sample: |
|
local_storage_controller_id string |
Identifier of the local storage controller associated with the path group. Returned: success Sample: |
|
number_of_paths integer |
Number of paths in the remote path group. Returned: success Sample: |
|
path_group_id integer |
Identifier of the remote path group. Returned: success Sample: |
|
protocol string |
Communication protocol used for the remote connection. Returned: success Sample: |
|
remote_serial_number string |
Serial number of the remote storage system. Returned: success Sample: |
|
remote_storage_type_id string |
Model or type identifier of the remote storage system. Returned: success Sample: |
|
timeout_value_for_remote_io_in_seconds integer |
Timeout value (in seconds) for remote I/O operations. Returned: success Sample: |
Collection links
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/projects/ansible/latest/collections/hitachivantara/vspone_block/sds_block.hv_sds_block_remote_path_group_module.html