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