125d463aab95a893ba3533b6e1900ebf5ffc96ae
[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   traffic_profile: ../../traffic_profiles/prox_binsearch.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: /root/dppd-PROX-v037/build/prox
31       prox_config: "configs/handle_acl-4.cfg"
32       prox_args:
33         "-t": ""
34       prox_files: "configs/acl_rules-2.lua"
35
36     tg__0:
37       prox_path: /root/dppd-PROX-v037/build/prox
38       prox_config: "configs/gen_acl-4.cfg"
39       prox_args:
40         "-e": ""
41         "-t": ""
42
43   runner:
44     type: Duration
45     # we kill after duration, independent of test duration, so set this high
46     duration: 100
47
48 context:
49   name: yardstick
50   image: yardstick-samplevnfs
51   user: ubuntu
52   flavor:
53     name: yardstick-dpdk-flavor
54     vcpus: 5
55     ram: 20480
56     disk: 4
57     extra_specs:
58       hw:cpu_sockets: 1
59       hw:cpu_cores: 5
60       hw:cpu_threads: 1
61 #      hw:mem_page_size: large
62   placement_groups:
63     pgrp1:
64       policy: "availability"
65
66   servers:
67     vnf_0:
68       floating_ip: true
69       placement: "pgrp1"
70     tg_0:
71       floating_ip: true
72       placement: "pgrp1"
73
74   networks:
75     mgmt:
76       cidr: '10.0.1.0/24'
77     uplink_0:
78       cidr: '10.0.2.0/24'
79       allowed_address_pairs:
80         - ip_address:
81             '0.0.0.0/0'
82     downlink_0:
83       cidr: '10.0.3.0/24'
84       allowed_address_pairs:
85         - ip_address:
86             '0.0.0.0/0'
87     uplink_1:
88       cidr: '10.0.4.0/24'
89       allowed_address_pairs:
90         - ip_address:
91             '0.0.0.0/0'
92     downlink_1:
93       cidr: '10.0.5.0/24'
94       allowed_address_pairs:
95         - ip_address:
96             '0.0.0.0/0'
97