From: Dimitrios Markou <mardim@intracom-telecom.com>
Date: Thu, 1 Mar 2018 12:04:43 +0000 (+0200)
Subject: Add start service operation
X-Git-Tag: opnfv-6.0.0~99^2
X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=83708e518f28d0a239df05ed9cd9b0842ae1f8ef;p=yardstick.git

Add start service operation

Support the capability to start a service through the operation
perspective.

JIRA: YARDSTICK-1041

Change-Id: If817f4a522546de2e4a826c1e85b3545e6f3efed
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
---

diff --git a/yardstick/benchmark/scenarios/availability/operation_conf.yaml b/yardstick/benchmark/scenarios/availability/operation_conf.yaml
index dc5169196..0ca88393b 100644
--- a/yardstick/benchmark/scenarios/availability/operation_conf.yaml
+++ b/yardstick/benchmark/scenarios/availability/operation_conf.yaml
@@ -35,3 +35,6 @@ get-vip-host:
   action_script: ha_tools/pacemaker/get_vip_host.bash
   rollback_script: ha_tools/pacemaker/get_resource_status.bash
 
+start-service:
+  action_script: ha_tools/start_service.bash
+  rollback_script: ha_tools/check_process_python.bash