diff options
author | Kerim Gokarslan <kgokarsl@cisco.com> | 2017-10-13 17:29:58 -0700 |
---|---|---|
committer | ahothan <ahothan@cisco.com> | 2017-10-20 00:37:14 -0700 |
commit | 124ecd5d59869bad3a4f5f53f91f5b9c99051512 (patch) | |
tree | e798895746a4edddc083b6e618f766d7905a7fbc /nfvbench/traffic_gen/dummy.py | |
parent | 08c848d44a2a39828593b30c172a6e33773f4efc (diff) |
NFVBENCH-40 Add pylint to tox
Change-Id: Ic55a07145f27c4cfaa6df5523df3940ca4433af1
Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
Diffstat (limited to 'nfvbench/traffic_gen/dummy.py')
-rw-r--r-- | nfvbench/traffic_gen/dummy.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/nfvbench/traffic_gen/dummy.py b/nfvbench/traffic_gen/dummy.py index dabdc71..d8c01e9 100644 --- a/nfvbench/traffic_gen/dummy.py +++ b/nfvbench/traffic_gen/dummy.py @@ -12,11 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. -from nfvbench.log import LOG - from traffic_base import AbstractTrafficGenerator -import traffic_utils as utils - class DummyTG(AbstractTrafficGenerator): @@ -50,12 +46,6 @@ class DummyTG(AbstractTrafficGenerator): def create_traffic(self, l2frame_size, rates, bidirectional, latency=True): pass - def modify_rate(self, rate, reverse): - port_index = int(reverse) - port = self.port_handle[port_index] - self.rates[port_index] = utils.to_rate_str(rate) - LOG.info('Modified traffic stream for %s, new rate=%s.' % (port, utils.to_rate_str(rate))) - def clear_streamblock(self): pass |