From 44fad7adb1bda65f2735284c5ccf83ab9b81e539 Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Wed, 10 Feb 2016 11:16:42 +0200 Subject: fix the new profiles --- .../regression/unit_tests/functional_tests/stl_basic_tests.py | 2 +- scripts/automation/trex_control_plane/stl/trex_stl_lib/api.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts/automation') diff --git a/scripts/automation/regression/unit_tests/functional_tests/stl_basic_tests.py b/scripts/automation/regression/unit_tests/functional_tests/stl_basic_tests.py index 7d17d0e2..28f5b041 100644 --- a/scripts/automation/regression/unit_tests/functional_tests/stl_basic_tests.py +++ b/scripts/automation/regression/unit_tests/functional_tests/stl_basic_tests.py @@ -119,7 +119,7 @@ class CStlBasic_Test(functional_general_test.CGeneralFunctional_Test): def run_py_profile_path (self, profile, options,silent = False, do_no_remove=False,compare =True): output_cap = "a.pcap" - input_file = os.path.join('stl/profiles/', profile) + input_file = os.path.join('stl/', profile) golden_file = os.path.join('exp',os.path.basename(profile).split('.')[0]+'.pcap'); try: rc = self.run_sim(input_file, output_cap, options, silent) diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/api.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/api.py index a9e99178..9ce9f7f1 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/api.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/api.py @@ -15,10 +15,11 @@ STLPktBuilder = CScapyTRexPktBuilder # VM STLVmFlowVar = CTRexVmDescFlowVar -STLVmWriteFlowVar = CTRexVmDescWrFlowVar +STLVmWrFlowVar = CTRexVmDescWrFlowVar STLVmFixIpv4 = CTRexVmDescFixIpv4 STLVmTrimPktSize = CTRexVmDescTrimPktSize STLVmTupleGen = CTRexVmDescTupleGen +STLVmTrimPktSize = CTRexVmDescTrimPktSize # simulator -- cgit 1.2.3-korg