Merge "NSB test: remove vld_id it is not needed"
[yardstick.git] / samples / vnf_samples / nsut / cgnapt / cgnat.cfg
1 # Copyright (c) 2016-2017 Intel Corporation
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 [PIPELINE0]
16 type = MASTER
17 core = 0
18 [PIPELINE1]
19 type =  ARPICMP
20 core = 1
21
22 pktq_in  = SWQ4
23 pktq_out = TXQ0.0 TXQ1.0 TXQ2.0 TXQ3.0
24 ; ARP route table entries (ip, mask, if_port, nh) hex values with no 0x
25 arp_route_tbl = (c0102814,fffff000,1,c0102814) (c0106414,fffff000,0,c0106414)
26 ;arp_route_tbl = (c0122814,fffff000,3,c0122814) (c0126414,fffff000,1,c0126414)
27 ; Link MAC addresses in order aa:bb:cc:dd:ee:ff separated by space
28 nd_route_tbl = (0064:ff9b:0:0:0:0:9810:6414,120,0,0064:ff9b:0:0:0:0:9810:6414)
29 ;
30 ; Hex values with no leading 0x, MACs in ascending port order starting @P0
31 ;ports_mac_list = 00:05:CA:30:21:F0 00:05:CA:30:21:F1 ;00:05:CA:30:21:F2 00:05:CA:30:21:F3
32 ;
33 ; egress (private interface) info
34 pktq_in_prv =  RXQ0.0
35 ;
36 ;for pub port <-> prv port mapping (prv, pub)
37 prv_to_pub_map = (0,1)
38 ;lib_arp_debug = 0
39 [PIPELINE2]
40 type =  TIMER
41 core = 2
42 n_flows = 1048576
43 [PIPELINE3]
44 type = TXRX
45 core = 3
46 pipeline_txrx_type = RXRX
47 dest_if_offset = 176
48 pktq_in  = RXQ0.0 RXQ1.0 RXQ2.0 RXQ3.0
49 pktq_out = SWQ0 SWQ1 SWQ2 SWQ3 SWQ4
50 ;
51 [PIPELINE4]
52 type = LOADB
53 core = 4
54 pktq_in  = SWQ0 SWQ1 SWQ2 SWQ3
55 pktq_out = SWQ4 SWQ5 SWQ6 SWQ7 SWQ8 SWQ9 SWQ10 SWQ11
56 outport_offset = 136; 8
57 n_vnf_threads = 2
58 ;loadb_debug = 0
59 [PIPELINE5]
60 type = CGNAPT
61 core = 5
62 pktq_in  = SWQ4  SWQ5  SWQ6  SWQ7
63 pktq_out = SWQ12 SWQ13 SWQ14 SWQ15
64 ;
65 ; to make pipeline timer as 1-sec granularity
66 ;
67 phyport_offset = 204
68 n_flows = 1048576
69 key_offset = 192;64
70 key_size = 8
71 hash_offset = 200;72
72 ;cgnapt_debug = 2
73 ;
74 timer_period = 100
75 max_clients_per_ip = 65535
76 max_port_per_client = 10
77 public_ip_port_range = 98103214:(1, 65535)
78 vnf_set = (3,4,5)
79 pkt_type = ipv4
80 cgnapt_meta_offset = 128
81 prv_que_handler = (0)
82
83
84 [PIPELINE7]
85 type = TXRX
86 core = 7
87 pipeline_txrx_type = TXTX
88 dest_if_offset = 176
89 pktq_in  = SWQ12  SWQ13  SWQ14  SWQ15  SWQ16  SWQ17  SWQ18  SWQ19
90 pktq_out = TXQ0.1 TXQ1.1 TXQ2.1 TXQ3.1 TXQ0.2 TXQ1.2 TXQ2.2 TXQ3.2