Merge "Doc amendment: env prepare command"
[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 timer_dyn_timeout = 1000000
43 n_flows = 1048576
44 [PIPELINE3]
45 type = TXRX
46 core = 3
47 pipeline_txrx_type = RXRX
48 dest_if_offset = 176
49 pktq_in  = RXQ0.0 RXQ1.0 RXQ2.0 RXQ3.0
50 pktq_out = SWQ0 SWQ1 SWQ2 SWQ3 SWQ4
51 ;
52 [PIPELINE4]
53 type = LOADB
54 core = 4
55 pktq_in  = SWQ0 SWQ1 SWQ2 SWQ3
56 pktq_out = SWQ4 SWQ5 SWQ6 SWQ7 SWQ8 SWQ9 SWQ10 SWQ11
57 outport_offset = 136; 8
58 n_vnf_threads = 2
59 ;loadb_debug = 0
60 [PIPELINE5]
61 type = CGNAPT
62 core = 5
63 pktq_in  = SWQ4  SWQ5  SWQ6  SWQ7
64 pktq_out = SWQ12 SWQ13 SWQ14 SWQ15
65 ;
66 ; to make pipeline timer as 1-sec granularity
67 ;
68 phyport_offset = 204
69 n_flows = 1048576
70 key_offset = 192;64
71 key_size = 8
72 hash_offset = 200;72
73 ;cgnapt_debug = 2
74 ;
75 timer_period = 10000
76 max_clients_per_ip = 65535
77 max_port_per_client = 100
78 public_ip_port_range = 04040000:(1, 65535)
79 vnf_set = (3,4,5)
80 pkt_type = ipv4
81 cgnapt_meta_offset = 128
82 prv_que_handler = (0)
83
84
85 [PIPELINE7]
86 type = TXRX
87 core = 7
88 pipeline_txrx_type = TXTX
89 dest_if_offset = 176
90 pktq_in  = SWQ12  SWQ13  SWQ14  SWQ15  SWQ16  SWQ17  SWQ18  SWQ19
91 pktq_out = TXQ0.1 TXQ1.1 TXQ2.1 TXQ3.1 TXQ0.2 TXQ1.2 TXQ2.2 TXQ3.2