X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=samples%2Fserviceha.yaml;h=e624f531e049dbdaf1b253278c2e37450f29d1b2;hb=5ee5f2bc482f97ac5a0b7d3c7766498efdbdf4b6;hp=42473218927cc432df4525b922155d34f7352232;hpb=9dd5d48efae06f6b87504c8f3fbfad0ab770a25e;p=yardstick.git diff --git a/samples/serviceha.yaml b/samples/serviceha.yaml index 424732189..e624f531e 100755 --- a/samples/serviceha.yaml +++ b/samples/serviceha.yaml @@ -7,15 +7,30 @@ scenarios: - type: ServiceHA options: - component: "nova-api" - fault_type: "stop-service" - fault_time: 5 - - host: node1.LF + attackers: + - fault_type: "kill-process" + process_name: "nova-api" + host: node1 + + monitors: + - monitor_type: "openstack-cmd" + command_name: "nova image-list" + monitor_time: 10 + sla: + max_outage_time: 5 + - monitor_type: "process" + process_name: "nova-api" + host: node1 + monitor_time: 10 + sla: + max_recover_time: 5 + + nodes: + node1: node1.LF runner: type: Duration - duration: 6 + duration: 1 sla: outage_time: 5 action: monitor @@ -25,5 +40,3 @@ context: type: Node name: LF file: /root/yardstick/etc/yardstick/nodes/fuel_virtual/pod.yaml - -