diff options
author | 2017-06-09 07:30:44 +0000 | |
---|---|---|
committer | 2017-06-09 07:30:44 +0000 | |
commit | 5fe9089057bf23fd7ff312779d928cc9932fd38b (patch) | |
tree | a065807fae088fff9e1089611b37f882eb07d3fb /vnfs/qemu/qemu.py | |
parent | 80c9f96f5e60ee6a2a93494a0aae82014c2311b6 (diff) | |
parent | de6fc4b670fc42fc96f27f375fbcf7a099629434 (diff) |
Merge "tests: Improvement of step driven testcases"
Diffstat (limited to 'vnfs/qemu/qemu.py')
-rw-r--r-- | vnfs/qemu/qemu.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnfs/qemu/qemu.py b/vnfs/qemu/qemu.py index b48f7630..20b4d62a 100644 --- a/vnfs/qemu/qemu.py +++ b/vnfs/qemu/qemu.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 Intel Corporation. +# Copyright 2015-2017 Intel Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -73,7 +73,7 @@ class IVnfQemu(IVnf): self._testpmd_fwd_mode = S.getValue('GUEST_TESTPMD_FWD_MODE')[self._number] # in case of SRIOV we must ensure, that MAC addresses are not swapped if S.getValue('SRIOV_ENABLED') and self._testpmd_fwd_mode.startswith('mac') and \ - not S.getValue('VNF').endswith('PciPassthrough'): + not str(S.getValue('VNF')).endswith('PciPassthrough'): self._logger.info("SRIOV detected, forwarding mode of testpmd was changed from '%s' to '%s'", self._testpmd_fwd_mode, 'io') |