pkt_gen: MoonGen should use class object for line rate calc 51/18251/2
authorbmichalo <bmichalo@redhat.com>
Tue, 9 Aug 2016 15:52:36 +0000 (11:52 -0400)
committerbmichalo <bmichalo@redhat.com>
Tue, 9 Aug 2016 16:00:54 +0000 (12:00 -0400)
commit5fd8804c5199161ae0c8b21f55972f1414098f75
treeaa2389c7c4d2b99f750e7a978dff110aed795a24
parentda059df422c839bb5d6393455a43c44e95873c73
pkt_gen: MoonGen should use class object for line rate calc

Instead of hard coding line speed numbers for rate calcuation,
MoonGen should use its class object initialized at start time.

JIRA: VSPERF-368

Change-Id: I68c688f8c244df16d98cfd15efabf491a317256b
Signed-off-by: bmichalo <bmichalo@redhat.com>
tools/pkt_gen/moongen/moongen.py