diff options
author | 2016-02-10 16:07:22 +0200 | |
---|---|---|
committer | 2016-02-10 16:07:22 +0200 | |
commit | 786fafdbebc8b7df8c1482ba7c43b0beb005ad7c (patch) | |
tree | 83abf8aaf32240441b207d45d1b28e2601f003ff | |
parent | 6c3a6dd6c1f2bf1c6a39dacad8e5db3551580521 (diff) | |
parent | a69c4dd80e88b6fb4ebfae8d84366b11561d7660 (diff) |
Merge another test
-rw-r--r-- | scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py | 2 | ||||
-rw-r--r-- | src/rpc-server/commands/trex_rpc_cmd_stream.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py index 50b9f896..53e15417 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py @@ -84,7 +84,7 @@ class STLTXMultiBurst(STLTXMode): self.fields['pps'] = pps self.fields['pkts_per_burst'] = pkts_per_burst self.fields['ibg'] = ibg - self.fields['number_of_bursts'] = count + self.fields['count'] = count class STLStream(object): diff --git a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp index 8c07bc46..650720be 100644 --- a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp +++ b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp @@ -159,7 +159,7 @@ TrexRpcCmdAddStream::allocate_new_stream(const Json::Value §ion, uint8_t por double pps = parse_double(mode, "pps", result); double ibg_usec = parse_double(mode, "ibg", result); - uint32_t num_bursts = parse_int(mode, "number_of_bursts", result); + uint32_t num_bursts = parse_int(mode, "count", result); uint32_t pkts_per_burst = parse_int(mode, "pkts_per_burst", result); stream = new TrexStream(TrexStream::stMULTI_BURST,port_id, stream_id ); |