Adding Sample vCGNAPT config to run with multi-port pair
[samplevnf.git] / VNFs / vCGNAPT / config / arp_txrx-2LB-4P-3T.cfg
1 [PIPELINE0]
2 type = MASTER
3 core = 0
4
5 [PIPELINE1]
6 type = ARPICMP
7 core = 1
8 pktq_in = SWQ0 SWQ1
9 pktq_out = TXQ0.0 TXQ1.0 TXQ2.0 TXQ3.0
10 arp_route_tbl = (98106414,FFFFFF00,0,98106414)
11 arp_route_tbl = (98102814,FFFFFF00,1,98102814)
12 arp_route_tbl = (C0106414,FFFFFF00,2,C0106414)
13 arp_route_tbl = (C0102814,FFFFFF00,3,C0102814)
14
15
16 nd_route_tbl = (0064:ff9b:0:0:0:0:9810:6414,120,0,0064:ff9b:0:0:0:0:9810:6414)
17 nd_route_tbl = (0064:ff9b:0:0:0:0:9810:2814,120,1,0064:ff9b:0:0:0:0:9810:2814)
18 nd_route_tbl = (0064:ff9b:0:0:0:0:c010:6414,120,2,0064:ff9b:0:0:0:0:c010:6414)
19 nd_route_tbl = (0064:ff9b:0:0:0:0:c010:2814,120,3,0064:ff9b:0:0:0:0:c010:2814)
20
21
22 pktq_in_prv = RXQ0.0 RXQ2.0
23 prv_to_pub_map = (0, 1)(2, 3)
24 ports_mac_list = 00:00:00:00:00:06 00:00:00:00:00:07 00:00:00:00:00:08 00:00:00:00:00:09
25
26 [PIPELINE2]
27 type = TIMER
28 core = 2
29 n_flows = 1048576
30
31 [PIPELINE3]
32 type = TXRX
33 core = 3
34 pipeline_txrx_type = RXRX
35 dest_if_offset = 176
36 pktq_in = RXQ0.0 RXQ1.0
37 pktq_out = SWQ2 SWQ3 SWQ0
38
39 [PIPELINE4]
40 type = LOADB
41 core = 4
42 pktq_in = SWQ2 SWQ3
43 pktq_out = SWQ4 SWQ5 SWQ6 SWQ7 SWQ8 SWQ9
44 outport_offset = 136; 8
45 n_vnf_threads = 3
46 prv_que_handler = (0,)
47
48 [PIPELINE5]
49 type = CGNAPT
50 core = 5
51 pktq_in = SWQ4 SWQ5
52 pktq_out = SWQ10 SWQ11
53 phyport_offset = 204
54 n_flows = 1048576
55 key_offset = 192;64
56 key_size = 8
57 hash_offset = 200;72
58 timer_period = 100
59 max_clients_per_ip = 65535
60 max_port_per_client = 10
61 public_ip_port_range = 98103214:(1, 65535)
62 vnf_set = (3,4,5)
63 pkt_type = ipv4
64 cgnapt_meta_offset = 128
65 prv_que_handler = (0,)
66
67 [PIPELINE6]
68 type = CGNAPT
69 core = 6
70 pktq_in = SWQ6 SWQ7
71 pktq_out = SWQ12 SWQ13
72 phyport_offset = 204
73 n_flows = 1048576
74 key_offset = 192;64
75 key_size = 8
76 hash_offset = 200;72
77 timer_period = 100
78 max_clients_per_ip = 65535
79 max_port_per_client = 10
80 pkt_type = ipv4
81 cgnapt_meta_offset = 128
82 prv_que_handler = (0,)
83
84 [PIPELINE7]
85 type = CGNAPT
86 core = 7
87 pktq_in = SWQ8 SWQ9
88 pktq_out = SWQ14 SWQ15
89 phyport_offset = 204
90 n_flows = 1048576
91 key_offset = 192;64
92 key_size = 8
93 hash_offset = 200;72
94 timer_period = 100
95 max_clients_per_ip = 65535
96 max_port_per_client = 10
97 pkt_type = ipv4
98 cgnapt_meta_offset = 128
99 prv_que_handler = (0,)
100
101 [PIPELINE8]
102 type = TXRX
103 core = 8
104 pipeline_txrx_type = TXTX
105 dest_if_offset = 176
106 pktq_in = SWQ10 SWQ11 SWQ12 SWQ13 SWQ14 SWQ15
107 pktq_out = TXQ0.1 TXQ1.1 TXQ0.2 TXQ1.2 TXQ0.3 TXQ1.3
108
109 [PIPELINE9]
110 type = TXRX
111 core = 9
112 pipeline_txrx_type = RXRX
113 dest_if_offset = 176
114 pktq_in = RXQ2.0 RXQ3.0
115 pktq_out = SWQ16 SWQ17 SWQ1
116
117 [PIPELINE10]
118 type = LOADB
119 core = 10
120 pktq_in = SWQ16 SWQ17
121 pktq_out = SWQ18 SWQ19 SWQ20 SWQ21 SWQ22 SWQ23
122 outport_offset = 136; 8
123 n_vnf_threads = 3
124 prv_que_handler = (0,)
125
126 [PIPELINE11]
127 type = CGNAPT
128 core = 11
129 pktq_in = SWQ18 SWQ19
130 pktq_out = SWQ24 SWQ25
131 phyport_offset = 204
132 n_flows = 1048576
133 key_offset = 192;64
134 key_size = 8
135 hash_offset = 200;72
136 timer_period = 100
137 max_clients_per_ip = 65535
138 max_port_per_client = 10
139 public_ip_port_range = 98103215:(1, 65535)
140 vnf_set = (3,4,5)
141 pkt_type = ipv4
142 cgnapt_meta_offset = 128
143 prv_que_handler = (0,)
144
145 [PIPELINE12]
146 type = CGNAPT
147 core = 12
148 pktq_in = SWQ20 SWQ21
149 pktq_out = SWQ26 SWQ27
150 phyport_offset = 204
151 n_flows = 1048576
152 key_offset = 192;64
153 key_size = 8
154 hash_offset = 200;72
155 timer_period = 100
156 max_clients_per_ip = 65535
157 max_port_per_client = 10
158 pkt_type = ipv4
159 cgnapt_meta_offset = 128
160 prv_que_handler = (0,)
161
162 [PIPELINE13]
163 type = CGNAPT
164 core = 13
165 pktq_in = SWQ22 SWQ23
166 pktq_out = SWQ28 SWQ29
167 phyport_offset = 204
168 n_flows = 1048576
169 key_offset = 192;64
170 key_size = 8
171 hash_offset = 200;72
172 timer_period = 100
173 max_clients_per_ip = 65535
174 max_port_per_client = 10
175 pkt_type = ipv4
176 cgnapt_meta_offset = 128
177 prv_que_handler = (0,)
178
179 [PIPELINE14]
180 type = TXRX
181 core = 14
182 pipeline_txrx_type = TXTX
183 dest_if_offset = 176
184 pktq_in = SWQ24 SWQ25 SWQ26 SWQ27 SWQ28 SWQ29
185 pktq_out = TXQ2.1 TXQ3.1 TXQ2.2 TXQ3.2 TXQ2.3 TXQ3.3