summaryrefslogtreecommitdiffstats
path: root/vswitches/vswitch.py
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2017-03-27 10:42:34 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-27 10:42:34 +0000
commitb757c8ba94b9d8664808a39d7517a11651cc0188 (patch)
tree8278a4a0aadfcd908d13dfbd36abaa8ace630a84 /vswitches/vswitch.py
parent725033715118bc318fdd6aa3745c2c07ca714086 (diff)
parent00ae14186c5292c04766321d02fc7f82668ee066 (diff)
Merge "vpp: Reporting update related to VPP"
Diffstat (limited to 'vswitches/vswitch.py')
-rw-r--r--vswitches/vswitch.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/vswitches/vswitch.py b/vswitches/vswitch.py
index 893bd1ff..dd69e6d9 100644
--- a/vswitches/vswitch.py
+++ b/vswitches/vswitch.py
@@ -20,6 +20,14 @@ class IVSwitch(object):
Other methods are called only between start() and stop()
"""
+ def get_version(self):
+ """Return version of vSwitch and DPDK (if used by vSwitch)
+ This method should be implemented in case, that version
+ of vswitch or DPDK can be read only during vSwitch runtime.
+ Otherwise it can be implemented inside tools/systeminfo.py.
+ """
+ raise NotImplementedError()
+
def start(self):
"""Start the vSwitch