Skip to content

Commit

Permalink
Merge pull request #340 from jagadeeshnv/collections
Browse files Browse the repository at this point in the history
Release 4.3.0
  • Loading branch information
jagadeeshnv authored Nov 23, 2021
2 parents c006cdb + 6b8fe27 commit c570cf6
Show file tree
Hide file tree
Showing 26 changed files with 2,680 additions and 14 deletions.
27 changes: 26 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,31 @@ Dell EMC OpenManage Ansible Modules Release Notes
.. contents:: Topics


v4.3.0
======

Release Summary
---------------

Support to configure network services, syslog forwarding, and SMTP settings.

Known Issues
------------

- idrac_user - Issue(192043) The module may error out with the message ``unable to perform the import or export operation because there are pending attribute changes or a configuration job is in progress``. Wait for the job to complete and run the task again.
- ome_application_alerts_smtp - Issue(212310) - The module does not provide a proper error message if the destination_address is more than 255 characters.
- ome_application_alerts_syslog - Issue(215374) - The module does not provide a proper error message if the destination_address is more than 255 characters.
- ome_device_network_services - Issue(212681) - The module does not provide a proper error message if unsupported values are provided for the parameters- port_number, community_name, max_sessions, max_auth_retries, and idle_timeout.
- ome_device_power_settings - Issue(212679) - The module errors out with the following message if the value provided for the parameter ``power_cap`` is not within the supported range of 0 to 32767, ``Unable to complete the request because PowerCap does not exist or is not applicable for the resource URI.``
- ome_smart_fabric_uplink - Issue(186024) - The module does not allow the creation of multiple uplinks of the same name even though it is supported by OpenManage Enterprise Modular. If an uplink is created using the same name as an existing uplink, the existing uplink is modified.

New Modules
-----------

- dellemc.openmanage.ome_application_alerts_smtp - This module allows to configure SMTP or email configurations
- dellemc.openmanage.ome_application_alerts_syslog - Configure syslog forwarding settings on OpenManage Enterprise and OpenManage Enterprise Modular
- dellemc.openmanage.ome_device_network_services - Configure chassis network services settings on OpenManage Enterprise Modular

v4.2.0
======

Expand All @@ -17,8 +42,8 @@ Known Issues
------------

- idrac_user - Issue(192043) Module may error out with the message ``unable to perform the import or export operation because there are pending attribute changes or a configuration job is in progress``. Wait for the job to complete and run the task again.
- ome_device_power_settings - Issue(212679) The ome_device_power_settings module errors out with the following message if the value provided for the parameter ``power_cap`` is not within the supported range of 0 to 32767, ``Unable to complete the request because PowerCap does not exist or is not applicable for the resource URI.``
- ome_smart_fabric_uplink - Issue(186024) ome_smart_fabric_uplink module does not allow the creation of multiple uplinks of the same name even though it is supported by OpenManage Enterprise Modular. If an uplink is created using the same name as an existing uplink, the existing uplink is modified.
- ome_device_power_settings - Issue(212679) The ome_device_power_settings module errors out with the following message if the value provided for the parameter ``power_cap`` is not within the supported range of 0 to 32767: ``Unable to complete the request because PowerCap does not exist or is not applicable for the resource URI.``

New Modules
-----------
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ OpenManage Ansible Modules simplifies and automates provisioning, deployment, an

## Supported Platforms
* iDRAC 7 based Dell EMC PowerEdge Servers with firmware versions 2.63.60.62 and above.
* iDRAC 8 based Dell EMC PowerEdge Servers with firmware versions 2.75.75.75 and above.
* iDRAC 8 based Dell EMC PowerEdge Servers with firmware versions 2.80.80.80 and above.
* iDRAC 9 based Dell EMC PowerEdge Servers with firmware versions 4.40.40.00 and above.
* Dell EMC OpenManage Enterprise versions 3.6.1 and above.
* Dell EMC OpenManage Enterprise versions 3.7.0 and above.
* Dell EMC OpenManage Enterprise-Modular versions 1.30.00 and above.

## Prerequisites
Expand Down
34 changes: 34 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -405,3 +405,37 @@ releases:
name: ome_device_power_settings
namespace: ''
release_date: '2021-10-27'
4.3.0:
changes:
known_issues:
- ome_device_network_services - Issue(212681) - The module does not provide a
proper error message if unsupported values are provided for the parameters-
port_number, community_name, max_sessions, max_auth_retries, and idle_timeout.
- ome_application_alerts_syslog - Issue(215374) - The module does not provide a
proper error message if the destination_address is more than 255 characters.
- ome_application_alerts_smtp - Issue(212310) - The module does not provide a
proper error message if the destination_address is more than 255 characters.
- idrac_user - Issue(192043) The module may error out with the message ``unable
to perform the import or export operation because there are pending attribute
changes or a configuration job is in progress``. Wait for the job to complete
and run the task again.
- ome_smart_fabric_uplink - Issue(186024) - The module does not allow the creation
of multiple uplinks of the same name even though it is supported by OpenManage
Enterprise Modular. If an uplink is created using the same name as an existing
uplink, the existing uplink is modified.
- ome_device_power_settings - Issue(212679) - The module errors out with the
following message if the value provided for the parameter ``power_cap`` is
not within the supported range of 0 to 32767, ``Unable to complete the request
because PowerCap does not exist or is not applicable for the resource URI.``
release_summary: Support to configure network services, syslog forwarding, and SMTP settings.
modules:
- description: Configure chassis network services settings on OpenManage Enterprise Modular
name: ome_device_network_services
namespace: ''
- description: This module allows to configure SMTP or email configurations
name: ome_application_alerts_smtp
namespace: ''
- description: Configure syslog forwarding settings on OpenManage Enterprise and OpenManage Enterprise Modular
name: ome_application_alerts_syslog
namespace: ''
release_date: '2021-11-26'
3 changes: 3 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ OpenManage Ansible Modules simplifies and automates provisioning, deployment, an

### OpenManage Enterprise Modules
- [ome_active_directory](modules/ome_active_directory.rst)
- [ome_application_alerts_smtp](modules/ome_application_alerts_smtp.rst)
- [ome_application_alerts_syslog](modules/ome_application_alerts_syslog.rst)
- [ome_application_certificate](modules/ome_application_certificate.rst)
- [ome_application_network_address](modules/ome_application_network_address.rst)
- [ome_application_network_proxy](modules/ome_application_network_proxy.rst)
Expand All @@ -47,6 +49,7 @@ OpenManage Ansible Modules simplifies and automates provisioning, deployment, an
- [ome_device_info](modules/ome_device_info.rst)
- [ome_device_location](modules/ome_device_location.rst)
- [ome_device_mgmt_network](modules/ome_device_mgmt_network.rst)
- [ome_device_network_services](modules/ome_device_network_services.rst)
- [ome_device_power_settings](modules/ome_device_power_settings.rst)
- [ome_diagnostics](modules/ome_diagnostics.rst)
- [ome_discovery](modules/ome_discovery.rst)
Expand Down
148 changes: 148 additions & 0 deletions docs/modules/ome_application_alerts_smtp.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
.. _ome_application_alerts_smtp_module:


ome_application_alerts_smtp -- This module allows to configure SMTP or email configurations
===========================================================================================

.. contents::
:local:
:depth: 1


Synopsis
--------

This module allows to configure SMTP or email configurations on OpenManage Enterprise and OpenManage Enterprise Modular.






Parameters
----------

destination_address (True, str, None)
The IP address or FQDN of the SMTP destination server.


port_number (optional, int, None)
The port number of the SMTP destination server.


use_ssl (optional, bool, None)
Use SSL to connect with the SMTP server.


enable_authentication (True, bool, None)
Enable or disable authentication to access the SMTP server.

The *credentials* are mandatory if *enable_authentication* is ``True``.

The module will always report change when this is ``True``.


credentials (optional, dict, None)
The credentials for the SMTP server


username (True, str, None)
The username to access the SMTP server.


password (True, str, None)
The password to access the SMTP server.



hostname (True, str, None)
OpenManage Enterprise or OpenManage Enterprise Modular IP address or hostname.


username (True, str, None)
OpenManage Enterprise or OpenManage Enterprise Modular username.


password (True, str, None)
OpenManage Enterprise or OpenManage Enterprise Modular password.


port (optional, int, 443)
OpenManage Enterprise or OpenManage Enterprise Modular HTTPS port.





Notes
-----

.. note::
- The module will always report change when *enable_authentication* is ``True``.
- Run this module from a system that has direct access to Dell EMC OpenManage Enterprise or OpenManage Enterprise Modular.
- This module support ``check_mode``.




Examples
--------

.. code-block:: yaml+jinja


---
- name: Update SMTP destination server configuration with authentication
dellemc.openmanage.ome_application_alerts_smtp:
hostname: "192.168.0.1"
username: "user_name"
password: "user_password"
destination_address: "localhost"
port_number: 25
use_ssl: true
enable_authentication: true
credentials:
username: "username"
password: "password"
- name: Update SMTP destination server configuration without authentication
dellemc.openmanage.ome_application_alerts_smtp:
hostname: "192.168.0.1"
username: "user_name"
password: "user_password"
destination_address: "localhost"
port_number: 25
use_ssl: false
enable_authentication: false



Return Values
-------------

msg (always, str, Successfully updated the SMTP settings.)
Overall status of the SMTP settings update.


smtp_details (success, dict, {'DestinationAddress': 'localhost', 'PortNumber': 25, 'UseCredentials': True, 'UseSSL': False, 'Credential': {'User': 'admin', 'Password': None}})
returned when SMTP settings are updated successfully.


error_info (on HTTP error, dict, {'error': {'code': 'Base.1.0.GeneralError', 'message': 'A general error has occurred. See ExtendedInfo for more information.', '@Message.ExtendedInfo': [{'MessageId': 'CAPP1106', 'RelatedProperties': [], 'Message': 'Unable to update the SMTP settings because the entered credential is invalid or empty.', 'MessageArgs': [], 'Severity': 'Critical', 'Resolution': 'Either enter valid credentials or disable the Use Credentials option and retry the operation.'}]}})
Details of the HTTP Error.





Status
------





Authors
~~~~~~~

- Sachin Apagundi(@sachin-apa)

Loading

0 comments on commit c570cf6

Please sign in to comment.