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
34 lpm4 = dofile("ipv4-2.lua")
35 dscp_table = dofile("dscp2.lua")
36 cpe_table = dofile("cpe_table.lua")
37 acl_table = dofile("rules-2.lua")
38 user_table = dofile("user_table-pe.lua")
44 cpe table map=if0,if1,if0,if1
47 ;$wkd=5s1-6s1,5s1h-6s1h; 4 workers
48 ;$wku=7s1-9s1,7s1h-9s1h; 6 workers
49 $wkd=5s1-6s1,5s1h-6s1h; 6 workers
50 $wku=7s1-9s1,7s1h-9s1h; 10 workers
62 tx cores=(${wkd})t0 proto=ipv4
70 tx cores=(${wkd})t0 proto=ipv4
79 tx cores=(${wku})t0 proto=ipv4
88 tx cores=(${wku})t0 proto=ipv4
96 tx cores from cpe table=3s1,4s1 remap=if0,if1
114 police action=yellow io=green,green
115 police action=drop io=green,yellow
116 police action=drop io=green,red
117 police action=drop io=yellow,yellow
118 police action=drop io=yellow,red
119 police action=drop io=red,red
129 user table=user_table
141 tx ports from routing table=inet0,inet1,inet0,inet1
158 user table=user_table
170 user table=user_table