aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vpp/perf/lb/regenerate_testcases.py
diff options
context:
space:
mode:
authorhaiyanX1.zhang <haiyanx1.zhang@intel.com>2019-09-17 03:00:26 +0000
committerVratko Polak <vrpolak@cisco.com>2019-10-09 14:21:53 +0000
commit18479deef4bc6fba143492f538cd4139c38e44ab (patch)
tree1a588a47389ec23671cb8aa4be54a74615363cea /tests/vpp/perf/lb/regenerate_testcases.py
parent233fc0f58253694e8fc5417146758821b1c34e05 (diff)
Add vpp loadbalancer maglev mode test suite
Change-Id: I61555ba566efef0a2151db9a30bf7f5d9ccad1df Signed-off-by: haiyanx1.zhang <haiyanx1.zhang@intel.com>
Diffstat (limited to 'tests/vpp/perf/lb/regenerate_testcases.py')
-rwxr-xr-xtests/vpp/perf/lb/regenerate_testcases.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/vpp/perf/lb/regenerate_testcases.py b/tests/vpp/perf/lb/regenerate_testcases.py
new file mode 100755
index 0000000000..645d3ada65
--- /dev/null
+++ b/tests/vpp/perf/lb/regenerate_testcases.py
@@ -0,0 +1,18 @@
+#!/usr/bin/env python
+
+# Copyright (c) 2019 Inter and/or its affiliates.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+from resources.libraries.python.autogen.Regenerator import Regenerator
+
+Regenerator().regenerate_glob("*.robot")