Introduce OptionString for handling command line 44/18844/21
authorVratko Polak <vrpolak@cisco.com>
Mon, 15 Apr 2019 14:31:54 +0000 (16:31 +0200)
committerVratko Polak <vrpolak@cisco.com>
Wed, 17 Apr 2019 07:58:39 +0000 (07:58 +0000)
commitc481185ca0662f4e7800af2ae6a8f3f81c753470
treec2d1d86715fecff81541d791e5f0cd3a79c48ad3
parentf3b78e659d703921581b4007fd88c770672cd988
Introduce OptionString for handling command line

+ Convert DpdkUtil to use it.
++ Rename args to kwargs where needed.
++ Fix errors in docstrings.
+ Also convert and QemuUtils to use it.
++ Minor formatting edits to save space.
+ Add disconnect parameter to some ssh.py functions.
++ ssh.SSH.disconnect() tries to work without argument.
+ Exec functions in ssh.py accept OptionString commands.

Change-Id: I82da71c568d120c283544c90242993fc76e9e83a
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/libraries/python/DpdkUtil.py
resources/libraries/python/OptionString.py [new file with mode: 0644]
resources/libraries/python/QemuUtils.py
resources/libraries/python/ssh.py