summaryrefslogtreecommitdiffstats
path: root/scripts/stl/hlt/hlt_imix_default.py
blob: ac8762c134d51f617ede42d854e1b6d7db29d1f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from trex_stl_lib.trex_stl_hltapi import STLHltStream


class STLS1(object):

    def create_streams (self):
        return STLHltStream(length_mode = 'imix', rate_pps = 2)

    def get_streams (self, direction = 0):
        return self.create_streams()

# dynamic load - used for trex console or simulator
def register():
    return STLS1()