diff options
author | Deepak S <deepak.s@linux.intel.com> | 2017-04-17 23:03:43 -0700 |
---|---|---|
committer | Deepak S <deepak.s@linux.intel.com> | 2017-04-19 03:13:12 -0700 |
commit | f0bfb2b0c8467154990b49beafb991b7515e37e3 (patch) | |
tree | f713c75bca8048cae1d73ddfc2ce874bac3cbb4f /VNFs/vCGNAPT/config/arp_txrx-2LB-4P-3T.cfg | |
parent | 421bd97023e853a9e87d16e100b23bf3c60a9188 (diff) |
vCGNAPT VNF initial check-in
JIRA: SAMPLEVNF-5
The vCGNAPT implementation contains following features:
• Static and dynamic Network address translation.
• Static and dynamic Network address and port translation
• ARP (request, response, gratuitous)
• ICMP (terminal echo, echo response, pass-through)
• ICMPv6 and ND
• UDP, TCP and ICMP protocol pass-through
• Multithread support and Multiple physical port support
• Limiting max ports per client
• Limiting max clients per public IP address
• Live Session tracking to NAT flow
• NAT64 – connectivity between IPv6 access network to IPv4 data
• PCP - Port Control protocol
• SIP functionality
• FTP functionality
Change-Id: I5ebb44ae60e32dd6da5e793efd91a6831a4d30a7
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Diffstat (limited to 'VNFs/vCGNAPT/config/arp_txrx-2LB-4P-3T.cfg')
-rw-r--r-- | VNFs/vCGNAPT/config/arp_txrx-2LB-4P-3T.cfg | 185 |
1 files changed, 185 insertions, 0 deletions
diff --git a/VNFs/vCGNAPT/config/arp_txrx-2LB-4P-3T.cfg b/VNFs/vCGNAPT/config/arp_txrx-2LB-4P-3T.cfg new file mode 100644 index 00000000..19384731 --- /dev/null +++ b/VNFs/vCGNAPT/config/arp_txrx-2LB-4P-3T.cfg @@ -0,0 +1,185 @@ +[PIPELINE0] +type = MASTER +core = 0 + +[PIPELINE1] +type = ARPICMP +core = 1 +pktq_in = SWQ0 SWQ1 +pktq_out = TXQ0.0 TXQ1.0 TXQ2.0 TXQ3.0 +arp_route_tbl = (98106414,FFFFFF00,0,98106414) +arp_route_tbl = (98102814,FFFFFF00,1,98102814) +arp_route_tbl = (C0106414,FFFFFF00,2,C0106414) +arp_route_tbl = (C0102814,FFFFFF00,3,C0102814) + + +nd_route_tbl = (0064:ff9b:0:0:0:0:9810:6414,120,0,0064:ff9b:0:0:0:0:9810:6414) +nd_route_tbl = (0064:ff9b:0:0:0:0:9810:2814,120,1,0064:ff9b:0:0:0:0:9810:2814) +nd_route_tbl = (0064:ff9b:0:0:0:0:c010:6414,120,2,0064:ff9b:0:0:0:0:c010:6414) +nd_route_tbl = (0064:ff9b:0:0:0:0:c010:2814,120,3,0064:ff9b:0:0:0:0:c010:2814) + + +pktq_in_prv = RXQ0.0 RXQ2.0 +prv_to_pub_map = (0, 1)(2, 3) +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 + +[PIPELINE2] +type = TIMER +core = 2 +n_flows = 1048576 + +[PIPELINE3] +type = TXRX +core = 3 +pipeline_txrx_type = RXRX +dest_if_offset = 176 +pktq_in = RXQ0.0 RXQ1.0 +pktq_out = SWQ2 SWQ3 SWQ0 + +[PIPELINE4] +type = LOADB +core = 4 +pktq_in = SWQ2 SWQ3 +pktq_out = SWQ4 SWQ5 SWQ6 SWQ7 SWQ8 SWQ9 +outport_offset = 136; 8 +n_vnf_threads = 3 +prv_que_handler = (0,) + +[PIPELINE5] +type = CGNAPT +core = 5 +pktq_in = SWQ4 SWQ5 +pktq_out = SWQ10 SWQ11 +phyport_offset = 204 +n_flows = 1048576 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 100 +max_clients_per_ip = 65535 +max_port_per_client = 10 +public_ip_port_range = 98103214:(1, 65535) +vnf_set = (3,4,5) +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) + +[PIPELINE6] +type = CGNAPT +core = 6 +pktq_in = SWQ6 SWQ7 +pktq_out = SWQ12 SWQ13 +phyport_offset = 204 +n_flows = 1048576 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 100 +max_clients_per_ip = 65535 +max_port_per_client = 10 +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) + +[PIPELINE7] +type = CGNAPT +core = 7 +pktq_in = SWQ8 SWQ9 +pktq_out = SWQ14 SWQ15 +phyport_offset = 204 +n_flows = 1048576 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 100 +max_clients_per_ip = 65535 +max_port_per_client = 10 +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) + +[PIPELINE8] +type = TXRX +core = 8 +pipeline_txrx_type = TXTX +dest_if_offset = 176 +pktq_in = SWQ10 SWQ11 SWQ12 SWQ13 SWQ14 SWQ15 +pktq_out = TXQ0.1 TXQ1.1 TXQ0.2 TXQ1.2 TXQ0.3 TXQ1.3 + +[PIPELINE9] +type = TXRX +core = 9 +pipeline_txrx_type = RXRX +dest_if_offset = 176 +pktq_in = RXQ2.0 RXQ3.0 +pktq_out = SWQ16 SWQ17 SWQ1 + +[PIPELINE10] +type = LOADB +core = 10 +pktq_in = SWQ16 SWQ17 +pktq_out = SWQ18 SWQ19 SWQ20 SWQ21 SWQ22 SWQ23 +outport_offset = 136; 8 +n_vnf_threads = 3 +prv_que_handler = (0,) + +[PIPELINE11] +type = CGNAPT +core = 11 +pktq_in = SWQ18 SWQ19 +pktq_out = SWQ24 SWQ25 +phyport_offset = 204 +n_flows = 1048576 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 100 +max_clients_per_ip = 65535 +max_port_per_client = 10 +public_ip_port_range = 98103215:(1, 65535) +vnf_set = (3,4,5) +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) + +[PIPELINE12] +type = CGNAPT +core = 12 +pktq_in = SWQ20 SWQ21 +pktq_out = SWQ26 SWQ27 +phyport_offset = 204 +n_flows = 1048576 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 100 +max_clients_per_ip = 65535 +max_port_per_client = 10 +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) + +[PIPELINE13] +type = CGNAPT +core = 13 +pktq_in = SWQ22 SWQ23 +pktq_out = SWQ28 SWQ29 +phyport_offset = 204 +n_flows = 1048576 +key_offset = 192;64 +key_size = 8 +hash_offset = 200;72 +timer_period = 100 +max_clients_per_ip = 65535 +max_port_per_client = 10 +pkt_type = ipv4 +cgnapt_meta_offset = 128 +prv_que_handler = (0,) + +[PIPELINE14] +type = TXRX +core = 14 +pipeline_txrx_type = TXTX +dest_if_offset = 176 +pktq_in = SWQ24 SWQ25 SWQ26 SWQ27 SWQ28 SWQ29 +pktq_out = TXQ2.1 TXQ3.1 TXQ2.2 TXQ3.2 TXQ2.3 TXQ3.3 |