Adding Sample vCGNAPT config to run with multi-port pair
[samplevnf.git] / VNFs / vCGNAPT / config / cgnat_20G_hwlb_2port.cfg
1 [EAL]
2 n = 4
3 file_prefix = cgnat_1
4 m = 4096
5
6 [PIPELINE0]
7 type = MASTER
8 core = 0
9
10 [PIPELINE1]
11 type = ARPICMP
12 core = 0
13 pktq_in = SWQ0 SWQ1
14 pktq_out = TXQ0.0 TXQ1.0
15 arp_route_tbl = (c0106414,FFFF0000,0,c0106414)
16 arp_route_tbl = (ac102814,FFFF0000,1,ac102814)
17 #nd_route_tbl = (0064:ff9b:0:0:0:0:c010:6414,120,0,0064:ff9b:0:0:0:0:c010:6414)
18 #nd_route_tbl = (0064:ff9b:0:0:0:0:ac10:2814,120,1,0064:ff9b:0:0:0:0:ac10:2814)
19 pktq_in_prv = RXQ0.0
20 prv_to_pub_map = (0, 1)
21 ports_mac_list = CC:CC:CC:00:00:00 CC:CC:CC:00:00:01
22
23 [PIPELINE2]
24 type = TIMER
25 core = 0
26 timer_dyn_timeout = 1000000
27 n_flows = 1048576
28
29 [PIPELINE3]
30 type = CGNAPT
31 core = 1
32 pktq_in = RXQ0.0 RXQ1.0
33 pktq_out = TXQ0.1 TXQ1.1 SWQ0
34 phyport_offset = 204
35 n_flows = 1048576
36 key_offset = 192;64
37 key_size = 8
38 hash_offset = 200;72
39 timer_period = 1000000;
40 max_clients_per_ip = 65535
41 max_port_per_client = 100
42 public_ip_port_range = 04040000:(1, 65535)
43 public_ip_port_range = 04040001:(1, 65535)
44 public_ip_port_range = 04040002:(1, 65535)
45 vnf_set = (3,4,5)
46 pkt_type = ipv4
47 cgnapt_meta_offset = 128
48 prv_que_handler = (0,)
49 hw_checksum_reqd = 1
50
51 [PIPELINE4]
52 type = CGNAPT
53 core = 1h
54 pktq_in = RXQ0.1 RXQ1.1
55 pktq_out = TXQ0.2 TXQ1.2 SWQ1
56 phyport_offset = 204
57 n_flows = 1048576
58 key_offset = 192;64
59 key_size = 8
60 hash_offset = 200;72
61 timer_period = 1000000;
62 max_clients_per_ip = 65535
63 max_port_per_client = 100
64 pkt_type = ipv4
65 cgnapt_meta_offset = 128
66 prv_que_handler = (0,)
67 hw_checksum_reqd = 1
68