Merge "NSB Prox LW_AFTR Test" into stable/euphrates
[yardstick.git] / samples / vnf_samples / nsut / ping / tc_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.yardstick
26     vnf__0: vnf.yardstick
27
28   runner:
29     type: Duration
30     duration: 10
31
32 context:
33   name: yardstick
34   image: yardstick-samplevnfs
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     trafficgen_1:
47       floating_ip: true
48       placement: "pgrp1"
49
50   networks:
51     mgmt:
52       cidr: '10.0.1.0/24'
53       external_network: "yardstick-public"
54     xe0:
55       cidr: '10.0.2.0/24'
56     xe1:
57       cidr: '10.0.3.0/24'
58
59