summaryrefslogtreecommitdiffstats
path: root/xtesting/testcases.yaml
blob: bb4a5214c8e06beefc71e2ebbdf3daca5d8b6f1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
tiers:
    -
        name: nfvbench
        order: 1
        description: 'Data Plane Performance Testing'
        testcases:
            -
                case_name: characterization
                project_name: nfvbench
                criteria: 100
                blocking: true
                clean_flag: false
                description: ''
                run:
                    name: 'nfvbench_behaveframework'
                    args:
                        suites:
                            - /opt/nfvbench/behave_tests/features/characterization-full.feature
                        tags:
                            - characterization
                        console:
                            - true
            -
                case_name: non-regression
                project_name: nfvbench
                criteria: 100
                blocking: true
                clean_flag: false
                description: ''
                run:
                    name: 'nfvbench_behaveframework'
                    args:
                        suites:
                            - /opt/nfvbench/behave_tests/features/non-regression.feature
                        tags:
                            - non-regression
                        console:
                            - true

    -
        name: nfvbench-rapid-characterization
        order: 2
        description: 'Data Plane Performance Testing'
        testcases:
            -
                case_name: rapid-characterization
                project_name: nfvbench
                criteria: 100
                blocking: true
                clean_flag: false
                description: ''
                run:
                    name: 'nfvbench_behaveframework'
                    args:
                        suites:
                            - /opt/nfvbench/behave_tests/features/characterization-samples.feature
                        tags:
                            - characterization
                        console:
                            - true
    -
        name: nfvbench-demo
        order: 3
        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 /etc/nfvbench/nfvbench.cfg --rate 10kpps
                        console:
                            - true
y # separating each with a space # ip_blocks = 1.1.1.1/24 # [GATEWAY-1] # Name of the routing_instance for which the gateway is being configured # routing_instance = default-domain:admin:public1:public1 # Gateway interface name # interface = vgw1 # Virtual network ip blocks for which gateway service is required. Each IP # block is represented as ip/prefix. Multiple IP blocks are represented by # separating each with a space # ip_blocks = 2.2.1.0/24 2.2.2.0/24 # Routes to be exported in routing_instance. Each route is represented as # ip/prefix. Multiple routes are represented by separating each with a space # routes = 10.10.10.1/24 11.11.11.1/24 [SERVICE-INSTANCE] # Path to the script which handles the netns commands netns_command = /usr/bin/opencontrail-vrouter-netns # Number of workers that will be used to start netns commands #netns_workers = 1 # Timeout for each netns command, when the timeout is reached, the netns # command is killed. #netns_timeout = 30