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
39 lpm4 = dofile("ipv4.lua")
40 user_table = dofile("user_table-65K-bng.lua")
48 ;*****************************************************************************************
49 ;##### Load Balancing receiving from CPE and from Internet ####
55 tx cores=(${wk})t0 proto=ipv4
56 tx cores=(${wk})t0p proto=arp
64 tx cores=(${wk})t1 proto=ipv4
71 tx cores=(${wk})t0 proto=ipv4
72 tx cores=(${wk})t0p proto=arp
80 tx cores=(${wk})t1 proto=ipv4
82 ;*****************************************************************************************
83 ;#### Workers receiving from LB
84 ;#### Task 0: QinQ decapsulation + gre encapsulation + routing
86 ;#### Task 2: GRE depcapsulation + QinQ encapsulation + use learned mac
92 tx ports from routing table=inet0,inet1
94 local ipv4=21.22.23.24
101 tx ports from cpe table=cpe0,cpe1
102 user table=user_table