2 ;; Copyright (c) 2010-2017 Intel Corporation
4 ;; Licensed under the Apache License, Version 2.0 (the "License");
5 ;; you may not use this file except in compliance with the License.
6 ;; You may obtain a copy of the License at
8 ;; http://www.apache.org/licenses/LICENSE-2.0
10 ;; Unless required by applicable law or agreed to in writing, software
11 ;; distributed under the License is distributed on an "AS IS" BASIS,
12 ;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ;; See the License for the specific language governing permissions and
14 ;; limitations under the License.
18 -n=4 ; force number of memory channels
19 no-output=no ; disable DPDK debug output
46 lpm4 = dofile("ipv4-2.lua")
47 dscp_table = dofile("dscp2.lua")
48 cpe_table = dofile("cpe_table.lua")
49 acl_table = dofile("rules-2.lua")
50 user_table = dofile("user_table-pe.lua")
56 cpe table map=if0,if1,if2,if3
59 $wkd=5s1-6s1,5s1h-6s1h; 4 workers
60 $wku=7s1-9s1,7s1h-9s1h; 6 workers
61 ;$wkd=5s1-6s1,5s1h-6s1h; 6 workers
62 ;$wku=7s1-9s1,7s1h-9s1h; 10 workers
74 tx cores=(${wkd})t0 proto=ipv4
80 tx cores=(${wkd})t0 proto=ipv4
88 tx cores=(${wkd})t0 proto=ipv4
94 tx cores=(${wkd})t0 proto=ipv4
103 tx cores=(${wku})t0 proto=ipv4
110 tx cores=(${wku})t0 proto=ipv4
119 tx cores=(${wku})t0 proto=ipv4
126 tx cores=(${wku})t0 proto=ipv4
134 tx cores from cpe table=3s1,4s1,3s1h,4s1h remap=if0,if1,if2,if3
135 user table=user_table
152 police action=yellow io=green,green
153 police action=drop io=green,yellow
154 police action=drop io=green,red
155 police action=drop io=yellow,yellow
156 police action=drop io=yellow,red
157 police action=drop io=red,red
167 user table=user_table
179 tx ports from routing table=inet0,inet1,inet2,inet3
196 user table=user_table
208 user table=user_table
220 user table=user_table
232 user table=user_table