Parameter | +Type | +Required | +Default | +Choices | +Description | +
---|---|---|---|---|---|
user_name | +str | ++ | + | + | Name of the local user account. Mutually exclusive with user_id. Mandatory only for create operation. |
+
user_id | +str | ++ | + | + | Unique identifier of the local user account. Mutually exclusive with user_name. |
+
user_password | +str | ++ | + | + | Password for the new local user account to be created. Mandatory only for create operation. |
+
new_password | +str | ++ | + | + | New password for the existing local user account. |
+
role_name | +str | ++ | + | + | The name of the role to which the local user account will be mapped. It is mutually exclusive with role_id. |
+
role_id | +int | ++ | + | + | The unique identifier of the role to which the local user account will be mapped. It is mutually exclusive with role_name. |
+
is_locked | +bool | ++ | + | + | Whether the user account is locked or not. Defaults to false at creation time. |
+
state | +str | +True | ++ |
|
+ Define whether the local user should exist or not. |
+
array_ip | +str | +True | ++ | + | IP or FQDN of the PowerStore management system. |
+
verifycert | +bool | +True | ++ |
|
+ Boolean variable to specify whether to validate SSL certificate or not. True - indicates that the SSL certificate should be verified. Set the environment variable REQUESTS_CA_BUNDLE to the path of the SSL certificate. False - indicates that the SSL certificate should not be verified. |
+
user | +str | +True | ++ | + | The username of the PowerStore host. |
+
password | +str | +True | ++ | + | The password of the PowerStore host. |
+
Key | +Type | +Returned | +Description | +|
---|---|---|---|---|
changed | +bool | +always | +Whether or not the resource has changed | +|
local_user_details | +complex | +When local user exists | +Details of the local user | +|
+ | id | +str | +success | +The system generated ID given to the local user. | +
+ | is_built_in | +bool | +success | +Whether the user account is built-in or not. | +
+ | is_default_password | +bool | +success | +Whether the user account has a default password or not. Only applies to default user accounts | +
+ | is_locked | +bool | +success | +Whether the user account is locked or not. Defaults to false at creation time. | +
+ | name | +str | +success | +Name of the local user. | +
+ | role_id | +str | +success | +Unique identifier of the role local user account is mapped to. | +
+ | role_name | +str | +success | +Name of the role to which local user account is mapped. | +
Key | +Key | Type | Returned | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
add_vols_to_vg | -bool | -When value exists | -A boolean flag to indicate whether volume/s got added to volume group | -|||||||||||
changed | +changed | bool | always | -Whether or not the resource has changed | -||||||||||
create_vg | -bool | -When value exists | -A boolean flag to indicate whether volume group got created | -|||||||||||
delete_vg | -bool | -When value exists | -A boolean flag to indicate whether volume group got deleted | +Whether or not the resource has changed. | ||||||||||
modify_vg | -bool | -When value exists | -A boolean flag to indicate whether volume group got modified | -|||||||||||
remove_vols_from_vg | -bool | -When value exists | -A boolean flag to indicate whether volume/s got removed from volume group | -|||||||||||
volume_group_details | -complex | -When volume group exists | -Details of the volume group | +volume_details | +complex | +When volume exists | +Details of the volume. | |||||||
- | description | +description | str | success | -['description about the volume group'] | +description about the volume. | ||||||||
- | id | +hlu_details | +complex | +success | +HLU details for mapped host/host group. | +|||||||||
+ | + | host_group_id | +str | +success | +The host group ID mapped to the volume. | +|||||||||
+ | + | host_id | +str | +success | +The host ID mapped to the volume. | +|||||||||
+ | + | id | +str | +success | +The HLU ID. | +|||||||||
+ | + | logical_unit_number | +int | +success | +Logical unit number for the host/host group volume access. | +|||||||||
+ | host | +complex | +success | +Hosts details mapped to the volume. | +||||||||||
+ | + | id | +str | +success | +The host ID mapped to the volume. | +|||||||||
+ | + | name | +str | +success | +Name of the Host mapped to the volume. | +|||||||||
+ | host_group | +complex | +success | +Host groups details mapped to the volume. | +||||||||||
+ | + | id | +str | +success | +The host group ID mapped to the volume. | +|||||||||
+ | + | name | +str | +success | +Name of the Host group mapped to the volume. | +|||||||||
+ | id | str | success | -['The system generated ID given to the volume group'] | +The system generated ID given to the volume. | |||||||||
- | is_write_order_consistent | -bool | +name | +str | success | -['A boolean flag to indicate whether snapshot sets of the volume group will be write-order consistent'] | +Name of the volume. | |||||||
- | name | +performance_policy_id | str | success | -['Name of the volume group'] | +The performance policy for the volume. | ||||||||
- | protection_policy_id | +protection_policy_id | str | success | -['The protection policy of the volume group'] | +The protection policy of the volume. | ||||||||
- | type | -str | +size | +int | success | -['The type of the volume group'] | +Size of the volume. | |||||||
- | volumes | +volume_groups | complex | success | -['The volumes details of the volume group'] | +The volume group details of the volume. | ||||||||
- | id | +id | str | success | -['The system generated ID given to the volume associated with the volume group'] | +The system generated ID given to the volume group. | ||||||||
- | name | +name | str | success | -['The name of the volume associated with the volume group.'] | +Name of the volume group. |
Parameter | @@ -1477,60 +1822,84 @@ Manage host on PowerStore storage system.Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
host_name | +cluster_name | str | - | The host name. This value must contain 128 or fewer printable Unicode characters. Creation of an empty host is not allowed. Required when creating a host. Use either host_id or host_name for modify and delete tasks. |
+ The Name of cluster. |
||||
host_id | +chap_mode | str | - | - | The 36 character long host id automatically generated when a host is created. Use either host_id or host_name for modify and delete tasks. host_id cannot be used while creating host, as it is generated by the array after creation of host. |
+
|
+ The mode that describes or sets the iSCSI CHAP mode for the cluster. |
||
os_type | +cluster_id | str | - |
|
- Operating system of the host. Required when creating a host OS type cannot be modified for a given host. |
+ + | Id of the cluster. |
||
initiators | - list elements: str |
+ new_name | +str | - | List of Initiator WWN or IQN to be added or removed from the host. Subordinate initiators in a host can only be of one type, either FC or iSCSI. Required when creating a host. |
+ The new name for the cluster. |
|||
state | +service_password | str | -True | - |
|
- Define whether the host should exist or not. present - indicates that the host should exist in system. absent - indicates that the host should not exist in system. |
+ + | + | The password for the service user. |
initiator_state | +appliance_id | str | - |
|
- Define whether the initiators should be present or absent in host. present-in-host - indicates that the initiators should exist on host. absent-in-host - indicates that the initiators should not exist on host. Required when creating a host with initiators or adding/removing initiators to/from existing host. |
+ + | ID of the appliance. appliance_id and appliance_name are mutually exclusive. is_ssh_enabled has to be passed along with appliance_id. |
||
new_name | +appliance_name | str | - | The new name of host for renaming function. This value must contain 128 or fewer printable Unicode characters. Cannot be specified when creating a host. |
+ Name of the appliance. appliance_id and appliance_name are mutually exclusive. is_ssh_enabled has to be passed along with appliance_name. |
+ ||||
is_ssh_enabled | +bool | ++ | + | + | Whether SSH access is enabled for the cluster. Either appliance_id or appliance_name is to be passed along with is_ssh_enabled. |
+ ||||
physical_mtu | +int | ++ | + | + | MTU for ethernet ports in the cluster. The MTU can be set between 1500 to 9000. |
+ ||||
state | +str | +True | ++ |
|
+ Define whether the cluster should exist or not. present indicates that the cluster should exist on the system. absent indicates that the cluster should not exist on the system. |
||||
array_ip | @@ -1564,166 +1933,261 @@ Manage host on PowerStore storage system. The password of the PowerStore host. |
Key | +Key | Type | Returned | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
changed | +||||||||||||
changed | bool | always | Whether or not the resource has changed | |||||||||
hostgroup_details | +cluster_details | complex | -When host group exists | -Details of the host group | +When Cluster exists. | +The cluster details. | ||||||
- | description | -str | +appliance_count | +int | success | -Description about the host group | +Number of appliances configured in this cluster. | |||||
- | hosts | +appliance_details | complex | success | -The hosts details which are part of this host group | +Name and Id of the appliance for which is_ssh_enabled parameter is used. | ||||||
- | id | +id | str | success | -The ID of the host | +Id of the appliance. | ||||||
- | name | +name | str | success | -The name of the host | +Name of the appliance. | ||||||
- | id | +compatibility_level | +int | +success | +The behavioral version of the software version API, It is used to ensure the compatibility across potentially different software versions. | +|||||||
+ | global_id | str | success | -The system generated ID given to the host group | +The global unique identifier of the cluster. | |||||||
- | name | +id | str | success | -Name of the host group | +The ID of the cluster. |
Parameter | @@ -2042,8 +2506,8 @@ Gathers information about PowerStore Storage entities list elements: str |
True | - |
|
- A list of string variables which specify the PowerStore system entities requiring information.information. vol - volumes node - all the nodes vg - volume groups protection_policy - protection policy host - hosts hg - host groups snapshot_rule - snapshot rule nas_server - NAS servers nfs_export - NFS exports smb_share - SMB shares tree_quota - tree quotas user_quota - user quotas file_system - file systems replication_rule - replication rules replication_session - replication sessions remote_system - remote systems |
+
|
+ A list of string variables which specify the PowerStore system entities requiring information.information. vol - volumes node - all the nodes vg - volume groups protection_policy - protection policy host - hosts hg - host groups snapshot_rule - snapshot rule nas_server - NAS servers nfs_export - NFS exports smb_share - SMB shares tree_quota - tree quotas user_quota - user quotas file_system - file systems replication_rule - replication rules replication_session - replication sessions remote_system - remote systems network - various networks role - roles user - local users appliance - appliances |
|
---|---|---|---|---|---|---|---|---|
filters | @@ -2120,8 +2584,10 @@ Gathers information about PowerStore Storage entities The password of the PowerStore host. |
Key | +Key | Type | Returned | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
changed | +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
changed | bool | always | -Shows whether or not the resource has changed | +Shows whether or not the resource has changed. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
subset_result | +subset_result | complex | always | Provides details of all given subsets. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | Cluster | +Appliance | +list | +success | +Provides details of all appliances. | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | + | id | +str | +success | +appliance id | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | + | model | +str | +success | +Model type of the PowerStore | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | + | name | +str | +success | +appliance name | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | Cluster | list | success | Provides details of all clusters. | @@ -2267,7 +2789,7 @@ Gathers information about PowerStore Storage entities||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | cluster id | @@ -2275,14 +2797,14 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | name | +name | str | success | cluster name | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | FileSystems | +FileSystems | list | success | Provides details of all filesystems. | @@ -2290,7 +2812,7 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | filesystem id | @@ -2298,14 +2820,14 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | name | +name | str | success | filesystem name | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | HostGroups | +HostGroups | list | success | Provides details of all hostgroups. | @@ -2313,7 +2835,7 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | hostgroup id | @@ -2321,14 +2843,14 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | name | +name | str | success | hostgroup name | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | Hosts | +Hosts | list | success | Provides details of all hosts. | @@ -2336,7 +2858,7 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | host id | @@ -2344,14 +2866,37 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | name | +name | str | success | host name | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | NASServers | +LocalUsers | +list | +success | +Provides details of all local users. | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | + | id | +str | +success | +user id | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | + | name | +str | +success | +user name | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | NASServers | list | success | Provides details of all nas servers. | @@ -2359,7 +2904,7 @@ Gathers information about PowerStore Storage entities||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | nas server id | @@ -2367,14 +2912,14 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | name | +name | str | success | nas server name | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | NFSExports | +NFSExports | list | success | Provides details of all nfs exports. | @@ -2382,7 +2927,7 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | nfs export id | @@ -2390,14 +2935,37 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | name | +name | str | success | nfs export name | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | Nodes | +Networks | +list | +success | +Provides details of all networks. | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | + | id | +str | +success | +network id | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | + | name | +str | +success | +network name | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | Nodes | list | success | Provides details of all nodes. | @@ -2405,7 +2973,7 @@ Gathers information about PowerStore Storage entities||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | node id | @@ -2413,14 +2981,14 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | name | +name | str | success | node name | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | ProtectionPolicies | +ProtectionPolicies | list | success | Provides details of all protectionpolicies. | @@ -2428,7 +2996,7 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | protectionpolicy id | @@ -2436,14 +3004,14 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | name | +name | str | success | protectionpolicy name | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | RemoteSystems | +RemoteSystems | list | success | Provides details of all remote systems. | @@ -2451,7 +3019,7 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | remote system id | @@ -2459,14 +3027,14 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | name | +name | str | success | remote system name | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | ReplicationRules | +ReplicationRules | list | success | Provides details of all replication rules. | @@ -2474,7 +3042,7 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | replication rule id | @@ -2482,29 +3050,52 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | name | +name | str | success | replication rule name | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | ReplicationSession | +ReplicationSession | list | success | -details of all replication sessions | +details of all replication sessions. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | replication session id | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | SMBShares | +Roles | +list | +success | +Provides details of all roles. | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | + | id | +str | +success | +role id | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | + | name | +str | +success | +role name | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ | SMBShares | list | success | Provides details of all smb shares. | @@ -2512,7 +3103,7 @@ Gathers information about PowerStore Storage entities||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | smb share id | @@ -2520,14 +3111,14 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | name | +name | str | success | smb share name | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | SnapshotRules | +SnapshotRules | list | success | Provides details of all snapshot rules. | @@ -2535,7 +3126,7 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | snapshot rule id | @@ -2543,14 +3134,14 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | name | +name | str | success | snapshot rule name | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | TreeQuotas | +TreeQuotas | list | success | Provides details of all tree quotas. | @@ -2558,7 +3149,7 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | tree quota id | @@ -2566,29 +3157,29 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | path | +path | str | success | tree quota path | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | UserQuotas | +UserQuotas | list | success | -Provides details of all user quotas | +Provides details of all user quotas. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | user quota id | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | VolumeGroups | +VolumeGroups | list | success | Provides details of all volumegroups. | @@ -2596,7 +3187,7 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | volumegroup id | @@ -2604,14 +3195,14 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | name | +name | str | success | volumegroup name | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | Volumes | +Volumes | list | success | Provides details of all volumes. | @@ -2619,7 +3210,7 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | id | +id | str | success | volume id | @@ -2627,7 +3218,7 @@ Gathers information about PowerStore Storage entities|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | name | +name | str | success | volume name | @@ -2639,17 +3230,15 @@ Gathers information about PowerStore Storage entities * Vivek Soni (@v-soni11)
Parameter | @@ -2660,36 +3249,12 @@ Replication session operations on a PowerStore storage system.Description | |||||||
---|---|---|---|---|---|---|---|---|
volume_group | -str | -- | - | - | Name/ID of the volume group for which a replication session exists. volume_group, volume, and session_id are mutually exclusive. |
- |||
volume | -str | -- | - | - | Name/ID of the volume for which replication session exists. volume_group, volume, and session_id are mutually exclusive. |
- |||
session_id | -str | -- | - | - | ID of the replication session. volume_group, volume, and session_id are mutually exclusive. |
- |||
session_state | +job_id | str | +True | - |
|
- State in which the replication session is present after performing the task. |
+ The ID of the job. |
|
array_ip | @@ -2723,171 +3288,234 @@ Replication session operations on a PowerStore storage system. The password of the PowerStore host. |
Key | +Key | Type | Returned | Description | ||||||
---|---|---|---|---|---|---|---|---|---|---|
changed | +||||||||||
changed | bool | always | -Whether or not the resource has changed | +Whether or not the resource has changed. | ||||||
replication_session_details | +job_details | complex | -When replication session exists | -Details of the replication session | +When job exists. | +The job details. | ||||
- | estimated_completion_timestamp | +description_l10n | str | success | -Estimated completion time of the current replication operation. | +Description of the job. | ||||
- | id | +end_time | str | success | -['The system generated ID of the replication session.', 'Unique across source and destination roles.'] | +Date and time when the job execution completed. | ||||
- | last_sync_timestamp | +estimated_completion_time | str | success | -Time of last successful synchronization. | +Estimated completion date and time. | ||||
- | local_resource_id | +id | str | success | -Unique identifier of the local storage resource for the replication session. | +Unique identifier of the job. | ||||
- | name | +parent_id | str | success | -Name of the replication rule. | +Unique identifier of the parent job, if applicable. | ||||
- | progress_percentage | +phase | +str | +success | +Current status of the job. | +|||||
+ | progress_percentage | int | success | -Progress of the current replication operation. | +Percent complete of the job. | |||||
- | remote_resource_id | +resource_action | str | success | -Unique identifier of the remote storage resource for the replication session. | +User-specified action to be performed on the given resource. | ||||
- | remote_system_id | +resource_id | str | success | -Unique identifier of the remote system instance. | +Unique identifier of the resource on which the job is operating. | ||||
- | replication_rule_id | +resource_name | str | success | -Associated replication rule instance if created by policy engine. | +Name of the resource on which the job is operating. | ||||
- | resource_type | +resource_type | str | success | -['Storage resource type eligible for replication protection.', 'volume - Replication session created on a volume.', 'volume_group - Replication session created on a volume group.'] | +Resource Type for the given resource. | ||||
- | role | +response_body | +complex | +success | +Base response object. | +|||||
+ | + | messages | +complex | +success | +The details of the error response. | +|||||
+ | + | + | arguments | +list | +success | +Values involved in the error. | +||||
+ | + | + | code | +str | +success | +Hexadecimal code of the error. | +||||
+ | + | + | message_l10n | +str | +success | +The description of the error. | +||||
+ | + | + | severity | +str | +success | +Type of the severity. | +||||
+ | + | response_type | +str | +success | +Job error response. | +|||||
+ | response_status | str | success | -['Role of the replication session.', 'Source - The local resource is the source of the remote replication session.', 'Destination - The local resource is the destination of the remote replication session.'] | +Possible HTTP status values of completed or failed jobs. | |||||
- | state | +root_id | str | success | -State of the replication session. | +Unique identifier of the root job, if applicable. The root job is the job at the top of the parent hierarchy. | +||||
+ | start_time | +str | +success | +Date and time when the job execution started. | +||||||
+ | state | +str | +success | +Current status of the job. | +||||||
+ | step_order | +int | +success | +Order of a given job step with respect to its siblings within the job hierarchy. | +||||||
+ | user | +str | +success | +Name of the user associated with the job. |
Parameter | @@ -2898,52 +3526,36 @@ Manage host group on PowerStore Storage System.Description | |||||||
---|---|---|---|---|---|---|---|---|
hostgroup_name | +volume_group | str | - | The host group name. This value must contain 128 or fewer printable Unicode characters. Creation of an empty host group is not allowed. Required when creating a host group. Use either hostgroup_id or hostgroup_name for modify and delete tasks. |
+ Name/ID of the volume group for which a replication session exists. volume_group, volume, and session_id are mutually exclusive. |
|||
hostgroup_id | +volume | str | - | The 36-character long host group id, automatically generated when a host group is created. Use either hostgroup_id or hostgroup_name for modify and delete tasks. hostgroup_id cannot be used while creating host group, as it is generated by the array after creation of host group. |
- ||||
hosts | - list elements: str |
- - | - | - | List of hosts to be added or removed from the host group. Subordinate hosts in a host group can only be of one type, either FC or iSCSI. Required when creating a host group. To represent host, both name or ID can be used interchangeably. The module will detect both. |
+ Name/ID of the volume for which replication session exists. volume_group, volume, and session_id are mutually exclusive. |
||
state | +session_id | str | -True | - |
|
- Define whether the host group should exist or not. present - indicates that the host group should exist on the system. absent - indicates that the host group should not exist on the system. Deletion of a host group results in deletion of the containing hosts as well. Remove hosts from the host group first to retain them. |
- ||
host_state | -str | - |
|
- Define whether the hosts should be present or absent in host group. present-in-group - indicates that the hosts should exist on the host group. absent-in-group - indicates that the hosts should not exist on the host group. Required when creating a host group with hosts or adding/removing hosts from existing host group. |
+ ID of the replication session. volume_group, volume, and session_id are mutually exclusive. |
|||
new_name | +session_state | str | - | - | The new name for host group renaming function. This value must contain 128 or fewer printable Unicode characters. |
+
|
+ State in which the replication session is present after performing the task. |
|
array_ip | @@ -2977,178 +3589,170 @@ Manage host group on PowerStore Storage System. The password of the PowerStore host. |
Key | +Key | Type | Returned | Description | |||||
---|---|---|---|---|---|---|---|---|---|
changed | +|||||||||
changed | bool | always | Whether or not the resource has changed | ||||||
hostgroup_details | +replication_session_details | complex | -When host group exists | -Details of the host group | +When replication session exists | +Details of the replication session | |||
- | description | +estimated_completion_timestamp | str | success | -Description about the host group | +Estimated completion time of the current replication operation. | |||
- | hosts | -complex | +id | +str | success | -The hosts details which are part of this host group | +The system generated ID of the replication session. Unique across source and destination roles. | ||
- | - | id | -str | -success | -The ID of the host | -||||
- | - | name | -str | -success | -The name of the host | -||||
- | id | +last_sync_timestamp | str | success | -The system generated ID given to the host group | +Time of last successful synchronization. | |||
- | name | +local_resource_id | +str | +success | +Unique identifier of the local storage resource for the replication session. | +||||
+ | name | +str | +success | +Name of the replication rule. | +|||||
+ | progress_percentage | +int | +success | +Progress of the current replication operation. | +|||||
+ | remote_resource_id | +str | +success | +Unique identifier of the remote storage resource for the replication session. | +|||||
+ | remote_system_id | +str | +success | +Unique identifier of the remote system instance. | +|||||
+ | replication_rule_id | +str | +success | +Associated replication rule instance if created by policy engine. | +|||||
+ | resource_type | +str | +success | +Storage resource type eligible for replication protection. volume - Replication session created on a volume. volume_group - Replication session created on a volume group. | +|||||
+ | role | +str | +success | +Role of the replication session. Source - The local resource is the source of the remote replication session. Destination - The local resource is the destination of the remote replication session. | +|||||
+ | state | str | success | -Name of the host group | +State of the replication session. |
Parameter | @@ -3159,156 +3763,982 @@ Manage NFS exports on Dell EMC PowerStore.Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
nfs_export_name | -str | -- | - | - | The name of the NFS export. Mandatory for create operation. Specify either nfs_export_name or nfs_export_id(but not both) for any operation. |
- |||||
nfs_export_id | +hostgroup_name | str | - | The ID of the NFS export. |
+ The host group name. This value must contain 128 or fewer printable Unicode characters. Creation of an empty host group is not allowed. Required when creating a host group. Use either hostgroup_id or hostgroup_name for modify and delete tasks. |
|||||
filesystem | +hostgroup_id | str | - | The ID/Name of the filesystem for which the NFS export will be created. Either filesystem or snapshot is required for creation of the NFS Export. If filesystem name is specified, then nas_server is required to uniquely identify the filesystem. If filesystem parameter is provided, then snapshot cannot be specified. |
+ The 36-character long host group id, automatically generated when a host group is created. Use either hostgroup_id or hostgroup_name for modify and delete tasks. hostgroup_id cannot be used while creating host group, as it is generated by the array after creation of host group. |
|||||
snapshot | -str | +hosts | + list elements: str |
- | The ID/Name of the Snapshot for which NFS export will be created. Either filesystem or snapshot is required for creation of the NFS Export. If snapshot name is specified, then nas_server is required to uniquely identify the snapshot. If snapshot parameter is provided, then filesystem cannot be specified. NFS export can be created only if access type of snapshot is "protocol". |
+ List of hosts to be added or removed from the host group. Subordinate hosts in a host group can only be of one type, either FC or iSCSI. Required when creating a host group. To represent host, both name or ID can be used interchangeably. The module will detect both. |
||||
nas_server | +state | str | +True | - | - | - | The NAS server. This could be the name or ID of the NAS server. |
+
|
+ Define whether the host group should exist or not. present - indicates that the host group should exist on the system. absent - indicates that the host group should not exist on the system. Deletion of a host group results in deletion of the containing hosts as well. Remove hosts from the host group first to retain them. |
|
path | +host_state | str | - | - | Local path to export relative to the NAS server root. With NFS, each export of a file_system or file_snap must have a unique local path. Mandatory while creating NFS export. |
+
|
+ Define whether the hosts should be present or absent in host group. present-in-group - indicates that the hosts should exist on the host group. absent-in-group - indicates that the hosts should not exist on the host group. Required when creating a host group with hosts or adding/removing hosts from existing host group. |
|||
description | +new_name | str | - | The description for the NFS export. |
+ The new name for host group renaming function. This value must contain 128 or fewer printable Unicode characters. |
|||||
default_access | +array_ip | str | +True | - |
|
- Default access level for all hosts that can access the Export. For hosts that need different access than the default, they can be configured by adding to the list. If default_access is not mentioned during creation, then NFS export will be created with No_Access. |
- ||||
no_access_hosts | - list elements: str |
- - | - | - | Hosts with no access to the NFS export. |
- |||||
read_only_hosts | - list elements: str |
- - | - | - | Hosts with read-only access to the NFS export. |
- |||||
read_only_root_hosts | - list elements: str |
- - | - | - | Hosts with read-only access for root user to the NFS export. |
- |||||
read_write_hosts | - list elements: str |
- - | - | - | Hosts with read and write access to the NFS export. |
+ IP or FQDN of the PowerStore management system. |
||||
read_write_root_hosts | - list elements: str |
- - | + | verifycert | +bool | +True | - | Hosts with read and write access for root user to the NFS export. |
+
|
+ Boolean variable to specify whether to validate SSL certificate or not. True - indicates that the SSL certificate should be verified. Set the environment variable REQUESTS_CA_BUNDLE to the path of the SSL certificate. False - indicates that the SSL certificate should not be verified. |
min_security | +user | str | +True | - |
|
- NFS enforced security type for users accessing an NFS export. If not specified at the time of creation, it will be set to SYS. |
- ||||
anonymous_uid | -int | -- | - | - | Specifies the user ID of the anonymous account. If not specified at the time of creation, it will be set to -2. |
- |||||
anonymous_gid | -int | -- | - | - | Specifies the group ID of the anonymous account. If not specified at the time of creation, it will be set to -2. |
- |||||
is_no_suid | -bool | -- | - | - | If set, do not allow access to set SUID. Otherwise, allow access. If not specified at the time of creation, it will be set to False. |
+ The username of the PowerStore host. |
||||
host_state | +password | str | +True | - |
|
- Define whether the hosts can access the NFS export. Required when adding or removing host access from the export. |
+ The password of the PowerStore host. |
|||
Key | +Type | +Returned | +Description | +||
---|---|---|---|---|---|
changed | +bool | +always | +Whether or not the resource has changed. | +||
hostgroup_details | +complex | +When host group exists | +Details of the host group. | +||
+ | description | +str | +success | +Description about the host group. | +|
+ | hosts | +complex | +success | +The hosts details which are part of this host group. | +|
+ | + | id | +str | +success | +The ID of the host. | +
+ | + | name | +str | +success | +The name of the host. | +
+ | id | +str | +success | +The system generated ID given to the host group. | +|
+ | name | +str | +success | +Name of the host group. | +
Parameter | +Type | +Required | +Default | +Choices | +Description | +
---|---|---|---|---|---|
nfs_export_name | +str | ++ | + | + | The name of the NFS export. Mandatory for create operation. Specify either nfs_export_name or nfs_export_id(but not both) for any operation. |
+
nfs_export_id | +str | ++ | + | + | The ID of the NFS export. |
+
filesystem | +str | ++ | + | + | The ID/Name of the filesystem for which the NFS export will be created. Either filesystem or snapshot is required for creation of the NFS Export. If filesystem name is specified, then nas_server is required to uniquely identify the filesystem. If filesystem parameter is provided, then snapshot cannot be specified. |
+
snapshot | +str | ++ | + | + | The ID/Name of the Snapshot for which NFS export will be created. Either filesystem or snapshot is required for creation of the NFS Export. If snapshot name is specified, then nas_server is required to uniquely identify the snapshot. If snapshot parameter is provided, then filesystem cannot be specified. NFS export can be created only if access type of snapshot is "protocol". |
+
nas_server | +str | ++ | + | + | The NAS server. This could be the name or ID of the NAS server. |
+
path | +str | ++ | + | + | Local path to export relative to the NAS server root. With NFS, each export of a file_system or file_snap must have a unique local path. Mandatory while creating NFS export. |
+
description | +str | ++ | + | + | The description for the NFS export. |
+
default_access | +str | ++ | + |
|
+ Default access level for all hosts that can access the Export. For hosts that need different access than the default, they can be configured by adding to the list. If default_access is not mentioned during creation, then NFS export will be created with No_Access. |
+
no_access_hosts | + list elements: str |
+ + | + | + | Hosts with no access to the NFS export. |
+
read_only_hosts | + list elements: str |
+ + | + | + | Hosts with read-only access to the NFS export. |
+
read_only_root_hosts | + list elements: str |
+ + | + | + | Hosts with read-only access for root user to the NFS export. |
+
read_write_hosts | + list elements: str |
+ + | + | + | Hosts with read and write access to the NFS export. |
+
read_write_root_hosts | + list elements: str |
+ + | + | + | Hosts with read and write access for root user to the NFS export. |
+
min_security | +str | ++ | + |
|
+ NFS enforced security type for users accessing an NFS export. If not specified at the time of creation, it will be set to SYS. |
+
anonymous_uid | +int | ++ | + | + | Specifies the user ID of the anonymous account. If not specified at the time of creation, it will be set to -2. |
+
anonymous_gid | +int | ++ | + | + | Specifies the group ID of the anonymous account. If not specified at the time of creation, it will be set to -2. |
+
is_no_suid | +bool | ++ | + | + | If set, do not allow access to set SUID. Otherwise, allow access. If not specified at the time of creation, it will be set to False. |
+
host_state | +str | ++ | + |
|
+ Define whether the hosts can access the NFS export. Required when adding or removing host access from the export. |
+
state | +str | +True | ++ |
|
+ Define whether the NFS export should exist or not. |
+
array_ip | +str | +True | ++ | + | IP or FQDN of the PowerStore management system. |
+
verifycert | +bool | +True | ++ |
|
+ Boolean variable to specify whether to validate SSL certificate or not. True - indicates that the SSL certificate should be verified. Set the environment variable REQUESTS_CA_BUNDLE to the path of the SSL certificate. False - indicates that the SSL certificate should not be verified. |
+
user | +str | +True | ++ | + | The username of the PowerStore host. |
+
password | +str | +True | ++ | + | The password of the PowerStore host. |
+
Key | +Type | +Returned | +Description | +|||
---|---|---|---|---|---|---|
changed | +bool | +always | +Whether or not the resource has changed | +|||
nfs_export_details | +complex | +When NFS export exists. | +The NFS export details. | +|||
+ | anonymous_GID | +int | +success | +The group ID of the anonymous account. | +||
+ | anonymous_UID | +int | +success | +The user ID of the anonymous account. | +||
+ | default_access | +str | +success | +Default access level for all hosts that can access the export. | +||
+ | description | +str | +success | +The description for the NFS export. | +||
+ | file_system | +complex | +success | +Details of filesystem and NAS server on which NFS export is present. | +||
+ | + | filesystem_type | +str | +success | +The type of the filesystem. | +|
+ | + | id | +str | +success | +The ID of the filesystem. | +|
+ | + | name | +str | +success | +The name of the filesystem. | +|
+ | + | nas_server | +complex | +success | +Details of NAS server. | +|
+ | + | + | id | +str | +success | +The ID of the NAS server. | +
+ | + | + | name | +str | +success | +The name of the NAS server. | +
+ | id | +str | +success | +The ID of the NFS export. | +||
+ | is_no_SUID | +bool | +success | +If set, do not allow access to set SUID. Otherwise, allow access. | +||
+ | min_security | +str | +success | +NFS enforced security type for users accessing an NFS export. | +||
+ | name | +str | +success | +The name of the NFS export. | +||
+ | no_access_hosts | +list | +success | +Hosts with no access to the NFS export. | +||
+ | path | +str | +success | +Local path to a location within the file system. | +||
+ | read_only_hosts | +list | +success | +Hosts with read-only access to the NFS export. | +||
+ | read_only_root_hosts | +list | +success | +Hosts with read-only for root user access to the NFS export. | +||
+ | read_write_hosts | +list | +success | +Hosts with read and write access to the NFS export. | +||
+ | read_write_root_hosts | +list | +success | +Hosts with read and write for root user access to the NFS export. | +
Parameter | +Type | +Required | +Default | +Choices | +Description | +
---|---|---|---|---|---|
role_name | +str | ++ | + | + | Name of the role. |
+
role_id | +str | ++ | + | + | Id of the role. |
+
state | +str | +True | ++ |
|
+ Define whether the role should exist or not. present, indicates that the role should exist on the system. absent, indicates that the role should not exist on the system. |
+
array_ip | +str | +True | ++ | + | IP or FQDN of the PowerStore management system. |
+
verifycert | +bool | +True | ++ |
|
+ Boolean variable to specify whether to validate SSL certificate or not. True - indicates that the SSL certificate should be verified. Set the environment variable REQUESTS_CA_BUNDLE to the path of the SSL certificate. False - indicates that the SSL certificate should not be verified. |
+
user | +str | +True | ++ | + | The username of the PowerStore host. |
+
password | +str | +True | ++ | + | The password of the PowerStore host. |
+
Key | +Type | +Returned | +Description | +|
---|---|---|---|---|
changed | +bool | +always | +Whether or not the resource has changed. | +|
role_details | +complex | +When role exists. | +The role details. | +|
+ | description | +str | +success | +Description of the role. | +
+ | id | +str | +success | +The ID of the role. | +
+ | is_built_in | +bool | +success | +Indicates whether the role is built-in. | +
+ | name | +str | +success | +The name of the role. | +
Parameter | +Type | +Required | +Default | +Choices | +Description | +|
---|---|---|---|---|---|---|
vg_name | +str | ++ | + | + | The name of the volume group. |
+ |
vg_id | +str | ++ | + | + | The id of the volume group. It can be used only for Modify, Add/Remove, or Delete operation. |
+ |
volumes | + list elements: str |
+ + | + | + | This is a list of volumes. Either the volume ID or name must be provided for adding/removing existing volumes from a volume group. If volumes are given, then vol_state should also be specified. |
+ |
vol_state | +str | ++ | + |
|
+ String variable. Describes the state of volumes inside a volume group. If volume is given, then vol_state should also be specified. |
+ |
new_vg_name | +str | ++ | + | + | The new name of the volume group. |
+ |
description | +str | ++ | + | + | Description about the volume group. |
+ |
protection_policy | +str | ++ | + | + | String variable. Represents Protection policy id or name used for volume group. Specifying an empty string or "" removes the existing protection policy from volume group. |
+ |
is_write_order_consistent | +bool | ++ | + | + | A boolean flag to indicate whether Snapshot sets of the volume group will be write-order consistent. If this parameter is not specified, the array by default sets it to true. |
+ |
state | str | True |
|
- Define whether the NFS export should exist or not. |
+ Define whether the volume group should exist or not. |
|
array_ip | @@ -3342,302 +4772,224 @@ Manage NFS exports on Dell EMC PowerStore. The password of the PowerStore host. |
Key | +Key | Type | Returned | Description | ||||||
---|---|---|---|---|---|---|---|---|---|---|
changed | +||||||||||
add_vols_to_vg | +bool | +When value exists | +A boolean flag to indicate whether volume/s got added to volume group. | +|||||||
changed | bool | always | -Whether or not the resource has changed | +Whether or not the resource has changed. | ||||||
nfs_export_details | +create_vg | +bool | +When value exists | +A boolean flag to indicate whether volume group got created. | +||||||
delete_vg | +bool | +When value exists | +A boolean flag to indicate whether volume group got deleted. | +|||||||
modify_vg | +bool | +When value exists | +A boolean flag to indicate whether volume group got modified. | +|||||||
remove_vols_from_vg | +bool | +When value exists | +A boolean flag to indicate whether volume/s got removed from volume group. | +|||||||
volume_group_details | complex | -When NFS export exists. | -The NFS export details. | +When volume group exists | +Details of the volume group. | |||||
- | anonymous_GID | -int | -success | -The group ID of the anonymous account. | -||||||
- | anonymous_UID | -int | -success | -The user ID of the anonymous account. | -||||||
- | default_access | -str | -success | -Default access level for all hosts that can access the export. | -||||||
- | description | -str | -success | -The description for the NFS export. | -||||||
- | file_system | -complex | -success | -Details of filesystem and NAS server on which NFS export is present. | -||||||
- | - | filesystem_type | -str | -success | -The type of the filesystem. | -|||||
- | - | id | -str | -success | -The ID of the filesystem. | -|||||
- | - | name | -str | -success | -The name of the filesystem. | -|||||
- | - | nas_server | -complex | -success | -Details of NAS server. | -|||||
- | - | - | id | -str | -success | -The ID of the NAS server. | -||||
- | - | - | name | -str | -success | -The name of the NAS server. | -||||
- | id | -str | -success | -The ID of the NFS export. | -||||||
- | is_no_SUID | -bool | -success | -If set, do not allow access to set SUID. Otherwise, allow access. | -||||||
- | min_security | +description | str | success | -NFS enforced security type for users accessing an NFS export. | +description about the volume group. | ||||
- | name | +id | str | success | -The name of the NFS export. | +The system generated ID given to the volume group. | ||||
- | no_access_hosts | -list | +is_write_order_consistent | +bool | success | -Hosts with no access to the NFS export. | +A boolean flag to indicate whether snapshot sets of the volume group will be write-order consistent. | |||
- | path | +name | str | success | -Local path to a location within the file system. | -|||||
- | read_only_hosts | -list | -success | -Hosts with read-only access to the NFS export. | +Name of the volume group. | |||||
- | read_only_root_hosts | -list | +protection_policy_id | +str | success | -Hosts with read-only for root user access to the NFS export. | +The protection policy of the volume group. | |||
- | read_write_hosts | -list | +type | +str | success | -Hosts with read and write access to the NFS export. | +The type of the volume group. | |||
- | read_write_root_hosts | -list | +volumes | +complex | success | -Hosts with read and write for root user access to the NFS export. | +The volumes details of the volume group. |
Parameter | @@ -3648,68 +5000,76 @@ Manage volume groups on a PowerStore Storage SystemDescription | |||||||
---|---|---|---|---|---|---|---|---|
vg_name | +nas_server_name | str | - | The name of the volume group. |
+ Name of the NAS server. Mutually exclusive with nas_server_id. |
|||
vg_id | +nas_server_id | str | - | The id of the volume group. It can be used only for Modify, Add/Remove, or Delete operation. |
+ Unique id of the NAS server. Mutually exclusive with nas_server_name. |
|||
volumes | - list elements: str |
+ description | +str | - | This is a list of volumes. Either the volume ID or name must be provided for adding/removing existing volumes from a volume group. If volumes are given, then vol_state should also be specified. |
+ Description of the NAS server. |
||
vol_state | +nas_server_new_name | str | - |
|
- String variable. Describes the state of volumes inside a volume group. If volume is given, then vol_state should also be specified. |
+ + | New name of the NAS server for a rename operation. |
|
new_vg_name | +current_node | str | - | The new name of the volume group. |
+ Unique identifier or name of the node on which the NAS server is running. |
|||
description | +preferred_node | str | - | Description about the volume group. |
+ Unique identifier or name of the preferred node for the NAS server. The initial value (on NAS server create) is taken from the current node. |
|||
protection_policy | +current_unix_directory_service | str | + |
|
+ Define the Unix directory service used for looking up identity information for Unix such as UIDs, GIDs, net groups, and so on. |
+ |||
default_unix_user | +str | - | String variable. Represents Protection policy id or name used for volume group. Specifying an empty string or "" removes the existing protection policy from volume group. |
+ + | + | Default Unix user name used for granting access in case of Windows to Unix user mapping failure. When empty, access in such case is denied. |
||
is_write_order_consistent | -bool | +default_windows_user | +str | - | A boolean flag to indicate whether Snapshot sets of the volume group will be write-order consistent. If this parameter is not specified, the array by default sets it to true. |
+ Default Windows user name used for granting access in case of Unix to Windows user mapping failure. When empty, access in such case is denied. |
||
state | @@ -3717,7 +5077,7 @@ Manage volume groups on a PowerStore Storage SystemTrue |
|
- Define whether the volume group should exist or not. |
+ Define whether the nas server should exist or not. |
||||
array_ip | @@ -3751,224 +5111,214 @@ Manage volume groups on a PowerStore Storage System The password of the PowerStore host. |
Key | +Key | Type | Returned | Description | |||||
---|---|---|---|---|---|---|---|---|---|
add_vols_to_vg | -bool | -When value exists | -A boolean flag to indicate whether volume/s got added to volume group | -||||||
changed | +|||||||||
changed | bool | always | Whether or not the resource has changed | ||||||
create_vg | -bool | -When value exists | -A boolean flag to indicate whether volume group got created | -||||||
delete_vg | -bool | -When value exists | -A boolean flag to indicate whether volume group got deleted | -||||||
modify_vg | -bool | -When value exists | -A boolean flag to indicate whether volume group got modified | -||||||
remove_vols_from_vg | -bool | -When value exists | -A boolean flag to indicate whether volume/s got removed from volume group | -||||||
volume_group_details | +nasserver_details | complex | -When volume group exists | -Details of the volume group | +When nas server exists | +Details about the nas server | |||
- | description | +backup_IPv4_interface_id | str | success | -['description about the volume group'] | +Unique identifier of the preferred IPv4 backup interface. | |||
- | id | +backup_IPv6_interface_id | str | success | -['The system generated ID given to the volume group'] | +Unique identifier of the preferred IPv6 backup interface. | |||
- | is_write_order_consistent | +current_node | +dict | +success | +Unique identifier and name of the node on which the NAS server is running. | +||||
+ | current_unix_directory_service | +str | +success | +Define the Unix directory service used for looking up identity information for Unix such as UIDs, GIDs, net groups, and so on. | +|||||
+ | default_unix_user | +str | +success | +Default Unix user name used for granting access in case of Windows to Unix user mapping failure. | +|||||
+ | description | +str | +success | +Additional information about the nas server. | +|||||
+ | file_interfaces | +dict | +success | +This is the inverse of the resource type file_interface association. Will return the id,name & ip_address of the associated file interface. | +|||||
+ | file_ldaps | +str | +success | +This is the inverse of the resource type file_ldap association. | +|||||
+ | file_systems | +dict | +success | +This is the inverse of the resource type file_system association. | +|||||
+ | id | +str | +success | +The system generated ID given to the nas server | +|||||
+ | is_username_translation_enabled | bool | success | -['A boolean flag to indicate whether snapshot sets of the volume group will be write-order consistent'] | +Enable the possibility to match a windows account to a Unix account with different names. | ||||
- | name | +name | str | success | -['Name of the volume group'] | +Name of the nas server | |||
- | protection_policy_id | +nfs_servers | str | success | -['The protection policy of the volume group'] | +This is the inverse of the resource type nfs_server association. | |||
- | type | +operational_status | str | success | -['The type of the volume group'] | +NAS server operational status. | |||
- | volumes | -complex | +preferred_node | +dict | success | -['The volumes details of the volume group'] | +Unique identifier and name of the preferred node for the NAS server. | ||
- | - | id | -str | -success | -['The system generated ID given to the volume associated with the volume group'] | -||||
- | - | name | -str | -success | -['The name of the volume associated with the volume group.'] | -
Parameter | @@ -3979,76 +5329,108 @@ NAS Server operations on PowerStore Storage system.Description | |||||||
---|---|---|---|---|---|---|---|---|
nas_server_name | +share_name | str | - | Name of the NAS server. Mutually exclusive with nas_server_id. |
+ Name of the SMB share. Required during creation of the SMB share. For all other operations either share_name or share_id is required. |
|||
nas_server_id | +share_id | str | - | Unique id of the NAS server. Mutually exclusive with nas_server_name. |
+ ID of the SMB share. Should not be specified during creation. ID is auto generated. For all other operations either share_name or share_id is required. If share_id is used then no need to pass nas_server/filesystem/snapshot/ path. |
|||
description | +path | str | - | Description of the NAS server. |
+ Local path to the file system/Snapshot or any existing sub-folder of the file system/Snapshot that is shared over the network. Path is relative to the base of the NAS server and must start with the name of the filesystem. Required for creation of the SMB share. |
|||
nas_server_new_name | +filesystem | str | - | New name of the NAS server for a rename operation. |
+ The ID/Name of the File System. Either filesystem or snapshot is required for creation of the SMB share. If filesystem name is specified, then nas_server is required to uniquely identify the filesystem. If filesystem parameter is provided, then snapshot cannot be specified. |
|||
current_node | +snapshot | str | - | Unique identifier or name of the node on which the NAS server is running. |
+ The ID/Name of the Snapshot. Either filesystem or snapshot is required for creation of the SMB share. If snapshot name is specified, then nas_server is required to uniquely identify the snapshot. If snapshot parameter is provided, then filesystem cannot be specified. SMB share can be created only if access type of snapshot is "protocol". |
|||
preferred_node | +nas_server | str | - | Unique identifier or name of the preferred node for the NAS server. The initial value (on NAS server create) is taken from the current node. |
+ The ID/Name of the NAS Server. It is not required if share_id is used. |
|||
current_unix_directory_service | +description | str | - |
|
- Define the Unix directory service used for looking up identity information for Unix such as UIDs, GIDs, net groups, and so on. |
+ + | Description for the SMB share. Optional parameter when creating a share. To modify, pass the new value in description field. |
|
default_unix_user | -str | +is_abe_enabled | +bool | - | Default Unix user name used for granting access in case of Windows to Unix user mapping failure. When empty, access in such case is denied. |
+ Indicates whether Access-based Enumeration (ABE) for SMB share is enabled. During creation, if not mentioned, then the default is False. |
||
default_windows_user | +is_branch_cache_enabled | +bool | ++ | + | + | Indicates whether Branch Cache optimization for SMB share is enabled. During creation, if not mentioned then default is False. |
+ ||
is_continuous_availability_enabled | +bool | ++ | + | + | Indicates whether continuous availability for SMB 3.0 is enabled. During creation, if not mentioned, then the default is False. |
+ |||
is_encryption_enabled | +bool | ++ | + | + | Indicates whether encryption for SMB 3.0 is enabled at the shared folder level. During creation, if not mentioned then default is False. |
+ |||
offline_availability | +str | ++ | + |
|
+ Defines valid states of Offline Availability. MANUAL- Only specified files will be available offline. DOCUMENTS- All files that users open will be available offline. PROGRAMS- Program will preferably run from the offline cache even when connected to the network. All files that users open will be available offline. NONE- Prevents clients from storing documents and programs in offline cache. |
+ |||
umask | str | - | Default Windows user name used for granting access in case of Unix to Windows user mapping failure. When empty, access in such case is denied. |
+ The default UNIX umask for new files created on the SMB Share. During creation, if not mentioned, then the default is "022". For all other operations, the default is None. |
||||
state | @@ -4056,7 +5438,7 @@ NAS Server operations on PowerStore Storage system.True |
|
- Define whether the nas server should exist or not. |
+ Define whether the SMB share should exist or not. present indicates that the share should exist on the system. absent indicates that the share should not exist on the system. |
||||
array_ip | @@ -4090,214 +5472,224 @@ NAS Server operations on PowerStore Storage system. The password of the PowerStore host. |
Key | +Key | Type | Returned | Description | |||||
---|---|---|---|---|---|---|---|---|---|
changed | +|||||||||
changed | bool | always | Whether or not the resource has changed | ||||||
nasserver_details | +smb_share_details | complex | -When nas server exists | -Details about the nas server | +When share exists. | +The SMB share details. | |||
- | backup_IPv4_interface_id | -str | -success | -Unique identifier of the preferred IPv4 backup interface. | -|||||
- | backup_IPv6_interface_id | -str | -success | -Unique identifier of the preferred IPv6 backup interface. | -|||||
- | current_node | -dict | -success | -Unique identifier and name of the node on which the NAS server is running. | -|||||
- | current_unix_directory_service | -str | -success | -Define the Unix directory service used for looking up identity information for Unix such as UIDs, GIDs, net groups, and so on. | -|||||
- | default_unix_user | -str | -success | -Default Unix user name used for granting access in case of Windows to Unix user mapping failure. | -|||||
- | description | -str | -success | -Additional information about the nas server. | -|||||
- | file_interfaces | -dict | -success | -This is the inverse of the resource type file_interface association.Will return the id,name & ip_address of the associated file interface | -|||||
- | file_ldaps | +description | str | success | -This is the inverse of the resource type file_ldap association. | +Additional information about the share. | |||
- | file_systems | -dict | +file_system | +complex | success | -This is the inverse of the resource type file_system association. | +Includes ID and Name of filesystem and nas server for which smb share exists. | ||
+ | + | filesystem_type | +str | +success | +Type of filesystem. | +||||
+ | + | id | +str | +success | +ID of filesystem. | +||||
+ | + | name | +str | +success | +Name of filesystem. | +||||
+ | + | nas_server | +dict | +success | +nas_server of filesystem. | +||||
- | id | +id | str | success | -The system generated ID given to the nas server | +The ID of the SMB share. | |||
- | is_username_translation_enabled | +is_ABE_enabled | bool | success | -Enable the possibility to match a windows account to a Unix account with different names. | -||||
- | name | -str | -success | -Name of the nas server | -|||||
- | nfs_servers | -str | -success | -This is the inverse of the resource type nfs_server association. | -|||||
- | operational_status | -str | -success | -NAS server operational status. | +Whether Access Based enumeration is enforced or not | ||||
- | preferred_node | -dict | +is_branch_cache_enabled | +bool | success | -Unique identifier and name of the preferred node for the NAS server. | +Whether branch cache is enabled or not. | ||
- | production_IPv4_interface_id | -str | +is_continuous_availability_enabled | +bool | success | -Unique identifier of the preferred IPv4 production interface. | +Whether the share will be available continuously or not. | ||
- | production_IPv6_interface_id | -str | +is_encryption_enabled | +bool | success | -Unique identifier of the preferred IPv6 production interface. | +Whether encryption is enabled or not. | ||
- | smb_servers | +name | str | success | -This is the inverse of the resource type smb_server association. | +Name of the SMB share. |
Parameter | @@ -4308,108 +5700,76 @@ Manage SMB shares on a PowerStore storage system.Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
share_name | -str | -- | - | - | Name of the SMB share. Required during creation of the SMB share. For all other operations either share_name or share_id is required. |
- ||||
share_id | -str | -- | - | - | ID of the SMB share. Should not be specified during creation. ID is auto generated. For all other operations either share_name or share_id is required. If share_id is used then no need to pass nas_server/filesystem/snapshot/ path. |
- ||||
path | -str | -- | - | - | Local path to the file system/Snapshot or any existing sub-folder of the file system/Snapshot that is shared over the network. Path is relative to the base of the NAS server and must start with the name of the filesystem. Required for creation of the SMB share. |
- ||||
filesystem | +snapshot_name | str | - | The ID/Name of the File System. Either filesystem or snapshot is required for creation of the SMB share. If filesystem name is specified, then nas_server is required to uniquely identify the filesystem. If filesystem parameter is provided, then snapshot cannot be specified. |
+ The name of the Snapshot. Either snapshot name or ID is required. |
||||
snapshot | +snapshot_id | str | - | The ID/Name of the Snapshot. Either filesystem or snapshot is required for creation of the SMB share. If snapshot name is specified, then nas_server is required to uniquely identify the snapshot. If snapshot parameter is provided, then filesystem cannot be specified. SMB share can be created only if access type of snapshot is "protocol". |
+ The ID of the Snapshot. Either snapshot ID or Snapshot name is required. |
||||
nas_server | +volume | str | - | The ID/Name of the NAS Server. It is not required if share_id is used. |
+ The volume. This could be the volume name or ID. |
||||
description | +volume_group | str | - | Description for the SMB share. Optional parameter when creating a share. To modify, pass the new value in description field. |
- |||||
is_abe_enabled | -bool | -- | - | - | Indicates whether Access-based Enumeration (ABE) for SMB share is enabled. During creation, if not mentioned, then the default is False. |
+ The volume group. This could be the volume group name or ID. |
|||
is_branch_cache_enabled | -bool | +new_snapshot_name | +str | - | Indicates whether Branch Cache optimization for SMB share is enabled. During creation, if not mentioned then default is False. |
+ The new name of the Snapshot. |
|||
is_continuous_availability_enabled | -bool | +desired_retention | +str | - | Indicates whether continuous availability for SMB 3.0 is enabled. During creation, if not mentioned, then the default is False. |
+ The retention value for the Snapshot. If the retention value is not specified, the Snapshot details would be returned. To create a Snapshot, either a retention or expiration timestamp must be given. If the Snapshot does not have any retention value - specify it as 'None'. |
|||
is_encryption_enabled | -bool | -+ | retention_unit | +str | - | Indicates whether encryption for SMB 3.0 is enabled at the shared folder level. During creation, if not mentioned then default is False. |
+
|
+ The unit for retention. If this unit is not specified, 'hours' is taken as default retention_unit. If desired_retention is specified, expiration_timestamp cannot be specified. |
|
offline_availability | +expiration_timestamp | str | - |
|
- Defines valid states of Offline Availability. MANUAL- Only specified files will be available offline. DOCUMENTS- All files that users open will be available offline. PROGRAMS- Program will preferably run from the offline cache even when connected to the network. All files that users open will be available offline. NONE- Prevents clients from storing documents and programs in offline cache. |
+ + | The expiration timestamp of the Snapshot. This should be provided in UTC format, e.g 2019-07-24T10:54:54Z. |
||
umask | +description | str | - | The default UNIX umask for new files created on the SMB Share. During creation, if not mentioned, then the default is "022". For all other operations, the default is None. |
+ The description for the Snapshot. |
||||
state | @@ -4417,7 +5777,7 @@ Manage SMB shares on a PowerStore storage system.True |
|
- Define whether the SMB share should exist or not. present indicates that the share should exist on the system. absent indicates that the share should not exist on the system. |
+ Defines whether the Snapshot should exist or not. |
|||||
array_ip | @@ -4451,232 +5811,277 @@ Manage SMB shares on a PowerStore storage system. The password of the PowerStore host. |
Key | +Key | Type | Returned | Description | ||||||
---|---|---|---|---|---|---|---|---|---|---|
changed | +||||||||||
changed | +bool | +always | +Whether or not the resource has changed | +|||||||
create_vg_snap | +bool | +When value exists | +A boolean flag to indicate whether volume group snapshot got created. | +|||||||
create_vol_snap | +bool | +When value exists | +A boolean flag to indicate whether volume snapshot got created. | +|||||||
delete_vg_snap | bool | -always | -Whether or not the resource has changed | +When value exists | +A boolean flag to indicate whether volume group snapshot got deleted. | |||||
smb_share_details | +delete_vol_snap | +bool | +When value exists | +A boolean flag to indicate whether volume snapshot got deleted. | +||||||
modify_vg_snap | +bool | +When value exists | +A boolean flag to indicate whether volume group snapshot got modified. | +|||||||
modify_vol_snap | +bool | +When value exists | +A boolean flag to indicate whether volume snapshot got modified. | +|||||||
snap_details | complex | -When share exists. | -The SMB share details. | +When snapshot exists | +Details of the snapshot | |||||
- | description | +creation_timestamp | str | success | -Additional information about the share. | +The creation timestamp of the snapshot. | ||||
- | file_system | +description | +str | +success | +Description about the snapshot. | +|||||
+ | id | +str | +success | +The system generated ID given to the snapshot. | +||||||
+ | name | +str | +success | +Name of the snapshot. | +||||||
+ | performance_policy_id | +str | +success | +The performance policy for the snapshot. | +||||||
+ | protection_data | complex | success | -Includes ID and Name of filesystem and nas server for which smb share exists. | +The protection data of the snapshot. | |||||
- | filesystem_type | -str | -success | -Type of filesystem. | -||||||
- | - | id | -str | -success | -ID of filesystem. | -|||||
- | - | name | +expiration_timestamp | str | success | -Name of filesystem. | -||||
- | - | nas_server | -dict | -success | -nas_server of filesystem. | +The expiration timestamp of the snapshot. | ||||
- | id | +protection_policy_id | str | success | -The ID of the SMB share. | -|||||
- | is_ABE_enabled | -bool | -success | -Whether Access Based enumeration is enforced or not | +The protection policy of the snapshot. | |||||
- | is_branch_cache_enabled | -bool | +size | +int | success | -Whether branch cache is enabled or not. | +Size of the snapshot. | |||
- | is_continuous_availability_enabled | -bool | +state | +str | success | -Whether the share will be available continuously or not | +The state of the snapshot. | |||
- | is_encryption_enabled | -bool | +type | +str | success | -Whether encryption is enabled or not | +The type of the snapshot. | |||
- | name | -str | +volumes | +complex | success | -Name of the SMB share. | +The volumes details of the volume group snapshot. |
Parameter | @@ -4687,84 +6092,60 @@ Manage Snapshots on Dell EMC PowerStore.Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
snapshot_name | -str | -- | - | - | The name of the Snapshot. Either snapshot name or ID is required. |
- |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
snapshot_id | -str | -- | - | - | The ID of the Snapshot. Either snapshot ID or Snapshot name is required. |
- |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
volume | -str | -- | - | - | The volume. This could be the volume name or ID. |
- |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
volume_group | +replication_rule_name | str | - | The volume group. This could be the volume group name or ID. |
+ Name of the replication rule. Required during creation of a replication rule. replication_rule_name and replication_rule_id are mutually exclusive. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
new_snapshot_name | +replication_rule_id | str | - | The new name of the Snapshot. |
+ ID of the replication rule. ID for the rule is autogenerated, cannot be passed during creation of a replication rule. replication_rule_name and replication_rule_id are mutually exclusive. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
desired_retention | +new_name | str | - | The retention value for the Snapshot. If the retention value is not specified, the Snapshot details would be returned. To create a Snapshot, either a retention or expiration timestamp must be given. If the Snapshot does not have any retention value - specify it as 'None'. |
+ New name of the replication rule. Used for renaming a replication rule. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
retention_unit | +rpo | str | - |
|
- The unit for retention. If this unit is not specified, 'hours' is taken as default retention_unit. If desired_retention is specified, expiration_timestamp cannot be specified. |
+
|
+ Recovery point objective (RPO), which is the acceptable amount of data, measured in units of time, that may be lost in case of a failure. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
expiration_timestamp | -str | +alert_threshold | +int | - | The expiration timestamp of the Snapshot. This should be provided in UTC format, e.g 2019-07-24T10:54:54Z. |
+ Acceptable delay between the expected and actual replication sync intervals. The system generates an alert if the delay between the expected and actual sync exceeds this threshold. During creation, if not passed, then by default one RPO in minutes will be passed. The range of integers supported are in between 0 and 1440 (inclusive of both). |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
description | +remote_system | str | - | The description for the Snapshot. |
+ ID or name of the remote system to which this rule will replicate the associated resources. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
state | str | True | - |
|
- Defines whether the Snapshot should exist or not. |
+
|
+ The state of the replication rule after the task is performed. For Delete operation only, it should be set to "absent". For all Create, Modify or Get details operations it should be set to "present". |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
array_ip | @@ -4803,279 +6184,131 @@ Manage Snapshots on Dell EMC PowerStore. ### Examples ``` - - name: Create a volume snapshot on PowerStore - dellemc_powerstore_snapshot: - array_ip: "{{mgmt_ip}}" - verifycert: "{{verifycert}}" - user: "{{user}}" - password: "{{password}}" - snapshot_name: "{{snapshot_name}}" - volume: "{{volume}}" - description: "{{description}}" - desired_retention: "{{desired_retention}}" - retention_unit: "{{retention_unit_days}}" - state: "{{state_present}}" - - - name: Get details of a volume snapshot - dellemc_powerstore_snapshot: - array_ip: "{{mgmt_ip}}" - verifycert: "{{verifycert}}" - user: "{{user}}" - password: "{{password}}" - snapshot_name: "{{snapshot_name}}" - volume: "{{volume}}" - state: "{{state_present}}" - - - name: Rename volume snapshot - dellemc_powerstore_snapshot: - array_ip: "{{mgmt_ip}}" - verifycert: "{{verifycert}}" - user: "{{user}}" - password: "{{password}}" - snapshot_name: "{{snapshot_name}}" - new_snapshot_name: "{{new_snapshot_name}}" - volume: "{{volume}}" - state: "{{state_present}}" - - - name: Delete volume snapshot - dellemc_powerstore_snapshot: - array_ip: "{{mgmt_ip}}" - verifycert: "{{verifycert}}" - user: "{{user}}" - password: "{{password}}" - snapshot_name: "{{new_snapshot_name}}" - volume: "{{volume}}" - state: "{{state_absent}}" - - - name: Create a volume group snapshot on PowerStore - dellemc_powerstore_snapshot: - array_ip: "{{mgmt_ip}}" - verifycert: "{{verifycert}}" - user: "{{user}}" - password: "{{password}}" - snapshot_name: "{{snapshot_name}}" - volume_group: "{{volume_group}}" - description: "{{description}}" - expiration_timestamp: "{{expiration_timestamp}}" - state: "{{state_present}}" - - - name: Get details of a volume group snapshot - dellemc_powerstore_snapshot: - array_ip: "{{mgmt_ip}}" - verifycert: "{{verifycert}}" - user: "{{user}}" - password: "{{password}}" - snapshot_name: "{{snapshot_name}}" - volume_group: "{{volume_group}}" - state: "{{state_present}}" +- name: Create new replication rule + dellemc_powerstore_replicationrule: + array_ip: "{{array_ip}}" + verifycert: "{{verifycert}}" + user: "{{user}}" + password: "{{password}}" + replication_rule_name: "sample_replication_rule" + rpo: "Five_Minutes" + alert_threshold: "15" + remote_system: "WN-D8877" + state: "present" - - name: Modify volume group snapshot expiration timestamp - dellemc_powerstore_snapshot: - array_ip: "{{mgmt_ip}}" - verifycert: "{{verifycert}}" - user: "{{user}}" - password: "{{password}}" - snapshot_name: "{{snapshot_name}}" - volume_group: "{{volume_group}}" - description: "{{description}}" - expiration_timestamp: "{{expiration_timestamp_new}}" - state: "{{state_present}}" +- name: Modify existing replication rule + dellemc_powerstore_replicationrule: + array_ip: "{{array_ip}}" + verifycert: "{{verifycert}}" + user: "{{user}}" + password: "{{password}}" + replication_rule_name: "sample_replication_rule" + new_name: "new_sample_replication_rule" + rpo: "One_Hour" + alert_threshold: "60" + remote_system: "WN-D0517" + state: "present" - - name: Rename volume group snapshot - dellemc_powerstore_snapshot: - array_ip: "{{mgmt_ip}}" - verifycert: "{{verifycert}}" - user: "{{user}}" - password: "{{password}}" - snapshot_name: "{{snapshot_name}}" - new_snapshot_name: "{{new_snapshot_name}}" - volume_group: "{{volume_group}}" - state: "{{state_present}}" +- name: Get details of replication rule + dellemc_powerstore_replicationrule: + array_ip: "{{array_ip}}" + verifycert: "{{verifycert}}" + user: "{{user}}" + password: "{{password}}" + replication_rule_id: "{{id}}" + state: "present" - - name: Delete volume group snapshot - dellemc_powerstore_snapshot: - array_ip: "{{mgmt_ip}}" - verifycert: "{{verifycert}}" - user: "{{user}}" - password: "{{password}}" - snapshot_name: "{{new_snapshot_name}}" - volume_group: "{{volume_group}}" - state: "{{state_absent}}" +- name: Delete an existing replication rule + dellemc_powerstore_replicationrule: + array_ip: "{{array_ip}}" + verifycert: "{{verifycert}}" + user: "{{user}}" + password: "{{password}}" + replication_rule_name: "new_sample_replication_rule" + state: "absent" ``` ### Return Values - +
Key | +Key | Type | Returned | Description | ||||||
---|---|---|---|---|---|---|---|---|---|---|
changed | +changed | bool | always | -Whether or not the resource has changed | -||||||
create_vg_snap | -bool | -When value exists | -A boolean flag to indicate whether volume group snapshot got created | -|||||||
create_vol_snap | -bool | -When value exists | -A boolean flag to indicate whether volume snapshot got created | -|||||||
delete_vg_snap | -bool | -When value exists | -A boolean flag to indicate whether volume group snapshot got deleted | -|||||||
delete_vol_snap | -bool | -When value exists | -A boolean flag to indicate whether volume snapshot got deleted | -|||||||
modify_vg_snap | -bool | -When value exists | -A boolean flag to indicate whether volume group snapshot got modified | -|||||||
modify_vol_snap | -bool | -When value exists | -A boolean flag to indicate whether volume snapshot got modified | +Whether or not the resource has changed. | ||||||
snap_details | +replication_rule_details | complex | -When snapshot exists | -Details of the snapshot | +When replication rule exists | +Details of the replication rule. | ||||
- | creation_timestamp | -str | -success | -The creation timestamp of the snapshot | -||||||
- | description | -str | -success | -Description about the snapshot | -||||||
- | id | -str | +alert_threshold | +int | success | -The system generated ID given to the snapshot | +Acceptable delay in minutes between the expected and actual replication sync intervals. | |||
- | name | +id | str | success | -Name of the snapshot | +The system generated ID of the replication rule. | ||||
- | performance_policy_id | +name | str | success | -The performance policy for the snapshot | +Name of the replication rule. | ||||
- | protection_data | -complex | -success | -The protection data of the snapshot | -||||||
- | - | expiration_timestamp | -str | -success | -The expiration timestamp of the snapshot | -|||||
- | protection_policy_id | +remote_system_id | str | success | -The protection policy of the snapshot | -|||||
- | size | -int | -success | -Size of the snapshot | +Unique identifier of the remote system to which this rule will replicate the associated resources. | |||||
- | state | +remote_system_name | str | success | -The state of the snapshot | +Name of the remote system to which this rule will replicate the associated resources. | ||||
- | type | +rpo | str | success | -The type of the snapshot | -|||||
- | volumes | -complex | -success | -The volumes details of the volume group snapshot | +Recovery point objective (RPO), which is the acceptable amount of data, measured in units of time, that may be lost in case of a failure. | |||||
- | - | id | -str | -success | -The system generated ID given to the volume associated with the volume group | -
Parameter | +Parameter | Type | Required | Default | @@ -5083,63 +6316,189 @@ Replication rule operations on a PowerStore storage system.Description | ||||
---|---|---|---|---|---|---|---|---|---|
replication_rule_name | +network_name | str | - | Name of the replication rule. Required during creation of a replication rule. replication_rule_name and replication_rule_id are mutually exclusive. |
+ The name of the network. This parameter is added in 2.0.0.0. Specify either network_name or network_id for any operation. |
||||
replication_rule_id | +network_id | str | - | ID of the replication rule. ID for the rule is autogenerated, cannot be passed during creation of a replication rule. replication_rule_name and replication_rule_id are mutually exclusive. |
+ The ID of the network. |
||||
new_name | +vlan_id | +int | ++ | + | + | The ID of the VLAN. |
+ |||
gateway | str | - | New name of the replication rule. Used for renaming a replication rule. |
+ Network gateway in IPv4 or IPv6 format, corresponding to the network's IP version. Specify empty string to remove the gateway. |
|||||
rpo | +prefix_length | +int | ++ | + | + | Network prefix length. |
+ |||
new_cluster_mgmt_address | str | - |
|
- Recovery point objective (RPO), which is the acceptable amount of data, measured in units of time, that may be lost in case of a failure. |
+ + | New cluster management IP address in IPv4 or IPv6 format, corresponding to the network's IP version. |
+ |||
storage_discovery_address | +str | ++ | + | + | New storage discovery IP address in IPv4 or IPv6 format, corresponding to the network's IP version. Specify empty string to remove the storage discovery IP address. |
+ ||||
mtu | +int | ++ | + | + | Maximum Transmission Unit (MTU) packet size set on network interfaces, in bytes. |
+ ||||
new_name | +str | ++ | + | + | New name of the network. |
+ ||||
addresses | + list elements: dict |
+ + | + | + | IP addresses to add/remove in IPv4 or IPv6 format. |
+ ||||
+ | current_address | +str | ++ | + | + | Existing IPv4/IPv6 address. |
+ |||
+ | new_address | +str | ++ | + | + | New IPv4/IPv6 address. |
+ |||
ports | + list elements: str |
+ + | + | + | Ports to be mapped/unmapped to/from the storage network. |
+ ||||
port_state | +str | ++ | + |
|
+ Specifies whether port should mapped/unmapped from the storage network. |
+ ||||
vasa_provider_credentials | +dict | ++ | + | + | Credentials required for re-registering the VASA vendor provider during the reconfiguration of the cluster management IP address. |
||||
+ | username | +str | +True | ++ | + | VASA vendor provider user name. |
+ |||
alert_threshold | -int | ++ | password | +str | +True | ++ | + | VASA vendor provider password. |
+ |
esxi_credentials | + list elements: dict |
- | Acceptable delay between the expected and actual replication sync intervals. The system generates an alert if the delay between the expected and actual sync exceeds this threshold. During creation, if not passed, then by default one RPO in minutes will be passed. The range of integers supported are in between 0 and 1440 (inclusive of both). |
+ Credentials required for re-registering the ESXi hosts in the vCenter. It should be passed only when ESXi host addresses or management network VLAN / prefix / gateway are changed during the reconfiguration of the PowerStore X model appliances. This parameter is applicable only for PowerStore X model. This parameter will be ignored if passed for PowerStore T model. |
|||||
+ | node_id | +str | +True | ++ | + | Node identifier corresponding to the ESXi host. |
+ |||
remote_system | -str | -+ | + | password | +str | +True | ++ | + | ESXi host root password. |
+
wait_for_completion | +bool | + | False | - | ID or name of the remote system to which this rule will replicate the associated resources. |
+ Flag to indicate if the operation should be run synchronously or asynchronously. True signifies synchronous execution. By default, modify operation will run asynchronously. |
|||
state | +state | str | True | - |
|
- The state of the replication rule after the task is performed. For Delete operation only, it should be set to "absent". For all Create, Modify or Get details operations it should be set to "present". |
+
|
+ Define whether the network exist or not. |
|
array_ip | +array_ip | str | True | @@ -5147,7 +6506,7 @@ Replication rule operations on a PowerStore storage system. | IP or FQDN of the PowerStore management system. |
||||
verifycert | +verifycert | bool | True | @@ -5155,7 +6514,7 @@ Replication rule operations on a PowerStore storage system. | Boolean variable to specify whether to validate SSL certificate or not. True - indicates that the SSL certificate should be verified. Set the environment variable REQUESTS_CA_BUNDLE to the path of the SSL certificate. False - indicates that the SSL certificate should not be verified. |
||||
user | +user | str | True | @@ -5163,141 +6522,404 @@ Replication rule operations on a PowerStore storage system. | The username of the PowerStore host. |
||||
password | +password | str | True | The password of the PowerStore host. |
Key | +Key | Type | Returned | Description | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
changed | +|||||||||||
changed | bool | always | -Whether or not the resource has changed | +Whether or not the resource has changed. | |||||||
replication_rule_details | +job_details | complex | -When replication rule exists | -Details of the replication rule | +When asynchronous task is performed. | +The job details. | |||||
- | alert_threshold | -int | +id | +str | success | -Acceptable delay in minutes between the expected and actual replication sync intervals. | +The ID of the job. | ||||
network_details | +complex | +When network exists. | +The network details. | +||||||||
- | id | +cluster_details | +complex | +success | +The details of the cluster. | +||||||
+ | + | appliance_count | +int | +success | +Number of appliances configured in this cluster. | +||||||
+ | + | id | +str | +success | +The unique identifier of the cluster. | +||||||
+ | + | management_address | +str | +success | +The floating management IP address for the cluster in IPv4 or IPv6 format. | +||||||
+ | + | name | +str | +success | +The name of the cluster. | +||||||
+ | + | storage_discovery_address | +str | +success | +The floating storage discovery IP address for the cluster in IPv4 or IPv6 format. | +||||||
+ | gateway | str | success | -The system generated ID of the replication rule | +The gateway of the network. | ||||||
- | name | +id | str | success | -Name of the replication rule | +The ID of the network. | |||||
- | remote_system_id | +ip_version | str | success | -Unique identifier of the remote system to which this rule will replicate the associated resources. | +IP protocol version | |||||
- | remote_system_name | +member_ips | +complex | +success | +Properties of the IP pool address. | +||||||
+ | + | address | +str | +success | +IP address value, in IPv4 or IPv6 format. | +||||||
+ | + | appliance_id | +str | +success | +Unique identifier of the appliance to which the IP address belongs. | +||||||
+ | + | id | +str | +success | +Unique identifier of the IP address. | +||||||
+ | + | ip_port_id | +str | +success | +Unique identifier of the port that uses this IP address to provide access to storage network services, such as iSCSI. This attribute can be set only for an IP address used by networks of type Storage. | +||||||
+ | + | name | +str | +success | +Name of the IP address. | +||||||
+ | + | network_id | +str | +success | +Unique identifier of the network to which the IP address belongs. | +||||||
+ | + | node_id | +str | +success | +Unique identifier of the cluster node to which the IP address belongs. | +||||||
+ | + | purposes | +list | +success | +IP address purposes. | +||||||
+ | mtu | +int | +success | +Maximum Transmission Unit (MTU) packet size set on network interfaces, in bytes. | +|||||||
+ | name | str | success | -Name of the remote system to which this rule will replicate the associated resources. | +The name of the network. | ||||||
- | rpo | +prefix_length | +int | +success | +Network prefix length. | +||||||
+ | purposes | +list | +success | +Purposes of the network. | +|||||||
+ | type | str | success | -Recovery point objective (RPO), which is the acceptable amount of data, measured in units of time, that may be lost in case of a failure. | +Network type | +||||||
+ | vcenter_details | +complex | +success | +Details of the vcenter. | +|||||||
+ | + | address | +str | +success | +IP address of vCenter host, in IPv4, IPv6, or hostname format. | +||||||
+ | + | id | +str | +success | +Unique identifier of the vCenter instance. | +||||||
+ | + | instance_uuid | +str | +success | +UUID instance of the vCenter. | +||||||
+ | + | username | +str | +success | +User name to login to vCenter. | +||||||
+ | + | vendor_provider_status | +str | +success | +General status of the VASA vendor provider in vCenter. | +||||||
+ | vlan_id | +int | +success | +VLAN identifier. |
Parameter | +Type | +Required | +Default | +Choices | +Description | +
---|---|---|---|---|---|
host_name | +str | ++ | + | + | The host name. This value must contain 128 or fewer printable Unicode characters. Creation of an empty host is not allowed. Required when creating a host. Use either host_id or host_name for modify and delete tasks. |
+
host_id | +str | ++ | + | + | The 36 character long host id automatically generated when a host is created. Use either host_id or host_name for modify and delete tasks. host_id cannot be used while creating host, as it is generated by the array after creation of host. |
+
os_type | +str | ++ | + |
|
+ Operating system of the host. Required when creating a host OS type cannot be modified for a given host. |
+
initiators | + list elements: str |
+ + | + | + | List of Initiator WWN or IQN to be added or removed from the host. Subordinate initiators in a host can only be of one type, either FC or iSCSI. Required when creating a host. |
+
state | +str | +True | ++ |
|
+ Define whether the host should exist or not. present - indicates that the host should exist in system. absent - indicates that the host should not exist in system. |
+
initiator_state | +str | ++ | + |
|
+ Define whether the initiators should be present or absent in host. present-in-host - indicates that the initiators should exist on host. absent-in-host - indicates that the initiators should not exist on host. Required when creating a host with initiators or adding/removing initiators to/from existing host. |
+
new_name | +str | ++ | + | + | The new name of host for renaming function. This value must contain 128 or fewer printable Unicode characters. Cannot be specified when creating a host. |
+
array_ip | +str | +True | ++ | + | IP or FQDN of the PowerStore management system. |
+
verifycert | +bool | +True | ++ |
|
+ Boolean variable to specify whether to validate SSL certificate or not. True - indicates that the SSL certificate should be verified. Set the environment variable REQUESTS_CA_BUNDLE to the path of the SSL certificate. False - indicates that the SSL certificate should not be verified. |
+
user | +str | +True | ++ | + | The username of the PowerStore host. |
+
password | +str | +True | ++ | + | The password of the PowerStore host. |
+
Key | +Type | +Returned | +Description | +||
---|---|---|---|---|---|
changed | +bool | +always | +Whether or not the resource has changed. | +||
host_details | +complex | +When host exists | +Details of the host. | +||
+ | description | +str | +success | +Description about the host. | +|
+ | host_group_id | +str | +success | +The host group ID of host. | +|
+ | host_initiators | +complex | +success | +The initiator details of this host. | +|
+ | + | port_name | +str | +success | +Name of the port. | +
+ | + | port_type | +str | +success | +The type of the port. | +
+ | id | +str | +success | +The system generated ID given to the host. | +|
+ | name | +str | +success | +Name of the host. | +|
+ | os_type | +str | +success | +The os type of the host. | +