qa-specs/specs/tempest/implemented/list-plugins.rst
Ken'ichi Ohmichi 1d9981734e Move implemented blueprints to implemented
list-plugins is done with If28311bc2e8d29a97ee46d7d73edba2a93aed7ce
centralized-workspaces is done with I9595e3ba809e457951a0ffdf4b15f641f2fec4f4
client-manager-refactor is done with I6a4845edb95031243bca12a8d03c60cf18528212

Change-Id: I7be211308debb82a7e08ca997f924adda5af1707
2016-09-14 16:28:16 -07:00

2.2 KiB

Tempest List Plugins Command

https://blueprints.launchpad.net/tempest/+spec/list-plugins

Provides a means to list to currently installed Tempest plugins.

Problem description

The Tempest project recently implemented a plugin system to allow external test repositories to be included in Tempest test runs in a seamless fashion. Tempest plugins are essentially Python packages that implement a specific interface and are installed via standard Python tools. However, there is not a straightforward means for knowing which plugins are currently installed.

Proposed change

Providing a means via the tempest command line tooling to list the installed plugins provides a consistent experience to the user. The command tempest plugins list would provide the user with basic information about the installed plugins:

> tempest plugins list
+------------+---------------------------------------------+
| Plugin     | EntryPoint                                  |
+------------+---------------------------------------------+
| HelloWorld | hello_world_tempest_plugin.plugin:MyPlugin  |
| Example2   | example_tempest_plugin.plugin:ExamplePlugin |
+------------+---------------------------------------------+

Projects

  • openstack/tempest

Implementation

Assignee(s)

Primary assignee:

slowrie dwalleck

Milestones

Target Milestone for completion:

Mitaka-2

Work Items

  • Create means to query the stevedore.ExtensionManager for registered entrypoints
  • Create a function that turns the list of plugins into user readable output
  • Add an entry point for the plugins list command in the tempest.cmd package

Dependencies

  • prettytable

References