What's the suggested approach for implementing a custom oslo messaging
driver given the existing impl [1] is "private"?

e.g. I want to provide my own notification messaging driver which adds
functionality atop the existing driver [1]. This can obviously be done
by extending the oslo.messaging.notify._impl_messaging.MessagingDriver
and registering the custom impl as a stevedore plugin. e.g.

-----------
from oslo.messaging.notify import _impl_messaging as messaging


class MyMessagingDriver(messaging.MessagingDriver):
# impl below
-----------


This works, but given the private nature of oslo's "_impl_messaging" I'm
likely not following best practices.

Any feedback is appreciated.

Thanks


[1] http://goo.gl/cRGNwJ


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to