Skip to content

Commit

Permalink
Merge pull request #3 from dell/Release_v1.2.0
Browse files Browse the repository at this point in the history
RTS v1.2.0
  • Loading branch information
dattaarindam authored Jun 25, 2021
2 parents 5d3c049 + b8f1a6b commit ad7271c
Show file tree
Hide file tree
Showing 24 changed files with 8,956 additions and 8,621 deletions.
31 changes: 31 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# ansible-unity Change Log
## Version 1.2.0 - released on 25/06/21
- Added support for Application tagging.
- Added CRUD operations support for User Quota on Filesystem/Quota tree.
- Added CRUD operations support for Quota tree.
- Consistency group module is enhanced to map/unmap hosts to/from a new or existing consistency group.
- Filesystem module is enhanced to update default quota configuration during create operation.
- Filesystem module is enhanced to associate/dissociate snapshot schedule to/from a Filesystem.
- Volume module is enhanced to support map/unmap multiple hosts from a volume.
- Gather facts module is enhanced to list User Quota and Quota tree components.

## Version 1.1.0 - released on 02/12/20
- Gather facts module is enhanced to list Filesystem snapshots, NAS servers, File systems, NFS exports, SMB shares.
- Added CRUD operations support for NFS export.
- Added CRUD operations support for SMB share.
- Added support to get/modify operations on NAS server.
- Added CRUD operations support for Filesystem.
- Added CRUD operations support for Filesystem snapshot.

## Version 1.0.0 - released on 22/06/20
- Gather facts module is enhanced to list volumes, consistency groups, FC initiators, iSCSI initiators, hosts, snapshot schedules.
- Added CRUD operations support for Volume.
- Added CRUD operations support for Consistency group.
- Added support for adding/removing volumes to/from a consistency group.
- Added support to get/modify operations on storage pool.
- Added support for CRUD operations on a host with FC/iSCSI initiators.
- Added support to add/remove FC/iSCSI initiators to/from a host.
- Added support for CRUD operations on a snapshot of a volume.
- Added support to create a snapshot for a consistency group.
- Added support to map/unmap a host to/from a snapshot.
- Added CRUD operations support for a snapshot schedule.
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Ansible Modules for Dell EMC Unity

The Ansible Modules for Dell EMC Unity allow Data Center and IT administrators to use RedHat Ansible to automate and orchestrate the configuartion and management of Dell EMC Unity arrays.
The Ansible Modules for Dell EMC Unity allow Data Center and IT administrators to use RedHat Ansible to automate and orchestrate the configuration and management of Dell EMC Unity arrays.

The capabilities of the Ansible modules are managing consistency groups, filesystem, filesystem snapshots, NAS server, NFS export, SMB share, hosts, snapshots, snapshot schedules, storage pools and volumes; and to gather facts from the array. The options available for each are list, show, create, modify and delete. These tasks can be executed by running simple playbooks written in yaml syntax. The modules are written so that all the operations are idempotent, so making multiple identical requests has the same effect as making a single request.
The capabilities of the Ansible modules are managing consistency groups, filesystem, filesystem snapshots, NAS server, NFS export, SMB share, hosts, snapshots, snapshot schedules, storage pools, user quotas, quota trees and volumes; and to gather facts from the array. The options available for each are list, show, create, modify and delete. These tasks can be executed by running simple playbooks written in yaml syntax. The modules are written so that all the operations are idempotent, so making multiple identical requests has the same effect as making a single request.

## Support
Ansible modules for Unity are supported by Dell EMC and are provided under the terms of the license attached to the source code. Dell EMC does not provide support for any source code modifications. For any Ansible module issues, questions or feedback, join the [Dell EMC Automation community](https://www.dell.com/community/Automation/bd-p/Automation).

## Supported Platforms
* Dell EMC Unity Arrays version 5.0
* Dell EMC Unity Arrays version 5.0, 5.1.0

## Prerequisites
* Ansible 2.9 or higher
* Python 2.8 or higher
* Ansible 2.9, 2.10
* Python 2.8, 3.5, 3.6, 3.7, 3.8
* Red Hat Enterprise Linux 7.6, 7.7, 7.8, 8.2
* Python Library for Unity storops version 1.2.8 or higher
* Python Library for Unity storops version 1.2.10 or higher

## Idempotency
The modules are written in such a way that all requests are idempotent and hence fault-tolerant. It essentially means that the result of a successfully performed request is independent of the number of times it is executed.
Expand All @@ -31,6 +31,8 @@ The modules are written in such a way that all requests are idempotent and hence
* Snapshot module
* Snapshot schedule module
* Storage pool module
* User quota module
* Quota tree module
* Volume module

## Installation of SDK
Expand All @@ -41,10 +43,10 @@ Install python sdk named 'storops'. It can be installed using pip, based on appr
## Installing Collections
* Download the tar build and follow the below command to install the collection anywhere in your system:

ansible-galaxy collection install dellemc-unity-1.1.0.tar.gz -p ./collections
ansible-galaxy collection install dellemc-unity-1.2.0.tar.gz -p <install_path>
* Set the environment variable:

export ANSIBLE_COLLECTIONS_PATHS=$ANSIBLE_COLLECTIONS_PATHS:<install_path>/collections
export ANSIBLE_COLLECTIONS_PATHS=$ANSIBLE_COLLECTIONS_PATHS:<install_path>

## Using Collections

Expand All @@ -55,16 +57,16 @@ Install python sdk named 'storops'. It can be installed using pip, based on appr
- dellemc.unity


* For generating Ansible documentaion for a specific module, embed the FQCN  before the module name. Below example can be referred.
* For generating Ansible documentaion for a specific module, embed the FQCN  before the module name. The below example can be referred.

ansible-doc dellemc.unity.dellemc_unity_gatherfacts

## Running Ansible Modules
The Ansible server must be configured with Python library for Unity to run the Ansible playbooks. The [Documents]( https://github.com/dell/ansible-unity/tree/1.1.0/dellemc_ansible/docs ) provide information on different Ansible modules along with their functions and syntax. The parameters table in the Product Guide provides information on various parameters which needs to be configured before running the modules.
The Ansible server must be configured with Python library for Unity to run the Ansible playbooks. The [Documents]( https://github.com/dell/ansible-unity/tree/1.2.0/docs ) provide information on different Ansible modules along with their functions and syntax. The parameters table in the Product Guide provides information on various parameters which need to be configured before running the modules.

## SSL Certificate Validation

**NOTE**: These modules are supported through CA certified certificate only, however self-signed certificate is not supported.
**NOTE**: These modules are supported through CA certified certificate only, however a self-signed certificate is not supported.

* Copy the CA certificate to this "/etc/pki/ca-trust/source/anchors" path of the host by any external means.
* Set the "REQUESTS_CA_BUNDLE" environment variable to the path of the SSL certificate using the command "export REQUESTS_CA_BUNDLE=/etc/pki/ca-trust/source/anchors/<<Certificate_Name>>"
Expand Down
Binary file removed dellemc-unity-1.1.0.tar.gz
Binary file not shown.
Binary file added dellemc-unity-1.2.0.tar.gz
Binary file not shown.
Loading

0 comments on commit ad7271c

Please sign in to comment.