diff options
author | 2016-02-10 08:34:03 -0500 | |
---|---|---|
committer | 2016-02-10 08:34:03 -0500 | |
commit | a69c4dd80e88b6fb4ebfae8d84366b11561d7660 (patch) | |
tree | cce48058394aad9c28323e0e65cc8be491f669ff | |
parent | f8d4d5a845fc049497dd988e911d2678798fa307 (diff) |
back to 'count' - as the DOC states
-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 91eef745..1ed55e4c 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 ); |