rally-openstack/doc/specs/implemented/split_plugins.rst
Shuquan Huang b8e7e38573 OpenStack typo
change capitalization of OpenStack

Change-Id: I990639a0a2a7aa9c995a2c53367d0c424cd522bd
2015-11-15 13:01:34 +08:00

1.6 KiB

Re-organize Plugins

Move all plugins under rally/plugins to simplify Rally code base

Problem description

Rally code is coupled with Rally engine and infra as well as OpenStack specific code. This makes contribution harder as new-comers need to understand Rally code as well as many different plugins. It also makes reviewing much harder.

Proposed change

Moving all plugins under a single directory, with "OpenStack" as its sub-directory would make everything simpler.

Alternatives

None comes to mind.

Implementation

rally/
 |
 +-- plugins/
         |
         +-- common/
         |     |
         |     +-- runners/
         |     +-- sla/
         |     +-- contexts/
         |     +-- scenarios/
         |
         +-- openstack/
               |
               +-- runners/
               +-- sla/
               +-- contexts/
               +-- scenarios/

NOTE: looking at the current code base we can see that:

  1. All runners and sla will go under common.
  2. All contexts will go under openstack.
  3. Most of scenarios (except for dummy) will go under openstack.

Assignee(s)

  • yfried
  • boris-42

Work Items

  • Move all OpenStack related plugins and code under plugins/openstack/ and all other plugins code under plugins/common/.

Dependencies

  • Plugin unification