diff options
Diffstat (limited to 'scripts/stl/hlt/hlt_ipv6_default.py')
-rwxr-xr-x | scripts/stl/hlt/hlt_ipv6_default.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/stl/hlt/hlt_ipv6_default.py b/scripts/stl/hlt/hlt_ipv6_default.py new file mode 100755 index 00000000..2f6264d9 --- /dev/null +++ b/scripts/stl/hlt/hlt_ipv6_default.py @@ -0,0 +1,22 @@ +from trex_stl_lib.trex_stl_hltapi import STLHltStream + + +class STLS1(object): + ''' + Eth/IPv6/UDP stream without VM, default values + ''' + + def get_streams (self, direction = 0, **kwargs): + return [STLHltStream(l3_protocol = 'ipv6', + l3_length = 150, + l4_protocol = 'udp', + direction = direction, + ), + ] + +# dynamic load - used for trex console or simulator +def register(): + return STLS1() + + + |