summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/examples/stl_profile.py
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-03-30 13:58:11 +0300
committerHanoh Haim <hhaim@cisco.com>2016-03-30 13:58:11 +0300
commit422c7c52632ebb6fbc5d5ff638b6ef0e1bc56f6b (patch)
tree5794318455a66a03828f98a5d6e825f47df3084e /scripts/automation/trex_control_plane/stl/examples/stl_profile.py
parent2ec326cbe088f3ee5634336e326ae8c3561c7461 (diff)
parentb91c216db1aa10ca7cc81b8c74b04ab79df251fe (diff)
Merge GA to Python API
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/examples/stl_profile.py')
-rw-r--r--scripts/automation/trex_control_plane/stl/examples/stl_profile.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/stl/examples/stl_profile.py b/scripts/automation/trex_control_plane/stl/examples/stl_profile.py
index 3ae5f855..16d5238e 100644
--- a/scripts/automation/trex_control_plane/stl/examples/stl_profile.py
+++ b/scripts/automation/trex_control_plane/stl/examples/stl_profile.py
@@ -18,8 +18,7 @@ def simple ():
# prepare our ports
c.reset(ports = my_ports)
-
- profile_file = "../../../../stl/udp_1pkt_simple.py"
+ profile_file = os.path.join(stl_path.STL_PROFILES_PATH, 'hlt', 'udp_1pkt_simple.py')
try:
profile = STLProfile.load(profile_file)