summaryrefslogtreecommitdiffstats
path: root/scripts/stl/profiles/udp_rand_len_9k.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/stl/profiles/udp_rand_len_9k.py')
-rw-r--r--scripts/stl/profiles/udp_rand_len_9k.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/scripts/stl/profiles/udp_rand_len_9k.py b/scripts/stl/profiles/udp_rand_len_9k.py
index 56d84535..b975c954 100644
--- a/scripts/stl/profiles/udp_rand_len_9k.py
+++ b/scripts/stl/profiles/udp_rand_len_9k.py
@@ -1,14 +1,5 @@
-import sys
-import os
-# 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):