Add a Stevedore entrypoint for Dragonflow applications

Bug #1702462 reported by Omer Anson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
DragonFlow
Fix Released
Undecided
Dima Kuznetsov

Bug Description

In order to facilitate writing 3rd party Dragonflow applications, a stevedore[1] entrypoint should be used. This will allow out-of-tree applications to be loaded and used.

Existing Dragonflow applications should also be loaded using this new mechanism.

[1] https://pypi.python.org/pypi/stevedore

Changed in dragonflow:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to dragonflow (master)

Reviewed: https://review.openstack.org/480510
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=7367754398eef00e9db63e0b97b3bf105e38321f
Submitter: Jenkins
Branch: master

commit 7367754398eef00e9db63e0b97b3bf105e38321f
Author: Dima Kuznetsov <email address hidden>
Date: Wed Jul 5 21:12:04 2017 +0300

    Use stevedore to load apps

    We used to load apps by listing module and class names in a
    configuration entry. This patch defines entry points for all present
    apps, so we don't have to import them by module path, additionally,
    other packages can register new apps, allowing further extensibility.

    Closes-Bug: #1702462
    Change-Id: Iffa0fea3db36df2f59ef19a621b41838d66cb8d7

Changed in dragonflow:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.