plugin: format docstring as rst

Change-Id: I14de69e743aece44b496aa62e89a8066b1fdde67
Signed-off-by: Julien Danjou <julien@danjou.info>
Import service when cfg.CONF.os_* is used

This doesn't look like it fixes something, but it actually does when you try
to run some unit test independently without loading the whole suite, some of
them fails because these cfg.CONF variables are not accessible.

Change-Id: Iaac74ec5d414de4e4b1d0c7d200ad6d4d3208a42
Signed-off-by: Julien Danjou <julien@danjou.info>
api: use delta_seconds()

This removes custom code in favor of oslo timeutils function, and makes the
v2 API returns seconds instead of minutes for duration.

Change-Id: Ieff388c4c057245b86ced12f5fa0f40e513c7d24
Signed-off-by: Julien Danjou <julien@danjou.info>
Merge "plugin: format docstring as rst"
Merge "Import service when cfg.CONF.os_* is used"
Merge "api: use delta_seconds()"