From 0968caf032d5f7b4d9912f502e133920e96267b5 Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Wed, 18 May 2016 20:47:14 +0300 Subject: fix python doc string error --- .../automation/trex_control_plane/doc_stl/api/profile_code.rst | 6 ++++++ .../trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'scripts/automation') 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) """ -- cgit 1.2.3-korg