BugFix: Fix to pod filename ext and prox path
[yardstick.git] / samples / vnf_samples / nsut / prox / tc_prox_heat_context_acl-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   #
22   # In case where we know that all the packets generated by the generator
23   # will bw received. Then use prox_binsearch.
24   #
25   # In the case where some or all the packets generated by the generator may
26   # not be received. Please use prox_heat_acl .. (This generates packets at
27   # a specific rate and does not change rate.
28   #
29   traffic_profile: ../../traffic_profiles/prox_heat_acl.yaml
30   topology: prox-tg-topology-4.yaml
31
32   nodes:
33     tg__0: tg_0.yardstick
34     vnf__0: vnf_0.yardstick
35
36   options:
37     vnf__0:
38       prox_path: /opt/nsb_bin/prox
39       prox_config: "configs/handle_acl-4.cfg"
40       prox_args:
41         "-t": ""
42       prox_files: "configs/acl_rules-2.lua"
43
44     tg__0:
45       prox_path: /opt/nsb_bin/prox
46       prox_config: "configs/gen_acl-4.cfg"
47       prox_args:
48         "-e": ""
49         "-t": ""
50
51   runner:
52     type: Duration
53     # we kill after duration, independent of test duration, so set this high
54     duration: 300
55
56 context:
57   name: yardstick
58   image: yardstick-samplevnfs
59   user: ubuntu
60   flavor:
61     vcpus: 10
62     ram: 20480
63     disk: 6
64     extra_specs:
65       hw:cpu_sockets: 1
66       hw:cpu_cores: 10
67       hw:cpu_threads: 1
68
69   placement_groups:
70     pgrp1:
71       policy: "availability"
72
73   servers:
74     vnf_0:
75       floating_ip: true
76       placement: "pgrp1"
77     tg_0:
78       floating_ip: true
79       placement: "pgrp1"
80
81   networks:
82     mgmt:
83       cidr: '10.0.1.0/24'
84     uplink_0:
85       cidr: '10.0.2.0/24'
86       gateway_ip: 'null'
87       port_security_enabled: False
88       enable_dhcp: 'false'
89     downlink_0:
90       cidr: '10.0.3.0/24'
91       gateway_ip: 'null'
92       port_security_enabled: False
93       enable_dhcp: 'false'
94     downlink_1:
95       cidr: '10.0.4.0/24'
96       gateway_ip: 'null'
97       port_security_enabled: False
98       enable_dhcp: 'false'
99     downlink_2:
100       cidr: '10.0.5.0/24'
101       gateway_ip: 'null'
102       port_security_enabled: False
103       enable_dhcp: 'false'
104