Merge "Update NSB PROX devguide"
[yardstick.git] / samples / vnf_samples / nsut / router / tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_256B_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: router-tg-topology.yaml
21   nodes:
22     tg__0: trafficgen_1.yardstick
23     vnf__0: vnf.yardstick
24     cpt__0: sriov.yardstick
25   options:
26     framesize:
27       uplink: {256B: 100}
28       downlink: {256B: 100}
29     flow:
30       src_ip:
31         - '152.16.100.26-152.16.100.105'
32       dst_ip:
33         - '152.16.40.26-152.16.40.105'
34       src_port:
35         - '1234-1238'
36       dst_port:
37         - '2001-2004'
38       count: 128000
39     traffic_type: 4
40     rfc2544:
41       allowed_drop_rate: 0.0001 - 0.1
42     tg__0:
43       queues_per_port: 4
44     vnf__0:
45       nfvi_enable: True
46   runner:
47     type: Iteration
48     iterations: 10
49     interval: 35
50 contexts:
51    - name: yardstick
52      type: Node
53      file: /etc/yardstick/nodes/standalone/host_sriov.yaml
54
55    - name: yardstick
56      type: Node
57      file: /etc/yardstick/nodes/standalone/pod_trex.yaml
58
59    - name: yardstick
60      type: StandaloneSriov
61      file: /etc/yardstick/nodes/standalone/host_sriov.yaml
62      vm_deploy: True
63      flavor:
64        images: "/var/lib/libvirt/images/ubuntu.qcow2"
65        ram: 4096
66        extra_specs:
67          hw:cpu_sockets: 1
68          hw:cpu_cores: 7
69          hw:cpu_threads: 1
70        user: root
71        password: password
72      servers:
73        vnf:
74          network_ports:
75            mgmt:
76              ip: '192.168.18.185'
77              cidr: '192.168.18.185/30'
78            xe0:
79              - uplink_0
80            xe1:
81              - downlink_0
82      networks:
83        uplink_0:
84          phy_port: "0000:07:00.0"
85          vpci: "0000:00:07.0"
86          cidr: '152.16.100.19/24'
87          gateway_ip: '152.16.100.20'
88        downlink_0:
89          phy_port: "0000:07:00.1"
90          vpci: "0000:00:08.0"
91          cidr: '152.16.40.19/24'
92          gateway_ip: '152.16.100.20'