Improve IXIA IxNetwork library and traffic profile (1)
[yardstick.git] / samples / vnf_samples / nsut / ping / tc_external_ping_heat_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
23
24   nodes:
25     tg__0: trafficgen_1.baremetal
26     vnf__0: vnf.yardstick
27
28   runner:
29     type: Duration
30     duration: 10
31
32 contexts:
33   - name: yardstick
34     image: yardstick-image
35     flavor: yardstick-flavor
36     user: ubuntu
37
38     placement_groups:
39       pgrp1:
40         policy: "availability"
41
42     servers:
43       vnf:
44         floating_ip: true
45         placement: "pgrp1"
46
47     networks:
48       mgmt:
49         cidr: '10.0.1.0/24'
50         external_network: "yardstick-public"
51       xe0:
52         cidr: '10.0.2.0/24'
53       xe1:
54         cidr: '10.0.3.0/24'
55
56   - name: baremetal
57     type: Node
58     file: baremetal-pod.yaml