aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/qemu.robot
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2016-08-02 11:34:29 +0100
committerPeter Mikus <pmikus@cisco.com>2016-08-17 15:07:54 +0000
commit74afb9bce89ee2ca456c9e9f1e5b016a3befc20e (patch)
tree06bf4247ac535fc028e07b46b5aa71faed69d3d6 /resources/libraries/robot/qemu.robot
parent2d928a03f626506f5beca37f41de5e00e62e9053 (diff)
CSIT-312 VPP vhost-user - VPP vhost-user driver, virtio in VM
- Add libraries and keywords to control Qemu VM and VMapp Change-Id: Iaaedfe240afe394f507ccaf0cf7a77c8b863acd3 Signed-off-by: pmikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/robot/qemu.robot')
-rw-r--r--resources/libraries/robot/qemu.robot7
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/libraries/robot/qemu.robot b/resources/libraries/robot/qemu.robot
index a5dd0e6066..a9cf0101a5 100644
--- a/resources/libraries/robot/qemu.robot
+++ b/resources/libraries/robot/qemu.robot
@@ -70,3 +70,10 @@
| | ... | ELSE | Qemu Quit
| | Qemu Clear Socks
| | Run Keyword If | ${vm} is not None | Disconnect | ${vm}
+
+| Kill Qemu on all DUTs
+| | [Documentation] | Kill QEMU processes on all DUTs.
+| | ${duts}= | Get Matches | ${nodes} | DUT*
+| | :FOR | ${dut} | IN | @{duts}
+| | | Qemu Set Node | ${nodes['${dut}']}
+| | | Qemu Kill