Merge "Resolve NameError in test_utils.py"
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / handle_acl-2.cfg
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
17 [lua]
18 acl_table = dofile("acl_rules-2.lua")
19
20 [eal options]
21 -n=4 ; force number of memory channels
22 no-output=no ; disable DPDK debug output
23
24 [port 0]
25 name=if0
26 mac=hardware
27 rx desc=2048
28 tx desc=2048
29 promiscuous=yes
30
31 [port 1]
32 name=if1
33 mac=hardware
34 rx desc=2048
35 tx desc=2048
36 promiscuous=yes
37
38
39 [defaults]
40 mempool size=65K
41 memcache size=512
42 qinq tag="0xa888"
43
44 [global]
45 start time=5
46 name=ACL handle x2
47
48 [core 0]
49 task=0
50 mode=master
51
52 [core 1]
53 name=W-up
54 task=0
55 mode=acl
56 max rules=32768
57 rules=acl_table
58 rx port=if0
59 tx cores=1t1
60 drop=no
61
62 name=l2fwd_if0
63 task=1
64 mode=l2fwd
65 rx ring=yes
66 dst mac=@@tester_p0
67 tx port=if0
68 drop=no
69
70 [core 2]
71 name=W-up
72 task=0
73 mode=acl
74 max rules=32768
75 rules=acl_table
76 rx port=if1
77 tx cores=2t1
78 drop=no
79
80 name=l2fwd_if1
81 task=1
82 mode=l2fwd
83 rx ring=yes
84 dst mac=@@tester_p1
85 tx port=if1
86 drop=no
87