Merge "NSB Prox LW_AFTR Test" into stable/euphrates
[yardstick.git] / samples / vnf_samples / nsut / udp_replay / tc_ovs_rfc2544_ipv4_1rule_64B_trex.yaml
1 # Copyright (c) 2016-2017 Intel Corporation
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 ---
16 schema: yardstick:task:0.1
17 scenarios:
18 - type: NSPerf
19   traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
20   topology: udp_replay-vnf-topology.yaml
21   nodes:
22     tg__0: tg__0.yardstick
23     vnf__0: vnf__0.yardstick
24   options:
25     framesize:
26       uplink: {64B: 100}
27       downlink: {64B: 100}
28     flow:
29       src_ip: [{'tg__0': 'xe0'}]
30       dst_ip: [{'tg__0': 'xe1'}]
31       count: 1
32     traffic_type: 4
33     rfc2544:
34       allowed_drop_rate: 0.0001 - 0.0001
35     vnf__0:
36        hw_csum: false
37   runner:
38     type: Iteration
39     iterations: 10
40     interval: 35
41 contexts:
42    - name: yardstick
43      type: Node
44      file: /etc/yardstick/nodes/standalone/pod_trex.yaml
45    - type: StandaloneOvsDpdk
46      name: yardstick
47      file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
48      vm_deploy: True
49      ovs_properties:
50        version:
51          ovs: 2.7.0
52          dpdk: 16.11.1
53        pmd_threads: 2
54        ram:
55          socket_0: 2048
56          socket_1: 2048
57        queues: 4
58        vpath: "/usr/local"
59
60      flavor:
61        images: "/var/lib/libvirt/images/ubuntu.qcow2"
62        ram: 4096
63        extra_specs:
64          hw:cpu_sockets: 1
65          hw:cpu_cores: 7
66          hw:cpu_threads: 2
67        user: ""
68        password: ""
69      servers:
70        vnf__0:
71          network_ports:
72            mgmt:
73              cidr: '1.1.1.7/24'
74            xe0:
75              - uplink_0
76            xe1:
77              - downlink_0
78      networks:
79        uplink_0:
80          port_num: 0
81          phy_port: "0000:05:00.0"
82          vpci: "0000:00:07.0"
83          cidr: '152.16.100.10/24'
84          gateway_ip: '152.16.100.20'
85        downlink_0:
86          port_num: 1
87          phy_port: "0000:05:00.1"
88          vpci: "0000:00:08.0"
89          cidr: '152.16.40.10/24'
90          gateway_ip: '152.16.100.20'