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.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.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 |
|---|---|
Information required to establish a connection to the storage system. |
|
IP address or hostname of the storage system. |
|
Type of connection to the storage system. Choices:
|
|
Password for authentication. This is a required field. |
|
Username for authentication. This is a required field. |
|
Specification for the remote path group. |
|
The ID of the remote path group. Required for update and delete operation. |
|
Port number of the local storage system in CLx-y format. Required for create operation. |
|
Path group ID. Required for create operation. Value must be between 1 and 255. |
|
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. |
|
Port number of the remote storage system in CLx-y format. Required for create operation. |
|
Serial number of the remote storage system. Required for create operation. |
|
ID indicating the remote storage system model. Required for create operation. Choices:
|
|
The desired state of the remote path group. Choices:
|
Attributes
Attribute |
Support |
Description |
|---|---|---|
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: "CL1-C"
remote_port: "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 |
|---|---|
Details of the remote path group configuration. Returned: always |
|
Connection unit status of the remote path group. Returned: success Sample: |
|
Type of the connection unit. Returned: success Sample: |
|
Unique identifier of the remote path group. Returned: success Sample: |
|
Identifier of the local storage controller associated with the path group. Returned: success Sample: |
|
Number of paths in the remote path group. Returned: success Sample: |
|
Identifier of the remote path group. Returned: success Sample: |
|
Communication protocol used for the remote connection. Returned: success Sample: |
|
Serial number of the remote storage system. Returned: success Sample: |
|
Model or type identifier of the remote storage system. Returned: success Sample: |
|
Timeout value (in seconds) for remote I/O operations. Returned: success Sample: |