Merge "Fix vCGNAPT name in ansible constants"
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_heat_context_bng_qos-4.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_bng.yaml
22   topology: prox-tg-topology-4.yaml
23
24   nodes:
25     tg__0: tg_0.yardstick
26     vnf__0: vnf_0.yardstick
27
28   options:
29
30     interface_speed_gbps: 10
31
32     vnf__0:
33       prox_path: /opt/nsb_bin/prox
34       prox_config: "configs/handle_bng_qos-4.cfg"
35       prox_args:
36         "-t": ""
37       prox_files:
38         "configs/gre_table.lua" : ""
39         "configs/ipv4.lua" : ""
40         "configs/dscp.lua" : ""
41       prox_generate_parameter: True
42
43     tg__0:
44       prox_path: /opt/nsb_bin/prox
45       prox_config: "configs/gen_bng_qos-4.cfg"
46       prox_args:
47         "-e": ""
48         "-t": ""
49
50   runner:
51     type: Duration
52     # we kill after duration, independent of test duration, so set this high
53     duration: 1600
54
55 context:
56   name: yardstick
57   image: yardstick-samplevnfs
58   user: ubuntu
59   flavor:
60     vcpus: 20
61     ram: 20480
62     disk: 6
63     extra_specs:
64       hw:cpu_sockets: 1
65       hw:cpu_cores: 20
66       hw:cpu_threads: 1
67
68   placement_groups:
69     pgrp1:
70       policy: "availability"
71
72   servers:
73     vnf_0:
74       floating_ip: true
75       placement: "pgrp1"
76     tg_0:
77       floating_ip: true
78       placement: "pgrp1"
79
80   networks:
81     mgmt:
82       cidr: '10.0.1.0/24'
83     uplink_0:
84       cidr: '10.0.2.0/24'
85       gateway_ip: 'null'
86       port_security_enabled: False
87       enable_dhcp: 'false'
88     downlink_0:
89       cidr: '10.0.3.0/24'
90       gateway_ip: 'null'
91       port_security_enabled: False
92       enable_dhcp: 'false'
93     uplink_1:
94       cidr: '10.0.4.0/24'
95       gateway_ip: 'null'
96       port_security_enabled: False
97       enable_dhcp: 'false'
98     downlink_1:
99       cidr: '10.0.5.0/24'
100       gateway_ip: 'null'
101       port_security_enabled: False
102       enable_dhcp: 'false'