Merge "Adding scale out templates for ovs_dpdk/sriov using 2 node setup"
[yardstick.git] / samples / vnf_samples / nsut / vpe / 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_vpe.yaml
20   topology: vpe_vnf_topology.yaml
21   nodes:
22     tg__0: tg__0.yardstick
23     vnf__0: vnf__0.yardstick
24   options:
25     framesize:
26       private: {64B: 100}
27       public: {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       nfvi_enable: True
37       vnf_config: vpe_config
38   runner:
39     type: Iteration
40     iterations: 10
41     interval: 35
42 contexts:
43    - name: yardstick
44      type: Node
45      file: /etc/yardstick/nodes/standalone/pod_trex.yaml
46    - type: StandaloneOvsDpdk
47      name: yardstick
48      file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
49      vm_deploy: True
50      ovs_properties:
51        version:
52          ovs: 2.7.0
53          dpdk: 16.11.1
54        pmd_threads: 2
55        ram:
56          socket_0: 2048
57          socket_1: 2048
58        queues: 4
59        vpath: "/usr/local"
60
61      flavor:
62        images: "/var/lib/libvirt/images/ubuntu.qcow2"
63        ram: 16364
64        extra_specs:
65          hw:cpu_sockets: 1
66          hw:cpu_cores: 7
67          hw:cpu_threads: 2
68        user: ""
69        password: ""
70      servers:
71        vnf__0:
72          network_ports:
73            mgmt:
74              cidr: '1.1.1.7/24'
75            xe0:
76              - uplink_0
77            xe1:
78              - downlink_0
79      networks:
80        uplink_0:
81          port_num: 0
82          phy_port: "0000:05:00.0"
83          vpci: "0000:00:07.0"
84          cidr: '152.16.100.10/24'
85          gateway_ip: '152.16.100.20'
86        downlink_0:
87          port_num: 1
88          phy_port: "0000:05:00.1"
89          vpci: "0000:00:08.0"
90          cidr: '152.16.40.10/24'
91          gateway_ip: '152.16.100.20'