Merge "Update heat RFC2544 based TC to support SRIOV VF ports."
[yardstick.git] / samples / vnf_samples / nsut / vpe / vpe_config / vpe_upstream
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 [PIPELINE1]
16 type = FIREWALL
17 core = s{socket}c1
18 pktq_in = RXQ0.0
19 pktq_out = SWQ0 SINK0
20 n_rules = 4096
21 pkt_type = qinq_ipv4
22
23 [PIPELINE2]
24 type = FLOW_CLASSIFICATION
25 core = s{socket}c2
26 pktq_in = SWQ0
27 pktq_out = SWQ1 SINK1
28 n_flows = 65536
29 key_size = 8
30 key_offset = 268
31 key_mask = 00000FFF00000FFF
32 flowid_offset = 172
33
34 [PIPELINE3]
35 type = FLOW_ACTIONS
36 core = s{socket}c2h
37 pktq_in = SWQ1
38 pktq_out = SWQ2
39 n_flows = 65536
40 n_meters_per_flow = 1
41 flow_id_offset = 172
42 ip_hdr_offset = 278
43 color_offset = 176
44
45 [PIPELINE4]
46 type = FLOW_ACTIONS
47 core = s{socket}c1h
48 pktq_in = SWQ2
49 pktq_out = SWQ3
50 n_flows = 65536
51 n_meters_per_flow = 4
52 flow_id_offset = 172
53 ip_hdr_offset = 278
54 color_offset = 176
55
56 [PIPELINE5]
57 type = ROUTING
58 core = s0c3
59 pktq_in = SWQ3
60 pktq_out = TXQ1.0 SINK2
61 encap = ethernet_mpls
62 mpls_color_mark = yes
63 ip_hdr_offset = 278
64 color_offset = 176