Merge "Log each test case status in a task"
[yardstick.git] / samples / vnf_samples / nsut / 2trex / tc_trex_baremetal_context.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
18 scenarios:
19 -
20   type: NSPerf
21   traffic_profile: ../../traffic_profiles/fixed.yaml
22   topology: trex_tg_topology.yaml  # TODO: look in relative path where the tc.yaml is found
23
24   nodes:  # This section is copied from pod.xml or resolved via Heat
25     trexgen__1: trafficgen_1.yardstick
26     trexvnf__0: vnf.yardstick
27
28   vnf_options:
29     trexgen__1:
30       target_ip: trexvnf__0.xe0.local_ip  # TODO: resolve to config vars
31     trexvnf__0:
32       target_ip: trexgen__1.xe1.local_ip  # TODO: resolve to config vars
33   runner:
34     type: Duration
35     duration: 10
36
37 context:
38   type: Node # Heat, Node(baremetal), Node-ovs, Node-sriov
39   name: yardstick
40   #file: pod.yaml
41   # image: yardstick-baremetal  # only important for heat context
42   nfvi_type: baremetal  # options: baremetal, sriov, ovs-virtio TODO: what about mixed scenarios?
43   file: /etc/yardstick/nodes/pod.yaml