NSB Topology fix for Prox 4 port test case
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_heat_context_vpe-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_vpe.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     vnf__0:
30       prox_path: /opt/nsb_bin/prox
31       prox_config: "configs/handle_vpe-4.cfg"
32       prox_args:
33         "-t": ""
34       prox_files:
35         "configs/vpe_ipv4.lua" : ""
36         "configs/vpe_dscp.lua" : ""
37         "configs/vpe_cpe_table.lua" : ""
38         "configs/vpe_user_table.lua" : ""
39         "configs/vpe_rules.lua" : ""
40       prox_generate_parameter: True
41
42     tg__0:
43       prox_path: /opt/nsb_bin/prox
44       prox_config: "configs/gen_vpe-4.cfg"
45       prox_args:
46         "-e": ""
47         "-t": ""
48
49   runner:
50     type: Duration
51     # we kill after duration, independent of test duration, so set this high
52     duration: 300
53
54 context:
55   name: yardstick
56   image: yardstick-samplevnfs
57   user: ubuntu
58   flavor:
59     vcpus: 20
60     ram: 20480
61     disk: 6
62     extra_specs:
63       hw:cpu_sockets: 1
64       hw:cpu_cores: 20
65       hw:cpu_threads: 1
66
67   placement_groups:
68     pgrp1:
69       policy: "availability"
70
71   servers:
72     vnf_0:
73       floating_ip: true
74       placement: "pgrp1"
75     tg_0:
76       floating_ip: true
77       placement: "pgrp1"
78
79   networks:
80     mgmt:
81       cidr: '10.0.1.0/24'
82     uplink_0:
83       cidr: '10.0.2.0/24'
84       gateway_ip: 'null'
85       port_security_enabled: False
86       enable_dhcp: 'false'
87     downlink_0:
88       cidr: '10.0.3.0/24'
89       gateway_ip: 'null'
90       port_security_enabled: False
91       enable_dhcp: 'false'
92     uplink_1:
93       cidr: '10.0.4.0/24'
94       gateway_ip: 'null'
95       port_security_enabled: False
96       enable_dhcp: 'false'
97     downlink_1:
98       cidr: '10.0.5.0/24'
99       gateway_ip: 'null'
100       port_security_enabled: False
101       enable_dhcp: 'false'