Merge "Add static ip mask support"
[yardstick.git] / samples / vnf_samples / nsut / vpe / tc_baremetal_http_ipv4_ixload.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_ixload.yaml
21   nodes:
22     tg__0: trafficgen_1.yardstick
23     vnf__0: vnf.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     vnf__0:
34       nfvi_enable: True
35       vnf_config: {file: './vpe_config/vpe_config_2_ports',
36                    action_bulk_file: './vpe_config/action_bulk_512.txt',
37                    full_tm_profile_file: './vpe_config/full_tm_profile_10G.cfg'}
38   runner:
39     type: Duration
40     duration: 4
41 context:
42   type: Node
43   name: yardstick
44   nfvi_type: baremetal
45   file: /etc/yardstick/nodes/pod.yaml