summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-05-18 20:47:14 +0300
committerHanoh Haim <hhaim@cisco.com>2016-05-18 20:47:14 +0300
commit0968caf032d5f7b4d9912f502e133920e96267b5 (patch)
tree8e9213967f940993662fdca0f3119108b33310da /scripts/automation/trex_control_plane
parent3eb2d1338ff801bf307996926394e8d043ced98e (diff)
fix python doc string error
Diffstat (limited to 'scripts/automation/trex_control_plane')
-rwxr-xr-xscripts/automation/trex_control_plane/doc_stl/api/profile_code.rst6
-rwxr-xr-xscripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py8
2 files changed, 10 insertions, 4 deletions
diff --git a/scripts/automation/trex_control_plane/doc_stl/api/profile_code.rst b/scripts/automation/trex_control_plane/doc_stl/api/profile_code.rst
index 9afa9df2..335105f1 100755
--- a/scripts/automation/trex_control_plane/doc_stl/api/profile_code.rst
+++ b/scripts/automation/trex_control_plane/doc_stl/api/profile_code.rst
@@ -76,6 +76,12 @@ STLStream modes
:members:
:member-order: bysource
+.. autoclass:: trex_stl_lib.trex_stl_streams.STLFlowLatencyStats
+ :members:
+ :member-order: bysource
+
+
+
STLProfile snippet
------------------
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 6264c17f..e9451940 100755
--- 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
@@ -229,9 +229,9 @@ class STLFlowStats(STLFlowStatsInterface):
""" Define per stream basic stats
.. code-block:: python
- :caption: STLFlowStats Example
+ :caption: STLFlowStats Example
- flow_stats = STLFlowStats(pg_id = 7)
+ flow_stats = STLFlowStats(pg_id = 7)
"""
@@ -244,9 +244,9 @@ class STLFlowLatencyStats(STLFlowStatsInterface):
""" Define per stream basic stats + latency, jitter, packet reorder/loss
.. code-block:: python
- :caption: STLFlowLatencyStats Example
+ :caption: STLFlowLatencyStats Example
- flow_stats = STLFlowLatencyStats(pg_id = 7)
+ flow_stats = STLFlowLatencyStats(pg_id = 7)
"""