aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/QemuUtils.py
diff options
context:
space:
mode:
authorjan.hradil <jan.hradil@pantheon.tech>2017-04-27 14:47:16 +0200
committerTibor Frank <tifrank@cisco.com>2017-05-02 06:24:18 +0000
commit44cafa8a265cfb1144638430079ef4dbf2501d72 (patch)
treea1eaea31c31578107c9cd11946772c259344010b /resources/libraries/python/QemuUtils.py
parent41212b4103c2f1b746d8b2101328e49e8697ef6c (diff)
csit-validate-pylint-master/3731 for build 3731
pylint repairs deleted duplicated method from HcPersistence.py Change-Id: I426e6c15957c995ea10bd11ae2deac75b1cab922 Signed-off-by: jan.hradil <jan.hradil@pantheon.tech>
Diffstat (limited to 'resources/libraries/python/QemuUtils.py')
-rw-r--r--resources/libraries/python/QemuUtils.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/libraries/python/QemuUtils.py b/resources/libraries/python/QemuUtils.py
index 1664b0b916..eeca320fed 100644
--- a/resources/libraries/python/QemuUtils.py
+++ b/resources/libraries/python/QemuUtils.py
@@ -592,6 +592,11 @@ class QemuUtils(object):
self._ssh.exec_command_sudo(cmd)
def qemu_kill_all(self, node=None):
+ """Kill all qemu processes on DUT node if specified.
+
+ :param node: Node to kill all QEMU processes on.
+ :type node: dict
+ """
if node:
self.qemu_set_node(node)
self._ssh.exec_command_sudo('pkill -SIGKILL qemu')