summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/trex_stl_lib/api.py
blob: 9ce9f7f1aafb69f54ab943734320740bea0cdd0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# client and exceptions
from trex_stl_exceptions import *
from trex_stl_client import STLClient, LoggerApi

# streams
from trex_stl_streams import *

# packet builder
from trex_stl_packet_builder_scapy import *
from scapy.all import *

# packet builder
STLPktBuilder          = CScapyTRexPktBuilder

# VM
STLVmFlowVar           = CTRexVmDescFlowVar
STLVmWrFlowVar         = CTRexVmDescWrFlowVar
STLVmFixIpv4           = CTRexVmDescFixIpv4
STLVmTrimPktSize       = CTRexVmDescTrimPktSize
STLVmTupleGen          = CTRexVmDescTupleGen
STLVmTrimPktSize       = CTRexVmDescTrimPktSize


# simulator
from trex_stl_sim import STLSim

# std lib (various lib functions)
from trex_stl_std import *