Updated configuration files for cgnapt VNFs
[samplevnf.git] / VNFs / vCGNAPT / config / sample_swlb_2port_2WT.cfg
1 [EAL]
2 w = 05:00.0
3 w = 05:00.1
4
5 [PIPELINE0]
6 type = MASTER
7 core = 0
8
9 [PIPELINE1]
10 type = ARPICMP
11 core = 1
12 pktq_in = SWQ0
13 pktq_out = SWQ11
14
15 pktq_in_prv = RXQ0.0
16 prv_to_pub_map = (0, 1)
17
18 [PIPELINE2]
19 type = TIMER
20 core = 2
21 n_flows = 1048576
22
23 [PIPELINE3]
24 type = TXRX
25 core = 3
26 pipeline_txrx_type = RXRX
27 dest_if_offset = 176
28 pktq_in = RXQ0.0 RXQ1.0
29 pktq_out = SWQ1 SWQ2 SWQ0
30
31 [PIPELINE4]
32 type = LOADB
33 core = 4
34 pktq_in = SWQ1 SWQ2
35 pktq_out = SWQ3 SWQ4 SWQ5 SWQ6
36 outport_offset = 136; 8
37 n_vnf_threads = 2
38 prv_que_handler = (0,)
39
40 [PIPELINE5]
41 type = CGNAPT
42 core = 5
43 pktq_in = SWQ3 SWQ4
44 pktq_out = SWQ7 SWQ8
45 phyport_offset = 204
46 n_flows = 1048576
47 key_offset = 192;64
48 key_size = 8
49 hash_offset = 200;72
50 timer_period = 100
51 max_clients_per_ip = 65535
52 max_port_per_client = 10
53 public_ip_port_range = 98103214:(1, 65535)
54 vnf_set = (3,4,5)
55 pkt_type = ipv4
56 cgnapt_meta_offset = 128
57 prv_que_handler = (0,)
58
59 [PIPELINE6]
60 type = CGNAPT
61 core = 6
62 pktq_in = SWQ5 SWQ6
63 pktq_out = SWQ9 SWQ10
64 phyport_offset = 204
65 n_flows = 1048576
66 key_offset = 192;64
67 key_size = 8
68 hash_offset = 200;72
69 timer_period = 100
70 max_clients_per_ip = 65535
71 max_port_per_client = 10
72 pkt_type = ipv4
73 cgnapt_meta_offset = 128
74 prv_que_handler = (0,)
75
76 [PIPELINE7]
77 type = TXRX
78 core = 7
79 pipeline_txrx_type = TXTX
80 dest_if_offset = 176
81 pktq_in = SWQ7 SWQ8 SWQ9 SWQ10 SWQ11
82 pktq_out = TXQ0.0 TXQ1.0 TXQ0.1 TXQ1.1