Adding ping testcase to demonstrate the isb Generic framework
[yardstick.git] / samples / vnf_samples / nsut / ping / tc_ping_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: ping_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     tg__1: trafficgen_1.yardstick
26     vnf__1: vnf.yardstick
27
28   vnf_options:
29     tg__1:
30       target_ip: pingvnf__1.xe0.local_ip  # TODO: resolve to config vars
31     vnf__1:
32       target_ip: pinggen__1.xe1.local_ip  # TODO: resolve to config vars
33   runner:
34     type: Duration
35     duration: 10
36
37 context:
38   type: Node
39   name: yardstick
40   nfvi_type: baremetal
41   file: /etc/yardstick/nodes/pod.yaml