From 404f6d245b621f5d455454435d9d5973b6ece96e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 26 Jul 2013 18:21:21 -0700 Subject: [PATCH] rest-api: rename Signed-off-by: Sage Weil --- teuthology/task/{rest_api.py => rest-api.py} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename teuthology/task/{rest_api.py => rest-api.py} (96%) diff --git a/teuthology/task/rest_api.py b/teuthology/task/rest-api.py similarity index 96% rename from teuthology/task/rest_api.py rename to teuthology/task/rest-api.py index 7d1c1826bb..252d050bb7 100644 --- a/teuthology/task/rest_api.py +++ b/teuthology/task/rest-api.py @@ -46,30 +46,30 @@ def run_rest_api_daemon(ctx, api_clients): @contextlib.contextmanager def task(ctx, config): """ - Start up rest_api. + Start up rest-api. To start on on all clients:: tasks: - ceph: - - rest_api: + - rest-api: To only run on certain clients:: tasks: - ceph: - - rest_api: [client.0, client.3] + - rest-api: [client.0, client.3] or tasks: - ceph: - - rest_api: + - rest-api: client.0: client.3: The general flow of things here is: - 1. Find clients on which rest_api is supposed to run (api_clients) + 1. Find clients on which rest-api is supposed to run (api_clients) 2. Generate keyring values 3. Start up ceph-rest-api daemons On cleanup: -- 2.39.5