From 138686f389fe48139ddc4a57ac5de363e71b38e7 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Tue, 13 Sep 2016 17:30:14 +0300 Subject: 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 --- .../trex_control_plane/doc_stl/api/client_code.rst | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'scripts/automation/trex_control_plane/doc_stl/api/client_code.rst') 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() -- cgit