Skip to content

Commit

Permalink
Merge pull request #35 from dell/RTSv2.0
Browse files Browse the repository at this point in the history
Ansible modules for PowerFlex release version 2.0
  • Loading branch information
Bhavneet-Sharma authored Oct 30, 2023
2 parents d7304a0 + 3fbf91c commit 5f2fc51
Show file tree
Hide file tree
Showing 106 changed files with 2,226 additions and 779 deletions.
4 changes: 4 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ exclude_paths:
- roles/powerflex_tb/vars/
- roles/powerflex_webui/defaults/
- roles/powerflex_webui/vars/
- roles/powerflex_activemq/defaults/
- roles/powerflex_activemq/vars/
- roles/powerflex_config/defaults/
- roles/powerflex_config/vars/
3 changes: 1 addition & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
# Jennifer John (Jennifer-John)
# Meenakshi Dembi (meenakshidembi691)
# Pavan Mudunuri (Pavan-Mudunuri)
# Previnkumar G (Previnkumar-G)
# Trisha Datta (trisha-dell)

# for all files:
* @kuttattz @Bhavneet-Sharma @Jennifer-John @meenakshidembi691 @Pavan-Mudunuri @Previnkumar-G @trisha-dell
* @kuttattz @Bhavneet-Sharma @Jennifer-John @meenakshidembi691 @Pavan-Mudunuri @trisha-dell
10 changes: 10 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ Dellemc.PowerFlex Change Logs

.. contents:: Topics

v2.0.0
======

Minor Changes
-------------

- Added support for PowerFlex Denver version(4.5.x)
- Added support for SDC installation on ESXi, Rocky Linux and Windows OS.
- Added Ansible role to support installation and uninstallation of Active MQ.
- Added Ansible role to support creation and deletion of protection domain, storage pool and fault set.

v1.9.0
======
Expand Down
50 changes: 25 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,58 +6,58 @@ The capabilities of the Ansible modules are managing SDCs, volumes, snapshots, s

## Table of contents

* [Code of conduct](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/CODE_OF_CONDUCT.md)
* [Maintainer guide](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/MAINTAINER_GUIDE.md)
* [Committer guide](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/COMMITTER_GUIDE.md)
* [Contributing guide](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/CONTRIBUTING.md)
* [Branching strategy](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/BRANCHING.md)
* [List of adopters](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/ADOPTERS.md)
* [Maintainers](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/MAINTAINERS.md)
* [Support](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/SUPPORT.md)
* [Code of conduct](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/CODE_OF_CONDUCT.md)
* [Maintainer guide](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/MAINTAINER_GUIDE.md)
* [Committer guide](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/COMMITTER_GUIDE.md)
* [Contributing guide](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/CONTRIBUTING.md)
* [Branching strategy](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/BRANCHING.md)
* [List of adopters](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/ADOPTERS.md)
* [Maintainers](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/MAINTAINERS.md)
* [Support](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/SUPPORT.md)
* [License](#license)
* [Security](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/SECURITY.md)
* [Security](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/SECURITY.md)
* [Prerequisites](#prerequisites)
* [List of Ansible modules for Dell PowerFlex](#list-of-ansible-modules-for-dell-powerflex)
* [Installation and execution of Ansible modules for Dell PowerFlex](#installation-and-execution-of-ansible-modules-for-dell-powerflex)
* [Releasing, Maintenance and Deprecation](#releasing-maintenance-and-deprecation)

## License
The Ansible collection for PowerFlex is released and licensed under the GPL-3.0 license. See [LICENSE](https://github.com/dell/ansible-powerflex/blob/1.9.0/LICENSE) for the full terms. Ansible modules and modules utilities that are part of the Ansible collection for PowerFlex are released and licensed under the Apache 2.0 license. See [MODULE-LICENSE](https://github.com/dell/ansible-powerflex/blob/1.9.0/MODULE-LICENSE) for the full terms.
The Ansible collection for PowerFlex is released and licensed under the GPL-3.0 license. See [LICENSE](https://github.com/dell/ansible-powerflex/blob/2.0.0/LICENSE) for the full terms. Ansible modules and modules utilities that are part of the Ansible collection for PowerFlex are released and licensed under the Apache 2.0 license. See [MODULE-LICENSE](https://github.com/dell/ansible-powerflex/blob/2.0.0/MODULE-LICENSE) for the full terms.

## Prerequisites

| **Ansible Modules** | **PowerFlex/VxFlex OS Version** | **SDK version** | **Python version** | **Ansible** |
|---------------------|-----------------------|-------|--------------------|--------------------------|
| v1.9.0 |3.5 <br> 3.6 <br> 4.0 | 1.9.0 | 3.9.x <br> 3.10.x <br> 3.11.x | 2.13 <br> 2.14 <br> 2.15 |
| v2.0.0 |3.6 <br> 4.0 <br> 4.5 | 2.0.0 | 3.9.x <br> 3.10.x <br> 3.11.x | 2.13 <br> 2.14 <br> 2.15 |

* Please follow PyPowerFlex installation instructions on [PyPowerFlex Documentation](https://github.com/dell/python-powerflex)

## 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.

## List of Ansible modules for Dell PowerFlex
* [Info module](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/modules/info.rst)
* [Snapshot module](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/modules/snapshot.rst)
* [SDC module](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/modules/sdc.rst)
* [Storage pool module](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/modules/storagepool.rst)
* [Volume module](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/modules/volume.rst)
* [SDS module](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/modules/sds.rst)
* [Device Module](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/modules/device.rst)
* [Protection Domain Module](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/modules/protection_domain.rst)
* [MDM Cluster Module](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/modules/mdm_cluster.rst)
* [Replication Consistency Grop Module](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/modules/replication_consistency_group.rst)
* [Replication Pair Module](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/modules/replication_pair.rst)
* [Snapshot Policy Module](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/modules/snapshot_policy.rst)
* [Info module](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/modules/info.rst)
* [Snapshot module](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/modules/snapshot.rst)
* [SDC module](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/modules/sdc.rst)
* [Storage pool module](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/modules/storagepool.rst)
* [Volume module](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/modules/volume.rst)
* [SDS module](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/modules/sds.rst)
* [Device Module](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/modules/device.rst)
* [Protection Domain Module](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/modules/protection_domain.rst)
* [MDM Cluster Module](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/modules/mdm_cluster.rst)
* [Replication Consistency Grop Module](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/modules/replication_consistency_group.rst)
* [Replication Pair Module](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/modules/replication_pair.rst)
* [Snapshot Policy Module](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/modules/snapshot_policy.rst)

## Installation and execution of Ansible modules for Dell PowerFlex
The installation and execution steps of Ansible modules for Dell PowerFlex can be found [here](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/INSTALLATION.md).
The installation and execution steps of Ansible modules for Dell PowerFlex can be found [here](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/INSTALLATION.md).

## Releasing, Maintenance and Deprecation

Ansible Modules for Dell Technnologies PowerFlex follows [Semantic Versioning](https://semver.org/).

New version will be release regularly if significant changes (bug fix or new feature) are made in the collection.

Released code versions are located on "release" branches with names of the form "release-x.y.z" where x.y.z corresponds to the version number. More information on branching strategy followed can be found [here](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/BRANCHING.md).
Released code versions are located on "release" branches with names of the form "release-x.y.z" where x.y.z corresponds to the version number. More information on branching strategy followed can be found [here](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/BRANCHING.md).

Ansible Modules for Dell Technologies PowerFlex deprecation cycle is aligned with that of [Ansible](https://docs.ansible.com/ansible/latest/dev_guide/module_lifecycle.html).
9 changes: 9 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,12 @@ releases:
- Added Ansible role to support installation and uninstallation of SDR.
- Added Ansible role to support installation and uninstallation of Web UI.
release_date: '2023-09-29'
2.0.0:
changes:
minor_changes:
- Added support for PowerFlex Denver version(4.5.x)
- Added support for SDC installation on ESXi, Rocky Linux and Windows OS.
- Added Ansible role to support installation and uninstallation of Active MQ.
- Added Ansible role to support creation and deletion of protection domain,
storage pool and fault set.
release_date: '2023-10-31'
8 changes: 4 additions & 4 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You may obtain a copy of the License at

# How to contribute

Become one of the contributors to this project! We thrive to build a welcoming and open community for anyone who wants to use the project or contribute to it. There are just a few small guidelines you need to follow. To help us create a safe and positive community experience for all, we require all participants to adhere to the [Code of Conduct](https://github.com/dell/ansible-powerflex/blob/1.9.0/CODE_OF_CONDUCT.md).
Become one of the contributors to this project! We thrive to build a welcoming and open community for anyone who wants to use the project or contribute to it. There are just a few small guidelines you need to follow. To help us create a safe and positive community experience for all, we require all participants to adhere to the [Code of Conduct](https://github.com/dell/ansible-powerflex/blob/2.0.0/CODE_OF_CONDUCT.md).

## Table of contents

Expand Down Expand Up @@ -76,7 +76,7 @@ Triage helps ensure that issues resolve quickly by:

If you don't have the knowledge or time to code, consider helping with _issue triage_. The Ansible modules for Dell PowerFlex community will thank you for saving them time by spending some of yours.

Read more about the ways you can [Triage issues](https://github.com/dell/ansible-powerflex/blob/1.9.0/ISSUE_TRIAGE.md).
Read more about the ways you can [Triage issues](https://github.com/dell/ansible-powerflex/blob/2.0.0/ISSUE_TRIAGE.md).

## Your first contribution

Expand All @@ -89,7 +89,7 @@ When you're ready to contribute, it's time to create a pull request.

## Branching

* [Branching Strategy for Ansible modules for Dell PowerFlex](https://github.com/dell/ansible-powerflex/blob/1.9.0/BRANCHING.md)
* [Branching Strategy for Ansible modules for Dell PowerFlex](https://github.com/dell/ansible-powerflex/blob/2.0.0/BRANCHING.md)

## Signing your commits

Expand Down Expand Up @@ -144,7 +144,7 @@ Make sure that the title for your pull request uses the same format as the subje

### Quality gates for pull requests

GitHub Actions are used to enforce quality gates when a pull request is created or when any commit is made to the pull request. These GitHub Actions enforce our minimum code quality requirement for any code that get checked into the repository. If any of the quality gates fail, it is expected that the contributor will look into the check log, understand the problem and resolve the issue. If help is needed, please feel free to reach out the maintainers of the project for [support](https://github.com/dell/ansible-powerflex/blob/1.9.0/SUPPORT.md).
GitHub Actions are used to enforce quality gates when a pull request is created or when any commit is made to the pull request. These GitHub Actions enforce our minimum code quality requirement for any code that get checked into the repository. If any of the quality gates fail, it is expected that the contributor will look into the check log, understand the problem and resolve the issue. If help is needed, please feel free to reach out the maintainers of the project for [support](https://github.com/dell/ansible-powerflex/blob/2.0.0/SUPPORT.md).

#### Code sanitization

Expand Down
4 changes: 2 additions & 2 deletions docs/INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ You may obtain a copy of the License at

* Download the latest tar build from any of the available distribution channel [Ansible Galaxy](https://galaxy.ansible.com/dellemc/powerflex) /[Automation Hub](https://console.redhat.com/ansible/automation-hub/repo/published/dellemc/powerflex) and use this command to install the collection anywhere in your system:

ansible-galaxy collection install dellemc-powerflex-1.9.0.tar.gz -p <install_path>
ansible-galaxy collection install dellemc-powerflex-2.0.0.tar.gz -p <install_path>

* Set the environment variable:

Expand All @@ -68,7 +68,7 @@ You may obtain a copy of the License at

## Ansible modules execution

The Ansible server must be configured with Python library for PowerFlex to run the Ansible playbooks. The [Documents](https://github.com/dell/ansible-powerflex/blob/1.9.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 needs to be configured before running the modules.
The Ansible server must be configured with Python library for PowerFlex to run the Ansible playbooks. The [Documents](https://github.com/dell/ansible-powerflex/blob/2.0.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 needs to be configured before running the modules.

## SSL certificate validation

Expand Down
2 changes: 1 addition & 1 deletion docs/ISSUE_TRIAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Should explain what happened, what was expected and how to reproduce it together

- Ansible Version: [e.g. 2.14]
- Python Version [e.g. 3.11]
- Ansible modules for Dell PowerFlex Version: [e.g. 1.9.0]
- Ansible modules for Dell PowerFlex Version: [e.g. 2.0.0]
- PowerFlex SDK version: [e.g. PyPowerFlex 1.8.0]
- Any other additional information...

Expand Down
2 changes: 1 addition & 1 deletion docs/MAINTAINER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If a candidate is approved, a Maintainer contacts the candidate to invite them t
## Maintainer policies

* Lead by example
* Follow the [Code of Conduct](https://github.com/dell/ansible-powerflex/blob/1.9.0/CODE_OF_CONDUCT.md) and the guidelines in the [Contributing](https://github.com/dell/ansible-powerflex/blob/1.9.0/CONTRIBUTING.md) and [Committer](https://github.com/dell/ansible-powerflex/blob/1.9.0/COMMITTER_GUIDE.md) guides
* Follow the [Code of Conduct](https://github.com/dell/ansible-powerflex/blob/2.0.0/CODE_OF_CONDUCT.md) and the guidelines in the [Contributing](https://github.com/dell/ansible-powerflex/blob/2.0.0/CONTRIBUTING.md) and [Committer](https://github.com/dell/ansible-powerflex/blob/2.0.0/COMMITTER_GUIDE.md) guides
* Promote a friendly and collaborative environment within our community
* Be actively engaged in discussions, answering questions, updating defects, and reviewing pull requests
* Criticize code, not people. Ideally, tell the contributor a better way to do what they need.
Expand Down
16 changes: 9 additions & 7 deletions docs/Release Notes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**Ansible Modules for Dell Technologies PowerFlex**
=========================================
### Release notes 1.9.0
### Release notes 2.0.0

> © 2023 Dell Inc. or its subsidiaries. All rights reserved. Dell
> and other trademarks are trademarks of Dell Inc. or its
Expand Down Expand Up @@ -28,7 +28,7 @@ Table 1. Revision history

| Revision | Date | Description |
|----------|-----------------|-------------------------------------------------------------|
| 01 | September 2023 | Current release of Ansible Modules for Dell PowerFlex 1.9.0 |
| 01 | October 2023 | Current release of Ansible Modules for Dell PowerFlex 2.0.0 |

Product description
-------------------
Expand All @@ -44,9 +44,11 @@ each of the entities.
New features and enhancements
-----------------------------
Along with the previous release deliverables, this release supports following features -
- Added Ansible role to support installation and uninstallation of Gateway.
- Added Ansible role to support installation and uninstallation of SDR.
- Added Ansible role to support installation and uninstallation of Web UI.
- Added support for PowerFlex Denver version(4.5.x)
- Added support for SDC installation on ESXi, Rocky Linux and Windows OS.
- Added Ansible role to support installation and uninstallation of Active MQ.
- Added Ansible role to support creation and deletion of protection domain,
storage pool and fault set.

Known issues
------------
Expand All @@ -60,11 +62,11 @@ Limitations
Distribution
------------
The software package is available for download from the [Ansible Modules
for PowerFlex GitHub](https://github.com/dell/ansible-powerflex/tree/1.9.0) page.
for PowerFlex GitHub](https://github.com/dell/ansible-powerflex/tree/2.0.0) page.

Documentation
-------------
The documentation is available on [Ansible Modules for PowerFlex GitHub](https://github.com/dell/ansible-powerflex/tree/1.9.0/docs)
The documentation is available on [Ansible Modules for PowerFlex GitHub](https://github.com/dell/ansible-powerflex/tree/2.0.0/docs)
page. It includes the following:

- README
Expand Down
2 changes: 1 addition & 1 deletion docs/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You may obtain a copy of the License at

The Ansible modules for Dell PowerFlex repository are inspected for security vulnerabilities via blackduck scans and static code analysis.

In addition to this, there are various security checks that get executed against a branch when a pull request is created/updated. Please refer to [pull request](https://github.com/dell/ansible-powerflex/blob/1.9.0/docs/CONTRIBUTING.md#Pull-requests) for more information.
In addition to this, there are various security checks that get executed against a branch when a pull request is created/updated. Please refer to [pull request](https://github.com/dell/ansible-powerflex/blob/2.0.0/docs/CONTRIBUTING.md#Pull-requests) for more information.

## Reporting a vulnerability

Expand Down
8 changes: 4 additions & 4 deletions galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name: powerflex

# The version of the collection.
# Must be compatible with semantic versioning
version: 1.9.0
version: 2.0.0

# The path to the Markdown (.md) readme file.
# This path is relative to the root of the collection.
Expand Down Expand Up @@ -60,13 +60,13 @@ tags: [storage]
dependencies: {}

# The URL of the originating SCM repository
repository: https://github.com/dell/ansible-powerflex/tree/1.9.0
repository: https://github.com/dell/ansible-powerflex/tree/2.0.0

# The URL to any online docs
documentation: https://github.com/dell/ansible-powerflex/tree/1.9.0/docs
documentation: https://github.com/dell/ansible-powerflex/tree/2.0.0/docs

# The URL to the homepage of the collection/project
homepage: https://github.com/dell/ansible-powerflex/tree/1.9.0
homepage: https://github.com/dell/ansible-powerflex/tree/2.0.0

# The URL to the collection issue tracker
issues: https://www.dell.com/community/Automation/bd-p/Automation
Expand Down
Loading

0 comments on commit 5f2fc51

Please sign in to comment.