From 27ec603506d9539afb9f6c604bd568c9c86e5a10 Mon Sep 17 00:00:00 2001 From: felix Stephen Date: Thu, 22 Aug 2024 10:01:06 +0530 Subject: [PATCH 1/7] Documentation update 3.3.0 --- CHANGELOG.rst | 15 +++++++++++++++ README.md | 2 +- changelogs/changelog.yaml | 15 +++++++++++++++ docs/INSTALLATION.md | 2 +- docs/ISSUE_TRIAGE.md | 2 +- docs/Release Notes.md | 17 ++++++++++------- galaxy.yml | 2 +- 7 files changed, 44 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9d0e0ee7..b1fc1d11 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,21 @@ Dellemc.Powerscale Change Logs .. contents:: Topics +v3.3.0 +====== + +Minor Changes +------------- + +- Added support for listing writable snapshots in Info module. + +New Modules +----------- + +- dellemc.powerscale.alert_channel - Manage alert channel on a PowerScale Storage System. +- dellemc.powerscale.alert_rule - Manage alert rule on a PowerScale Storage System. +- dellemc.powerscale.writable_snapshots - Manage writable snapshots on PowerScale Storage System. + v3.2.0 ====== diff --git a/README.md b/README.md index 04973c5a..959bb334 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ This table provides information about the software prerequisites for the Ansible | **Ansible Modules** | **OneFS Version** | **Python version** | **Python SDK version** | **Ansible** | |---------------------|-----------------------|--------------------|----------------------------|--------------------------| -| v3.2.0 | 9.4.x
9.5.x
9.7.x
9.8.x | 3.9
3.10
3.11
3.12 | 0.3.0.1 | 2.15
2.16
2.17 | +| v3.3.0 | 9.4.x
9.5.x
9.7.x
9.8.x | 3.9
3.10
3.11
3.12 | 0.3.0.1 | 2.15
2.16
2.17 | # List of Ansible modules for Dell PowerScale * [File System Module](https://github.com/dell/ansible-powerscale/blob/main/docs/modules/filesystem.rst) diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 95d4a3a2..988ea162 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -296,3 +296,18 @@ releases: name: alert_settings namespace: '' release_date: '2024-07-31' + 3.3.0: + changes: + minor_changes: + - Added support for listing writable snapshots in Info module. + modules: + - description: Manage alert channel on a PowerScale Storage System. + name: alert_channel + namespace: '' + - description: Manage alert rule on a PowerScale Storage System. + name: alert_rule + namespace: '' + - description: Manage writable snapshots on PowerScale Storage System. + name: writable_snapshots + namespace: '' + release_date: '2024-08-30' diff --git a/docs/INSTALLATION.md b/docs/INSTALLATION.md index 1a269f74..ce6a9ca3 100644 --- a/docs/INSTALLATION.md +++ b/docs/INSTALLATION.md @@ -22,7 +22,7 @@ Use this procedure to install SDK: #### Offline installation of collections 1. Download the latest tar build from either of the available distribution channels [Ansible Galaxy](https://galaxy.ansible.com/dellemc/powerscale) /[Automation Hub](https://console.redhat.com/ansible/automation-hub/repo/published/dellemc/powerscale) and use this command to install the collection anywhere in your system: - ansible-galaxy collection install dellemc-powerscale-3.2.0.tar.gz -p + ansible-galaxy collection install dellemc-powerscale-3.3.0.tar.gz -p 2. Set the environment variable: diff --git a/docs/ISSUE_TRIAGE.md b/docs/ISSUE_TRIAGE.md index f423543b..2438323a 100644 --- a/docs/ISSUE_TRIAGE.md +++ b/docs/ISSUE_TRIAGE.md @@ -33,7 +33,7 @@ Should explain what happened, what was expected and how to reproduce it together - Ansible Version: [e.g. 2.15] - Python Version [e.g. 3.11] - - Ansible modules for Dell PowerScale Version: [e.g. 3.2.0] + - Ansible modules for Dell PowerScale Version: [e.g. 3.3.0] - PowerScale SDK version: [e.g. 0.3.0.1] - Any other additional information... diff --git a/docs/Release Notes.md b/docs/Release Notes.md index 1298c432..3b4ecd9f 100644 --- a/docs/Release Notes.md +++ b/docs/Release Notes.md @@ -1,6 +1,6 @@ **Ansible Modules for Dell Technologies PowerScale** ========================================= -### Release notes 3.2.0 +### Release notes 3.3.0 > © 2024 Dell Inc. or its subsidiaries. All rights reserved. Dell > and other trademarks are trademarks of Dell Inc. or its @@ -27,7 +27,7 @@ Table 1. Revision history | Revision | Date | Description | |----------|---------------|-----------------------------------------------------------| -| 01 | July 2024 | Ansible Modules for Dell PowerScale 3.2.0 | +| 01 | August 2024 | Ansible Modules for Dell PowerScale 3.3.0 | Product description @@ -70,6 +70,9 @@ The Ansible Modules for Dell PowerScale support the following features: - Get details, accept terms, and modify support assist settings. - Get details and modify alert settings. - Get details of filesystems, NFS exports, alert_settings, alert_rules, alert_categories, event_groups and alert_channels using Info module. +- Get details, create, modify, and delete Alert Channel. +- Get details, create, modify, and delete Alert Rule. +- Get details, create, and delete Writable Snapshots. The Ansible modules use playbooks, written in yaml syntax, to list, show, create, delete, and modify each of these entities. @@ -77,12 +80,12 @@ New Features and Enhancements --------------------------- This section describes the features of the Ansible Modules for Dell PowerScale for this release. -The Ansible Modules for Dell PowerScale release 3.2.0 supports the following features: +The Ansible Modules for Dell PowerScale release 3.3.0 supports the following features: -- Added support for check mode and diff mode in network pool module. -- Added support for check mode in Filesystem, NFS and Smart Quota modules. -- Added support for listing filesystems, NFS exports, alert_settings, alert_rules, alert_categories, event_groups and alert_channels in Info module -- Added support for query paramters and filters in Info module. +- Added support for create, modify, and delete Alert Channel. +- Added support for create, modify, and delete Alert Rule. +- Added support for create, and delete Writable Snapshots. +- Added support for listing Writable Snapshots in Info module Known issues ------------ diff --git a/galaxy.yml b/galaxy.yml index a89dac4c..06402397 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -14,7 +14,7 @@ name: powerscale # The version of the collection. # Must be compatible with semantic versioning -version: 3.2.0 +version: 3.3.0 # The path to the Markdown (.md) readme file. # This path is relative to the root of the collection. From 8b59cc5246605d4c8dc4ba3749e123a4661f6691 Mon Sep 17 00:00:00 2001 From: felix Stephen Date: Thu, 22 Aug 2024 11:32:37 +0530 Subject: [PATCH 2/7] upadted config.yml --- tests/config.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/config.yml diff --git a/tests/config.yml b/tests/config.yml new file mode 100644 index 00000000..66a18ab6 --- /dev/null +++ b/tests/config.yml @@ -0,0 +1,2 @@ +modules: + python_requires: '>=3.6.15' From 6fcff5f8d93bba9d4c49efe5f1a470f55d2c902c Mon Sep 17 00:00:00 2001 From: sharmb5 Date: Thu, 22 Aug 2024 09:50:57 -0400 Subject: [PATCH 3/7] updating params description --- docs/modules/alert_channel.rst | 8 ++++---- plugins/modules/alert_channel.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/modules/alert_channel.rst b/docs/modules/alert_channel.rst index fa82cc00..733b8073 100644 --- a/docs/modules/alert_channel.rst +++ b/docs/modules/alert_channel.rst @@ -40,7 +40,7 @@ Parameters \ :literal:`False`\ indicates the channel is disabled. - If not specified when creating the channel, It will be enabled by default. + If not specified when creating the channel, it will be enabled by default. excluded_nodes (optional, list, None) @@ -50,7 +50,7 @@ Parameters name (True, str, None) Name of the Channel. - Name should be unique and not modifiable. + Name should be unique and can not be changed. send_test_alert (optional, bool, False) @@ -94,7 +94,7 @@ Parameters smtp_use_auth (optional, bool, None) Enable SMTP authentication. - If \ :emphasis:`smtp\_use\_auth`\ is not set during creation, then It defaults set to c(false). + If \ :emphasis:`smtp\_use\_auth`\ is not set during creation, then it defaults set to \ :literal:`false`\ . smtp_username (optional, str, None) @@ -129,7 +129,7 @@ Parameters If \ :emphasis:`type`\ is \ :literal:`smtp`\ , then \ :emphasis:`smtp\_parameters`\ is required. - If \ :emphasis:`type`\ is not set during creation, then It defaults to \ :literal:`connectemc`\ . + If \ :emphasis:`type`\ is not set during creation, then it defaults to \ :literal:`connectemc`\ . onefs_host (True, str, None) diff --git a/plugins/modules/alert_channel.py b/plugins/modules/alert_channel.py index 1d2dc69c..9dbec623 100644 --- a/plugins/modules/alert_channel.py +++ b/plugins/modules/alert_channel.py @@ -36,7 +36,7 @@ - Enable or disable the channel. - C(True) indicates the channel is enabled. - C(False) indicates the channel is disabled. - - If not specified when creating the channel, It will be + - If not specified when creating the channel, it will be enabled by default. type: bool excluded_nodes: @@ -47,7 +47,7 @@ name: description: - Name of the Channel. - - Name should be unique and not modifiable. + - Name should be unique and can not be changed. type: str required: true send_test_alert: @@ -99,7 +99,7 @@ description: - Enable SMTP authentication. - If I(smtp_use_auth) is not set during creation, - then It defaults set to c(false). + then it defaults set to C(false). type: bool smtp_username: description: @@ -137,7 +137,7 @@ description: - Type of the channel. - If I(type) is C(smtp), then I(smtp_parameters) is required. - - If I(type) is not set during creation, then It defaults to C(connectemc). + - If I(type) is not set during creation, then it defaults to C(connectemc). type: str choices: ['connectemc', 'smtp'] attributes: From 58d537d4231afbbd314e9a6e99f404a9ce929b49 Mon Sep 17 00:00:00 2001 From: Felix Stephen <38071645+felixs88@users.noreply.github.com> Date: Fri, 23 Aug 2024 13:26:01 +0530 Subject: [PATCH 4/7] Update CHANGELOG.rst --- CHANGELOG.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b1fc1d11..8f88d0cd 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -12,6 +12,7 @@ Minor Changes ------------- - Added support for listing writable snapshots in Info module. +- Added fix for firewall policy issue for network pool operations. New Modules ----------- From c27df0aa479cf47764db9ea91d576e8a9e3bc1f3 Mon Sep 17 00:00:00 2001 From: Felix Stephen <38071645+felixs88@users.noreply.github.com> Date: Fri, 23 Aug 2024 13:26:33 +0530 Subject: [PATCH 5/7] Update changelog --- changelogs/changelog.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 988ea162..6baec904 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -300,6 +300,7 @@ releases: changes: minor_changes: - Added support for listing writable snapshots in Info module. + - Added fix for firewall policy issue for network pool operations. modules: - description: Manage alert channel on a PowerScale Storage System. name: alert_channel From eb7c6a7562ff313fa9763738ee9ae4c0399d55f9 Mon Sep 17 00:00:00 2001 From: Felix Stephen <38071645+felixs88@users.noreply.github.com> Date: Fri, 23 Aug 2024 14:20:53 +0530 Subject: [PATCH 6/7] Update tests/config.yml Co-authored-by: Sachin Apagundi <62133262+sachin-apa@users.noreply.github.com> --- tests/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/config.yml b/tests/config.yml index 66a18ab6..05012468 100644 --- a/tests/config.yml +++ b/tests/config.yml @@ -1,2 +1,2 @@ modules: - python_requires: '>=3.6.15' + python_requires: '>=3.9' From 4fb098a1c3e60426edcc9e5aefad4216387812a8 Mon Sep 17 00:00:00 2001 From: sharmb5 Date: Fri, 23 Aug 2024 05:49:49 -0400 Subject: [PATCH 7/7] updating params description --- docs/modules/alert_channel.rst | 2 +- plugins/modules/alert_channel.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules/alert_channel.rst b/docs/modules/alert_channel.rst index 733b8073..50ba079b 100644 --- a/docs/modules/alert_channel.rst +++ b/docs/modules/alert_channel.rst @@ -50,7 +50,7 @@ Parameters name (True, str, None) Name of the Channel. - Name should be unique and can not be changed. + Name should be unique and cannot be changed. send_test_alert (optional, bool, False) diff --git a/plugins/modules/alert_channel.py b/plugins/modules/alert_channel.py index 9dbec623..98f8ab3f 100644 --- a/plugins/modules/alert_channel.py +++ b/plugins/modules/alert_channel.py @@ -47,7 +47,7 @@ name: description: - Name of the Channel. - - Name should be unique and can not be changed. + - Name should be unique and cannot be changed. type: str required: true send_test_alert: