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_120G_hwlb_12port.cfg | 281 +++++++++++++++++++++++++ 1 file changed, 281 insertions(+) create mode 100644 VNFs/vCGNAPT/config/cgnat_120G_hwlb_12port.cfg (limited to 'VNFs/vCGNAPT/config/cgnat_120G_hwlb_12port.cfg') diff --git a/VNFs/vCGNAPT/config/cgnat_120G_hwlb_12port.cfg b/VNFs/vCGNAPT/config/cgnat_120G_hwlb_12port.cfg new file mode 100644 index 00000000..9b7fab51 --- /dev/null +++ b/VNFs/vCGNAPT/config/cgnat_120G_hwlb_12port.cfg @@ -0,0 +1,281 @@ +[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 +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 +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) +pktq_in_prv = RXQ0.0 RXQ2.0 RXQ4.0 RXQ6.0 RXQ8.0 RXQ10.0 +prv_to_pub_map = (0, 1)(2, 3)(4, 5)(6, 7)(8, 9)(10, 11) +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 + +[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 = 100000 +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 = 100000 +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 = 100000 +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 = 100000 +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 = 100000 +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 = 100000 +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 = 100000 +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 = 100000 +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 = 100000 +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 = 100000 +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 = 100000 +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 = 100000 +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) +hw_checksum_reqd = 1 + -- cgit 1.2.3-korg