Merge "test_kubernetes: mock file operations in test_ssh_key"
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / handle_acl-4.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 [lua]
16 acl_table = dofile("acl_rules-2.lua")
17
18 [eal options]
19 -n=4 ; force number of memory channels
20 no-output=no ; disable DPDK debug output
21
22 [port 0]
23 name=if0
24 mac=hardware
25 rx desc=2048
26 tx desc=2048
27 [port 1]
28 name=if1
29 mac=hardware
30 rx desc=2048
31 tx desc=2048
32 [port 2]
33 name=if2
34 mac=hardware
35 rx desc=2048
36 tx desc=2048
37 [port 3]
38 name=if3
39 mac=hardware
40 rx desc=2048
41 tx desc=2048
42
43 [defaults]
44 mempool size=65K
45 memcache size=512
46 qinq tag=0xa888
47
48 [global]
49 start time=5
50 name=ACL handle
51
52 [core 0]
53 task=0
54 mode=master
55
56 [core 1]
57 name=W-up
58 task=0
59 mode=acl
60 max rules=32768
61 rules=acl_table
62 rx port=if0
63 tx cores=1t1
64 drop=no
65
66 task=1
67 mode=l2fwd
68 dst mac=00:00:00:00:00:01
69 rx ring=yes
70 tx port=if0
71 drop=no
72
73 [core 2]
74 name=W-up
75 task=0
76 mode=acl
77 max rules=32768
78 rules=acl_table
79 rx port=if1
80 tx cores=2t1
81 drop=no
82
83 task=1
84 mode=l2fwd
85 dst mac=00:00:00:00:00:02
86 rx ring=yes
87 tx port=if1
88 drop=no
89
90 [core 3]
91 name=W-up
92 task=0
93 mode=acl
94 max rules=32768
95 rules=acl_table
96 rx port=if2
97 tx cores=3t1
98 drop=no
99
100 task=1
101 mode=l2fwd
102 dst mac=00:00:00:00:00:03
103 rx ring=yes
104 tx port=if2
105 drop=no
106
107 [core 4]
108 name=W-up
109 task=0
110 mode=acl
111 max rules=32768
112 rules=acl_table
113 rx port=if3
114 tx cores=4t1
115 drop=no
116
117 task=1
118 mode=l2fwd
119 dst mac=00:00:00:00:00:04
120 rx ring=yes
121 tx port=if3
122 drop=no