blob: 607077b5bf1eb558cbb63d3f04f830c6e7f48f17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
from trex_stl_lib.trex_stl_hltapi import STLHltStream
class STLS1(object):
def get_streams (self, direction = 0, **kwargs):
return STLHltStream(length_mode = 'imix', rate_pps = 2,
l3_protocol = 'ipv4', l4_protocol = 'udp')
# dynamic load - used for trex console or simulator
def register():
return STLS1()
|