Adding cmdline parameters to run setup script in intreactive and non-interative
[samplevnf.git] / VNFs / vFW / config / VFW_SWLB_IPV4_SinglePortPair_1Thread.cfg
1 ; Copyright (c) 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 [PIPELINE0]
16 type = MASTER
17 core = 0
18 [PIPELINE1]
19 type =  ARPICMP
20 core = 1
21
22 pktq_in  = SWQ2
23 pktq_out = TXQ0.0 TXQ1.0
24 ; ARP route table entries (ip, mask, if_port, nh) hex values with no 0x
25 arp_route_tbl = (ac102814,ff000000,1,ac102814) (ca106414,ff000000,0,ca106414)
26 ; Link MAC addresses in order aa:bb:cc:dd:ee:ff separated by space
27 ;
28 ; Hex values with no leading 0x, MACs in ascending port order starting @P0
29 ports_mac_list = 00:cb:10:64:14:00 00:ad:10:28:14:00
30 ;
31 ; egress (private interface) info
32 pktq_in_prv =  RXQ0.0
33 ;
34 ;for pub port <-> prv port mapping (prv, pub)
35 prv_to_pub_map = (0,1)
36 prv_que_handler = (0)
37
38 [PIPELINE2]
39 type = TXRX
40 core = 2
41 pktq_in  = RXQ0.0 RXQ1.0
42 pktq_out = SWQ0 SWQ1 SWQ2
43 pipeline_txrx_type = RXRX
44 ;
45 [PIPELINE3]
46 type = LOADB
47 core = 3
48 pktq_in  = SWQ0 SWQ1
49 pktq_out = SWQ3 SWQ4
50 outport_offset = 136
51 n_vnf_threads = 1
52 prv_que_handler = (0)
53 n_lb_tuples = 5
54 ;loadb_debug = 0
55
56 [PIPELINE4]
57 type = VFW
58 core = 4
59 pktq_in  = SWQ3 SWQ4
60 pktq_out = SWQ5 SWQ6
61
62 n_rules = 4096
63
64 ;n_flows gets round up to power of 2
65 n_flows = 4096000
66 traffic_type = 4
67 ; tcp_time_wait controls timeout for closed connection, normally 120
68 tcp_time_wait = 10
69 tcp_be_liberal = 0
70 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
71 ;udp_unreplied = 20
72 ;udp_replied = 20
73 ;udp_replied = 20
74
75 [PIPELINE5]
76 type = TXRX
77 core = 5
78 pktq_in  = SWQ5 SWQ6
79 pktq_out = TXQ0.1 TXQ1.1
80 pipeline_txrx_type = TXTX