From 720998394c5d613529ce616b333c0de5da1b8de4 Mon Sep 17 00:00:00 2001 From: Deepak S Date: Thu, 15 Jun 2017 23:23:29 -0700 Subject: Adding Sample vCGNAPT config to run with multi-port pair JIRA: SAMPLEVNF-40 This patch adds sample vCGNAPT config for 1, 6, 10 port pair Change-Id: I003e98b26e794d111af562232e8688f255a7d61a Signed-off-by: Deepak S --- VNFs/vCGNAPT/config/cgnat_200G_hwlb_20port.cfg | 454 +++++++++++++++++++++++++ 1 file changed, 454 insertions(+) create mode 100644 VNFs/vCGNAPT/config/cgnat_200G_hwlb_20port.cfg (limited to 'VNFs/vCGNAPT/config/cgnat_200G_hwlb_20port.cfg') diff --git a/VNFs/vCGNAPT/config/cgnat_200G_hwlb_20port.cfg b/VNFs/vCGNAPT/config/cgnat_200G_hwlb_20port.cfg new file mode 100644 index 00000000..908543ca --- /dev/null +++ b/VNFs/vCGNAPT/config/cgnat_200G_hwlb_20port.cfg @@ -0,0 +1,454 @@ +[EAL] +n = 4 +file_prefix = cgnat_1 +m = 8192 + +[PIPELINE0] +type = MASTER +core = 0 + +[PIPELINE1] +type = ARPICMP +core = 0 +pktq_in = SWQ0 SWQ1 SWQ2 SWQ3 SWQ4 SWQ5 SWQ6 SWQ7 SWQ8 SWQ9 SWQ10 SWQ11 SWQ12 SWQ13 SWQ14 SWQ15 SWQ16 SWQ17 SWQ18 SWQ19 +pktq_out = TXQ0.2 TXQ1.2 TXQ2.2 TXQ3.2 TXQ4.2 TXQ5.2 TXQ6.2 TXQ7.2 TXQ8.2 TXQ9.2 TXQ10.2 TXQ11.2 TXQ12.2 TXQ13.2 TXQ14.2 TXQ15.2 TXQ16.2 TXQ17.2 TXQ18.2 TXQ19.2 +arp_route_tbl = (c0106414,FFFF0000,0,c0106414) +arp_route_tbl = (ac102814,FFFF0000,1,ac102814) +arp_route_tbl = (c1106414,FFFF0000,2,c1106414) +arp_route_tbl = (ad102814,FFFF0000,3,ad102814) +arp_route_tbl = (c2106414,FFFF0000,4,c2106414) +arp_route_tbl = (ae102814,FFFF0000,5,ae102814) +arp_route_tbl = (c3106414,FFFF0000,6,c3106414) +arp_route_tbl = (af102814,FFFF0000,7,af102814) +arp_route_tbl = (c4106414,FFFF0000,8,c4106414) +arp_route_tbl = (b0102814,FFFF0000,9,b0102814) +arp_route_tbl = (c5106414,FFFF0000,a,c5106414) +arp_route_tbl = (b1102814,FFFF0000,b,b1102814) +arp_route_tbl = (c6106414,FFFF0000,c,c6106414) +arp_route_tbl = (b2102814,FFFF0000,d,b2102814) +arp_route_tbl = (c7106414,FFFF0000,e,c7106414) +arp_route_tbl = (b3102814,FFFF0000,f,b3102814) +arp_route_tbl = (c8106414,FFFF0000,10,c8106414) +arp_route_tbl = (b4102814,FFFF0000,11,b4102814) +arp_route_tbl = (c9106414,FFFF0000,12,c9106414) +arp_route_tbl = (b5102814,FFFF0000,13,b5102814) +pktq_in_prv = RXQ0.0 RXQ2.0 RXQ4.0 RXQ6.0 RXQ8.0 RXQ10.0 RXQ12.0 RXQ14.0 RXQ16.0 RXQ18.0 +prv_to_pub_map = (0, 1)(2, 3)(4, 5)(6, 7)(8, 9) (10, 11)(12, 13)(14, 15)(16, 17)(18, 19) +ports_mac_list = CC:CC:CC:00:00:00 CC:CC:CC:00:00:01 +ports_mac_list = CC:CC:CC:00:01:00 CC:CC:CC:00:01:01 +ports_mac_list = CC:CC:CC:00:02:00 CC:CC:CC:00:02:01 +ports_mac_list = CC:CC:CC:00:03:00 CC:CC:CC:00:03:01 +ports_mac_list = CC:CC:CC:00:04:00 CC:CC:CC:00:04:01 +ports_mac_list = CC:CC:CC:00:05:00 CC:CC:CC:00:05:01 +ports_mac_list = CC:CC:CC:00:06:00 CC:CC:CC:00:06:01 +ports_mac_list = CC:CC:CC:00:07:00 CC:CC:CC:00:07:01 +ports_mac_list = CC:CC:CC:00:08:00 CC:CC:CC:00:08:01 +ports_mac_list = CC:CC:CC:00:09:00 CC:CC:CC:00:09:01 + + +[PIPELINE2] +type = TIMER +core = 0 +timer_dyn_timeout = 1000000 +n_flows = 2097152 + +[PIPELINE3] +type = CGNAPT +core = 1 +pktq_in = RXQ0.0 RXQ1.0 +pktq_out = TXQ0.0 TXQ1.0 SWQ0 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +public_ip_port_range = 04040000:(1, 65535) +public_ip_port_range = 04040001:(1, 65535) +public_ip_port_range = 04040002:(1, 10) +vnf_set = (3,4,5) +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE4] +type = CGNAPT +core = 1h +pktq_in = RXQ0.1 RXQ1.1 +pktq_out = TXQ0.1 TXQ1.1 SWQ1 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE5] +type = CGNAPT +core = 2 +pktq_in = RXQ2.0 RXQ3.0 +pktq_out = TXQ2.0 TXQ3.0 SWQ2 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +public_ip_port_range = 05050000:(1, 65535) +public_ip_port_range = 05050001:(1, 65535) +public_ip_port_range = 05050002:(1, 10) +vnf_set = (3,4,5) +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE6] +type = CGNAPT +core = 2h +pktq_in = RXQ2.1 RXQ3.1 +pktq_out = TXQ2.1 TXQ3.1 SWQ3 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE7] +type = CGNAPT +core = 3 +pktq_in = RXQ4.0 RXQ5.0 +pktq_out = TXQ4.0 TXQ5.0 SWQ4 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +public_ip_port_range = 06060000:(1, 65535) +public_ip_port_range = 06060001:(1, 65535) +public_ip_port_range = 06060002:(1, 10) +vnf_set = (3,4,5) +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE8] +type = CGNAPT +core = 3h +pktq_in = RXQ4.1 RXQ5.1 +pktq_out = TXQ4.1 TXQ5.1 SWQ5 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE9] +type = CGNAPT +core = 4 +pktq_in = RXQ6.0 RXQ7.0 +pktq_out = TXQ6.0 TXQ7.0 SWQ6 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +public_ip_port_range = 07070000:(1, 65535) +public_ip_port_range = 07070001:(1, 65535) +public_ip_port_range = 07070002:(1, 10) +vnf_set = (3,4,5) +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE10] +type = CGNAPT +core = 4h +pktq_in = RXQ6.1 RXQ7.1 +pktq_out = TXQ6.1 TXQ7.1 SWQ7 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE11] +type = CGNAPT +core = 5 +pktq_in = RXQ8.0 RXQ9.0 +pktq_out = TXQ8.0 TXQ9.0 SWQ8 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +public_ip_port_range = 08080000:(1, 65535) +public_ip_port_range = 08080001:(1, 65535) +public_ip_port_range = 08080002:(1, 10) +vnf_set = (3,4,5) +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE12] +type = CGNAPT +core = 5h +pktq_in = RXQ8.1 RXQ9.1 +pktq_out = TXQ8.1 TXQ9.1 SWQ9 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE13] +type = CGNAPT +core = 6 +pktq_in = RXQ10.0 RXQ11.0 +pktq_out = TXQ10.0 TXQ11.0 SWQ10 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +public_ip_port_range = 09090000:(1, 65535) +public_ip_port_range = 09090001:(1, 65535) +public_ip_port_range = 09090002:(1, 10) +vnf_set = (3,4,5) +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE14] +type = CGNAPT +core = 6h +pktq_in = RXQ10.1 RXQ11.1 +pktq_out = TXQ10.1 TXQ11.1 SWQ11 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE15] +type = CGNAPT +core = 7 +pktq_in = RXQ12.0 RXQ13.0 +pktq_out = TXQ12.0 TXQ13.0 SWQ12 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +public_ip_port_range = 0a0a0000:(1, 65535) +public_ip_port_range = 0a0a0001:(1, 65535) +public_ip_port_range = 0a0a0002:(1, 10) +vnf_set = (3,4,5) +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE16] +type = CGNAPT +core = 7h +pktq_in = RXQ12.1 RXQ13.1 +pktq_out = TXQ12.1 TXQ13.1 SWQ13 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE17] +type = CGNAPT +core = 8 +pktq_in = RXQ14.0 RXQ15.0 +pktq_out = TXQ14.0 TXQ15.0 SWQ14 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +public_ip_port_range = 0b0b0000:(1, 65535) +public_ip_port_range = 0b0b0001:(1, 65535) +public_ip_port_range = 0b0b0002:(1, 10) +vnf_set = (3,4,5) +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE18] +type = CGNAPT +core = 8h +pktq_in = RXQ14.1 RXQ15.1 +pktq_out = TXQ14.1 TXQ15.1 SWQ15 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE19] +type = CGNAPT +core = 9 +pktq_in = RXQ16.0 RXQ17.0 +pktq_out = TXQ16.0 TXQ17.0 SWQ16 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +public_ip_port_range = 0c0c0000:(1, 65535) +public_ip_port_range = 0c0c0001:(1, 65535) +public_ip_port_range = 0c0c0002:(1, 10) +vnf_set = (3,4,5) +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE20] +type = CGNAPT +core = 9h +pktq_in = RXQ16.1 RXQ17.1 +pktq_out = TXQ16.1 TXQ17.1 SWQ17 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE21] +type = CGNAPT +core = 10 +pktq_in = RXQ18.0 RXQ19.0 +pktq_out = TXQ18.0 TXQ19.0 SWQ18 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +public_ip_port_range = 0d0d0000:(1, 65535) +public_ip_port_range = 0d0d0001:(1, 65535) +public_ip_port_range = 0d0d0002:(1, 10) +vnf_set = (3,4,5) +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + +[PIPELINE22] +type = CGNAPT +core = 10h +pktq_in = RXQ18.1 RXQ19.1 +pktq_out = TXQ18.1 TXQ19.1 SWQ19 +phyport_offset = 204 +n_flows = 2097152 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 1000000; +max_clients_per_ip = 65535 +max_port_per_client = 1000000 +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + -- cgit 1.2.3-korg