summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/doc_stl/api/client_code.rst
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-09-13 17:30:14 +0300
committerYaroslav Brustinov <ybrustin@cisco.com>2016-09-13 17:30:14 +0300
commit138686f389fe48139ddc4a57ac5de363e71b38e7 (patch)
tree35cc977a555f80ac64c6aff4bbc045819dd080a5 /scripts/automation/trex_control_plane/doc_stl/api/client_code.rst
parent58f1ee52761a489322036f111793ddd8e85e197a (diff)
dpdk Python scripts small fixes
ensure log dir exists for trex daemon regression: add trex24 setup Sphinx docs remove "capture" tag for compatibility with 1.2 version
Diffstat (limited to 'scripts/automation/trex_control_plane/doc_stl/api/client_code.rst')
-rwxr-xr-xscripts/automation/trex_control_plane/doc_stl/api/client_code.rst12
1 files changed, 8 insertions, 4 deletions
diff --git a/scripts/automation/trex_control_plane/doc_stl/api/client_code.rst b/scripts/automation/trex_control_plane/doc_stl/api/client_code.rst
index 08720e8d..953c5c84 100755
--- a/scripts/automation/trex_control_plane/doc_stl/api/client_code.rst
+++ b/scripts/automation/trex_control_plane/doc_stl/api/client_code.rst
@@ -69,7 +69,8 @@ STLClient snippet
.. code-block:: python
- :caption: Example 1: Minimal example of client interacting with the TRex server
+
+ # Example 1: Minimal example of client interacting with the TRex server
c = STLClient()
@@ -102,7 +103,8 @@ STLClient snippet
.. code-block:: python
- :caption: Example 2: Client can execute other functions while the TRex server is generating traffic
+
+ # Example 2: Client can execute other functions while the TRex server is generating traffic
c = STLClient()
@@ -128,7 +130,8 @@ STLClient snippet
.. code-block:: python
- :caption: Example 3: Console-like API interface
+
+ # Example 3: Console-like API interface
def simple ():
@@ -224,7 +227,8 @@ Example 4: Load profile from a file::
.. code-block:: python
- :caption: Example 5: pin cores to ports
+
+ # Example 5: pin cores to ports
c = STLClient()