summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Klein <danklei@cisco.com>2015-10-22 09:08:44 +0300
committerDan Klein <danklei@cisco.com>2015-10-22 09:08:44 +0300
commit24673005967ef97fccd546acb40fde7ba9402141 (patch)
treefa92cb10c17f53276cf77933995dd00f58f5fe22
parentc54e90ee302313328f259fd4729f9a30bc11f641 (diff)
Updated RPC server document and annd visio drawings of phase 2.0 stateless.
-rwxr-xr-x[-rw-r--r--]trex_rpc_server_spec.asciidoc11
-rwxr-xr-xvisio_drawings/trex_2.0_stateless.pngbin0 -> 1081192 bytes
-rwxr-xr-xvisio_drawings/trex_2.0_stateless.vsdbin0 -> 935424 bytes
3 files changed, 10 insertions, 1 deletions
diff --git a/trex_rpc_server_spec.asciidoc b/trex_rpc_server_spec.asciidoc
index e973aedc..c994b2d1 100644..100755
--- a/trex_rpc_server_spec.asciidoc
+++ b/trex_rpc_server_spec.asciidoc
@@ -19,6 +19,10 @@ The TRex RPC Server
|
- added usage examples using Python code as Higher-level usage
- added logic and explanation behind VM commands
+| 1.1 | Dan Klein (danklei)
+|
+- Fixed some consistency issues
+- added RPC interaction examples appendix
|=================
@@ -659,7 +663,7 @@ please also consider the following constraints:
==== The bytes needed for activating 'rx_stats':
-* *rx_stream_id* consumes 2 bytes
+* *stream_id* consumes 2 bytes
* *seq_enabled* consumes 4 bytes
* *latency_enabled* consumes 4 bytes
@@ -677,6 +681,8 @@ if both are enabled then 10 bytes will be used.
|=================
| Field | Type | Description
| enabled | boolean | is rx_stats enabled for this stream
+| stream_id | int | stream_id for which to collect rx_stats. +
+This could be stream_id different from the stream object which contains the rx_stats object.
| seq_enabled | boolean | should write 32 bit sequence
| latency_enabled | boolean | should write 32 bit latency
|=================
@@ -730,6 +736,9 @@ if both are enabled then 10 bytes will be used.
----
+This request-reply sequence demonstrate a method in which rx_stats are diabled.
+In case rx_stats feature is enabled, rx_object **must include** all rx_stats object fields as described above.
+
=== Remove Stream
* *Name* - 'remove_stream'
diff --git a/visio_drawings/trex_2.0_stateless.png b/visio_drawings/trex_2.0_stateless.png
new file mode 100755
index 00000000..01787f99
--- /dev/null
+++ b/visio_drawings/trex_2.0_stateless.png
Binary files differ
diff --git a/visio_drawings/trex_2.0_stateless.vsd b/visio_drawings/trex_2.0_stateless.vsd
new file mode 100755
index 00000000..d46f2a59
--- /dev/null
+++ b/visio_drawings/trex_2.0_stateless.vsd
Binary files differ