De-duplicate unidirection support 25/17625/13
authorVratko Polak <vrpolak@cisco.com>
Mon, 25 Feb 2019 12:00:43 +0000 (13:00 +0100)
committerPeter Mikus <pmikus@cisco.com>
Tue, 26 Feb 2019 10:33:02 +0000 (10:33 +0000)
commit3a066cb1f1b79c6fb14cb1e9c7871d0b19bb06a2
treeaf1b7c75f3b9acb670377e03af007864922a37f6
parent53f44d52b513fae893e7774d77e3cff160ed9abe
De-duplicate unidirection support

- Latency is now reported in both directions.
-- For unidirection that means additional -1/-1/-1.
+ Changed function argument wrapping to save vertical space.
+ Changed trex command synthesys to save vertical space.
+ Fixed handling of command line arguments to avoid superfluous spaces.
+ More care distinguishing (0, 1) from (port_0, port_1).
- Not renaming the original port arguments.

Change-Id: I7b1736b594f6edea52eb07e5bc76ef52d0af92f8
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/libraries/python/TrafficGenerator.py
resources/tools/trex/trex_stateless_profile.py