Merge "Add test case file and document of Tardstick TC056(HA_TC013)"
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_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/prox_binsearch.yaml
22   topology: prox-tg-topology-2.yaml
23
24   nodes:
25     tg__1: trafficgen_1.yardstick
26     vnf__1: vnf.yardstick
27
28   vnf_options:
29     vnf__1:
30       prox_path: /root/dppd-PROX-v035/build/prox
31       prox_config: "configs/l3-swap-2.cfg"
32       prox_args:
33         "-t": ""
34
35     tg__1:
36       prox_path: /root/dppd-PROX-v035/build/prox
37       prox_config: "configs/l3-gen-2.cfg"
38       prox_args:
39         "-e": ""
40         "-t": ""
41
42   runner:
43     type: Duration
44     # we kill after duration, independent of test duration, so set this high
45     duration: 600
46
47 context:
48   name: yardstick
49   image: yardstick-image-prox-dpdk1702
50   user: ubuntu
51   flavor:
52 #    name: yardstick-dpdk-flavor
53     vcpus: 5
54     ram: 20480
55     disk: 4
56     extra_specs:
57       hw:cpu_sockets: 1
58       hw:cpu_cores: 5
59       hw:cpu_threads: 1
60 #      hw:mem_page_size: large
61   placement_groups:
62     pgrp1:
63       policy: "availability"
64
65   servers:
66     vnf:
67       floating_ip: true
68       placement: "pgrp1"
69     trafficgen_1:
70       floating_ip: true
71       placement: "pgrp1"
72
73   networks:
74     mgmt:
75       cidr: '10.0.1.0/24'
76       external_network: "yardstick-public"
77     xe0:
78       cidr: '10.0.2.0/24'
79       vld_id: public
80     xe1:
81       cidr: '10.0.3.0/24'
82       vld_id: private