diff options
Diffstat (limited to 'scripts/automation')
-rw-r--r-- | scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 24acd28b..b56d8708 100644 --- 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 @@ -301,6 +301,8 @@ class STLStream(object): return self.get_rate_from_field(self.fields['mode']['rate']) def to_pkt_dump (self): + if self.name: + print "Stream Name: ",self.name scapy_b = self.scapy_pkt_builder; if scapy_b and isinstance(scapy_b,CScapyTRexPktBuilder): scapy_b.to_pkt_dump() @@ -610,7 +612,9 @@ class STLProfile(object): def dump_as_pkt (self): cnt=0; for stream in self.streams: + print "=======================" print "Stream %d" % cnt + print "=======================" cnt = cnt +1 stream.to_pkt_dump() |