Merge "Add "securityContext" parameter in Kubernetes context"
[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
25 ; egress (private interface) info
26 pktq_in_prv =  RXQ0.0
27 ;
28 ;for pub port <-> prv port mapping (prv, pub)
29 prv_to_pub_map = (0,1)
30 ;lib_arp_debug = 0
31 [PIPELINE2]
32 type =  TIMER
33 core = 2
34 timer_dyn_timeout = 1000000
35 n_flows = 1048576
36 [PIPELINE3]
37 type = TXRX
38 core = 3
39 pipeline_txrx_type = RXRX
40 dest_if_offset = 176
41 pktq_in  = RXQ0.0 RXQ1.0 RXQ2.0 RXQ3.0
42 pktq_out = SWQ0 SWQ1 SWQ2 SWQ3 SWQ4
43 ;
44 [PIPELINE4]
45 type = LOADB
46 core = 4
47 pktq_in  = SWQ0 SWQ1 SWQ2 SWQ3
48 pktq_out = SWQ4 SWQ5 SWQ6 SWQ7 SWQ8 SWQ9 SWQ10 SWQ11
49 outport_offset = 136; 8
50 n_vnf_threads = 2
51 ;loadb_debug = 0
52 [PIPELINE5]
53 type = CGNAPT
54 core = 5
55 pktq_in  = SWQ4  SWQ5  SWQ6  SWQ7
56 pktq_out = SWQ12 SWQ13 SWQ14 SWQ15
57 ;
58 ; to make pipeline timer as 1-sec granularity
59 ;
60 phyport_offset = 204
61 n_flows = 1048576
62 key_offset = 192;64
63 key_size = 8
64 hash_offset = 200;72
65 ;cgnapt_debug = 2
66 ;
67 timer_period = 100
68 max_clients_per_ip = 65535
69 max_port_per_client = 100
70 public_ip_port_range = 04040000:(1, 65535)
71 vnf_set = (3,4,5)
72 pkt_type = ipv4
73 cgnapt_meta_offset = 128
74 prv_que_handler = (0)
75
76
77 [PIPELINE7]
78 type = TXRX
79 core = 7
80 pipeline_txrx_type = TXTX
81 dest_if_offset = 176
82 pktq_in  = SWQ12  SWQ13  SWQ14  SWQ15  SWQ16  SWQ17  SWQ18  SWQ19
83 pktq_out = TXQ0.1 TXQ1.1 TXQ2.1 TXQ3.1 TXQ0.2 TXQ1.2 TXQ2.2 TXQ3.2