[openstack-dev] [Bareon][Fuel] Stevedore extensions system for Nailgun

Sylwester Brzeczkowski sbrzeczkowski at mirantis.com
Mon Jan 18 14:58:07 UTC 2016


Hi,

Recently I was working on making Nailgun extensions more usable. Current
extensions system has great potential to be used to extend Nailgun's
features e.g. integration with other services.
This potential is blocked by the fact that all extensions must be placed in
Nailgun's source code and be explicitly imported and added to global
"extensions list" [0].

There is the idea to use stevedore to unblock current extensions system.
Stevedore allows us to create an extension in separate package and make it
available just by installing it on Fuel Master node.
Nailgun will automatically detect that new extension is ready for use. User
will be able to turn on the extension via fuelclient [1] or directly via
Nailgun's REST API [2].

I've prepared a Demo [3] in which I show how to use extensions using
integration with Bareon-API [4] as an example. The extension is placed in
separate repo [5].

Please look at the spec for stevedore-based extensions for Nailgun [6] and
review it as soon as possible to move the initiative forward.
Any feedback is welcome!

Thank you!

[0]
https://github.com/openstack/fuel-web/blob/stable/8.0/nailgun/nailgun/extensions/base.py#L23-L36
[1] https://review.openstack.org/#/c/264699/
[2] https://review.openstack.org/#/c/264714/
[3] https://www.youtube.com/watch?v=8r0yaoPWtlY
[4] https://review.openstack.org/#/c/259072/
[5] https://github.com/gitfred/bareon-fuel-extension
[6] https://review.openstack.org/#/c/263738/

-- 
*Sylwester Brzeczkowski*
Junior Python Software Engineer
Product Development-Core : Product Engineering
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160118/e70563a6/attachment.html>


More information about the OpenStack-dev mailing list