summaryrefslogtreecommitdiffstats
path: root/scripts/stl/udp_1pkt_tuple_gen_split.py
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-03-04 03:46:39 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-03-04 03:46:39 +0200
commita842b4cfd27f03db83c0bb8ed10816465cc510ad (patch)
tree34596b6959c36a2e16f9dc29131f72a20ba03b34 /scripts/stl/udp_1pkt_tuple_gen_split.py
parentf749b4358cfedd1ef7e0b58f69f63ee4d00554ea (diff)
ignore python3 cache, generated code files
add option to export Profile (and thus stream too) to Python code add for each profile in functional tests generating it to Python code and comparing to same pcap result add loading Prifile via add_streams() fix IMIX rates in HLTAPI used with line % and bps Scapy packet builder: fixes to load of pcap/yaml - use MAC from pcap (with flag), remove FCS (with flag), support for VM with offsets by name
Diffstat (limited to 'scripts/stl/udp_1pkt_tuple_gen_split.py')
-rw-r--r--scripts/stl/udp_1pkt_tuple_gen_split.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/stl/udp_1pkt_tuple_gen_split.py b/scripts/stl/udp_1pkt_tuple_gen_split.py
index 5a6feb4d..3ab87b80 100644
--- a/scripts/stl/udp_1pkt_tuple_gen_split.py
+++ b/scripts/stl/udp_1pkt_tuple_gen_split.py
@@ -29,10 +29,10 @@ class STLS1(object):
pkt = STLPktBuilder(pkt = base_pkt/pad,
vm = vm)
-
- return STLStream(packet = pkt,
+ stream = STLStream(packet = pkt,
mode = STLTXCont())
-
+ print stream.to_code()
+ return stream
def get_streams (self, direction = 0):