try:
profile = STLProfile.load(input_file)
except STLError as e:
- print format_text("\nError while loading profile '{0}'\n".format(input_file), 'bold')
- print e.brief() + "\n"
- return
+ s = format_text("\nError while loading profile '{0}'\n".format(input_file), 'bold')
+ s += "\n" + e.brief()
+ raise STLError(s)
stream_list += profile.get_streams()
stream:
self_start: True
packet:
- pcap: stl/udp_64B_no_crc.pcap # pcap should not include CRC
+ pcap: udp_64B_no_crc.pcap # pcap should not include CRC
mode:
type: continuous
pps: 100
stream:
self_start: True
packet:
- binary: stl/udp_64B_no_crc.pcap # pcap should not include CRC
+ pcap: udp_64B_no_crc.pcap # pcap should not include CRC
mode:
type: continuous
pps: 100
- rx_stats: []
- vm: []
- name: udp_594B
stream:
self_start: True
packet:
- binary: stl/udp_594B_no_crc.pcap # pcap should not include CRC
+ pcap: udp_594B_no_crc.pcap # pcap should not include CRC
mode:
type: continuous
pps: 100
- rx_stats: []
- vm: []
\ No newline at end of file