diff options
author | Hanoh Haim <hhaim@cisco.com> | 2016-05-18 20:47:14 +0300 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2016-05-18 20:47:14 +0300 |
commit | 0968caf032d5f7b4d9912f502e133920e96267b5 (patch) | |
tree | 8e9213967f940993662fdca0f3119108b33310da /scripts/automation | |
parent | 3eb2d1338ff801bf307996926394e8d043ced98e (diff) |
fix python doc string error
Diffstat (limited to 'scripts/automation')
-rwxr-xr-x | scripts/automation/trex_control_plane/doc_stl/api/profile_code.rst | 6 | ||||
-rwxr-xr-x | scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py | 8 |
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) """ |