Adding cmdline parameters to run setup script in intreactive and non-interative
[samplevnf.git] / VNFs / vFW / config / VFW_SWLB_SinglePortPair_4Thread.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
19 [PIPELINE1]
20 type =  ARPICMP
21 core = 1
22
23 pktq_in  = SWQ2
24 pktq_out = TXQ0.0 TXQ1.0
25
26 ; IPv4 ARP route table entries (ip, mask, if_port, nh) hex values with no 0x
27 ; arp_route_tbl = (ac102814,ff000000,1,ac102814) (ca106414,ff000000,0,ca106414)
28 ; Link MAC addresses in order aa:bb:cc:dd:ee:ff separated by space
29
30 ; IPv6 ARP route table entries (ip, mask, if_port, nh) hex values with no 0x
31 ;nd_route_tbl =  (fec0::6a05:caff:fe30:21b0,64,0,fec0::6a05:caff:fe30:21b0)
32 ;nd_route_tbl =  (2012::6a05:caff:fe30:2081,64,1,2012::6a05:caff:fe30:2081)
33 ; Link MAC addresses in order aa:bb:cc:dd:ee:ff separated by space
34
35 ; Hex values with no leading 0x, MACs in ascending port order starting @P0
36 ;ports_mac_list = 00:cb:10:64:14:00 00:ad:10:28:14:00
37
38 ; egress (private interface) info
39 pktq_in_prv =  RXQ0.0
40
41 ;for pub port <-> prv port mapping (prv, pub)
42 prv_to_pub_map = (0,1)
43 prv_que_handler = (0)
44
45 [PIPELINE2]
46 type = TXRX
47 core = 2
48 pktq_in  = RXQ0.0 RXQ1.0
49 pktq_out = SWQ0 SWQ1 SWQ2
50 pipeline_txrx_type = RXRX
51
52 [PIPELINE3]
53 type = LOADB
54 core = 3
55 pktq_in  = SWQ0 SWQ1
56 pktq_out = SWQ3 SWQ4 SWQ5 SWQ6 SWQ7 SWQ8 SWQ9 SWQ10
57 outport_offset = 136
58 n_vnf_threads = 4
59 prv_que_handler = (0)
60 n_lb_tuples = 5
61 ;loadb_debug = 0
62
63 [PIPELINE4]
64 type = VFW
65 core = 4
66 pktq_in  = SWQ3 SWQ4
67 pktq_out = SWQ11 SWQ12;TXQ0.0 TXQ1.0
68
69 n_rules = 4096
70 ;n_flows gets round up to power of 2
71 n_flows = 1048576
72 traffic_type = 4 ; IPv4 Traffic
73 ;traffic_type = 6 ; IPv6 Traffic
74 ; tcp_time_wait controls timeout for closed connection, normally 120
75 tcp_time_wait = 10
76 tcp_be_liberal = 0
77 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
78 ;udp_unreplied = 20
79 ;udp_replied = 20
80
81 [PIPELINE5]
82 type = VFW
83 core = 5
84 pktq_in  = SWQ5 SWQ6
85 pktq_out = SWQ13 SWQ14;TXQ0.0 TXQ1.0
86
87 n_rules = 4096
88 ;n_flows gets round up to power of 2
89 n_flows = 1048576
90 traffic_type = 4 ; IPv4 Traffic
91 ;traffic_type = 6 ; IPv6 Traffic
92 ; tcp_time_wait controls timeout for closed connection, normally 120
93 tcp_time_wait = 10
94 tcp_be_liberal = 0
95 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
96 ;udp_unreplied = 20
97 ;udp_replied = 20
98
99 [PIPELINE6]
100 type = VFW
101 core = 6
102 pktq_in  = SWQ7 SWQ8
103 pktq_out = SWQ15 SWQ16
104
105 n_rules = 4096
106 ;n_flows gets round up to power of 2
107 n_flows = 1048576
108 traffic_type = 4 ; IPv4 Traffic
109 ;traffic_type = 6 ; IPv6 Traffic
110 ; tcp_time_wait controls timeout for closed connection, normally 120
111 tcp_time_wait = 10
112 tcp_be_liberal = 0
113 ;udp_unreplied and udp_replied controls udp "connection" timeouts, normally 30/180
114 ;udp_unreplied = 20
115 ;udp_replied = 20
116
117 [PIPELINE7]
118 type = VFW
119 core = 7
120 pktq_in  = SWQ9 SWQ10
121 pktq_out = SWQ17 SWQ18
122
123 n_rules = 4096
124 ;n_flows gets round up to power of 2
125 n_flows = 1048576
126 traffic_type = 4 ; IPv4 Traffic
127 ;traffic_type = 6 ; IPv6 Traffic
128 ; tcp_time_wait controls timeout for closed connection, normally 120
129 tcp_time_wait = 10
130 tcp_be_liberal = 0
131
132 [PIPELINE8]
133 type = TXRX
134 core = 8
135 pktq_in  = SWQ11 SWQ12 SWQ13 SWQ14 SWQ15 SWQ16 SWQ17 SWQ18
136 pktq_out = TXQ0.1 TXQ1.1 TXQ0.2 TXQ1.2 TXQ0.3 TXQ1.3 TXQ0.4 TXQ1.4
137 pipeline_txrx_type = TXTX