From ae6e172471fef8bef60d497eedaf199966ffb799 Mon Sep 17 00:00:00 2001 From: fmenguy Date: Tue, 11 Feb 2020 11:07:52 +0100 Subject: NFVBENCH-160 xtesting integration Change-Id: Id600a1277059e84bc2d46fa20294fb22729f9c1f Signed-off-by: fmenguy --- xtesting/ansible/host_vars/127.0.0.1 | 6 ++++++ xtesting/ansible/site.yml | 20 ++++++++++++++++++++ xtesting/testcases.yaml | 20 ++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 xtesting/ansible/host_vars/127.0.0.1 create mode 100644 xtesting/ansible/site.yml create mode 100644 xtesting/testcases.yaml (limited to 'xtesting') diff --git a/xtesting/ansible/host_vars/127.0.0.1 b/xtesting/ansible/host_vars/127.0.0.1 new file mode 100644 index 0000000..9e3f1b9 --- /dev/null +++ b/xtesting/ansible/host_vars/127.0.0.1 @@ -0,0 +1,6 @@ +docker_args: + env: {} + volumes: + - /lib/modules/$(uname -r):/lib/modules/$(uname -r) + - /usr/src/kernels:/usr/src/kernels -v /dev:/dev + - /home/opnfv/nfvbench:/tmp/nfvbench \ No newline at end of file diff --git a/xtesting/ansible/site.yml b/xtesting/ansible/site.yml new file mode 100644 index 0000000..4643a32 --- /dev/null +++ b/xtesting/ansible/site.yml @@ -0,0 +1,20 @@ +--- +- hosts: + - 127.0.0.1 + roles: + - role: collivier.xtesting + project: nfvbench + gerrit_project: nfvbench + builds: + steps: + - name: build opnfv/nfvbench + containers: + - name: nfvbench + ref_arg: BRANCH + path: docker + suites: + - container: nfvbench + tests: + - 10kpps-pvp-run + properties: + execution-type: SEQUENTIALLY diff --git a/xtesting/testcases.yaml b/xtesting/testcases.yaml new file mode 100644 index 0000000..cbb5c45 --- /dev/null +++ b/xtesting/testcases.yaml @@ -0,0 +1,20 @@ +--- +tiers: + - + name: nfvbench + order: 1 + description: 'Data Plane Performance Testing' + testcases: + - + case_name: 10kpps-pvp-run + project_name: nfvbench + criteria: 100 + blocking: true + clean_flag: false + description: '' + run: + name: 'bashfeature' + args: + cmd: + - nfvbench -c /tmp/nfvbench/nfvbench.cfg --rate 10kpps + -- cgit 1.2.3-korg