This change introduces a new configuration option `notification-driver` to the Magnum charm, allowing users to specify the desired Oslo messaging notification driver. Previously, the `oslo_messaging_notifications` driver was hard-coded to `messaging`, limiting flexibility.
The new option allows users to choose from the following drivers: `messaging`, `messagingv2`, `routing`, `log`, `test`, and `noop`.
The `notification-driver` setting is applied in `magnum.conf` as follows:
[oslo_messaging_notifications]
driver = {{ options.notification_driver }}
By default, `notification-driver` is set to `messaging`, keeping the existing behavior unchanged unless explicitly configured. This update provides users with the ability to adjust the notification behavior based on their deployment needs.
Closes-Bug: #2085362
Change-Id: Ib99f44bde1bad2a6f1212c363473e67ed1d32a14