diff options
Diffstat (limited to 'scripts/stl/profiles/udp_1pkt_tuple_gen.py')
-rw-r--r-- | scripts/stl/profiles/udp_1pkt_tuple_gen.py | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/scripts/stl/profiles/udp_1pkt_tuple_gen.py b/scripts/stl/profiles/udp_1pkt_tuple_gen.py index f556cc31..3fb15597 100644 --- a/scripts/stl/profiles/udp_1pkt_tuple_gen.py +++ b/scripts/stl/profiles/udp_1pkt_tuple_gen.py @@ -1,16 +1,5 @@ -import sys -import os -#./stl-sim -f stl/profiles/udp_1pkt_tuple_gen.py -l 10 -o a.pcap - -# Should be removed -# TBD fix this -CURRENT_PATH = os.path.dirname(os.path.realpath(__file__)) -API_PATH = os.path.join(CURRENT_PATH, "../../api/stl") -sys.path.insert(0, API_PATH) - -from scapy.all import * -from trex_stl_api import * +from trex_control_plane.stl.api import * class STLS1(object): |