Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-1386 KernelVM - Part II
[csit.git]
/
resources
/
libraries
/
python
/
VPPUtil.py
diff --git
a/resources/libraries/python/VPPUtil.py
b/resources/libraries/python/VPPUtil.py
index
57a78fc
..
64bba75
100644
(file)
--- a/
resources/libraries/python/VPPUtil.py
+++ b/
resources/libraries/python/VPPUtil.py
@@
-146,6
+146,8
@@
class VPPUtil(object):
otherwise show only version.
:type node: dict
:type verbose: bool
otherwise show only version.
:type node: dict
:type verbose: bool
+ :returns: VPP version.
+ :rtype: str
"""
with PapiExecutor(node) as papi_exec:
"""
with PapiExecutor(node) as papi_exec:
@@
-159,6
+161,7
@@
class VPPUtil(object):
format(date=data['build_date'].rstrip('\0x00'),
cl=data['build_directory'].rstrip('\0x00')))
logger.info(version)
format(date=data['build_date'].rstrip('\0x00'),
cl=data['build_directory'].rstrip('\0x00')))
logger.info(version)
+ return data['version'].rstrip('\0x00')
@staticmethod
def vpp_show_version_verbose(node):
@staticmethod
def vpp_show_version_verbose(node):