Merge "[docs] Add release notes for Gambia"
[yardstick.git] / samples / vnf_samples / nsut / cgnapt / tc_ovs_rfc2544_ipv4_1rule_1flow_64B_ixia.yaml
1 # Copyright (c) 2016-2018 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 ---
16 schema: yardstick:task:0.1
17 scenarios:
18 - type: NSPerf
19   traffic_profile: ../../traffic_profiles/ixia_ipv4_latency_cgnapt.yaml
20   topology: cgnapt_vnf_topology_ixia.yaml
21   nodes:
22     tg__0: tg__0.yardstick
23     vnf__0: vnf__0.yardstick
24   options:
25     framesize:
26       uplink: {64B: 100}
27       downlink: {64B: 100}
28     flow:
29       src_ip: [{'tg__0': 'xe0'}]
30       dst_ip: [{'tg__0': 'xe1'}]
31       public_ip: ["152.16.40.10"]
32       count: 1
33     traffic_type: 4
34     rfc2544:
35       allowed_drop_rate: 0.0001 - 0.0001
36     vnf__0:
37       rules: acl_1rule.yaml
38       vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
39   runner:
40     type: Iteration
41     iterations: 10
42     interval: 35
43 contexts:
44    - name: yardstick
45      type: Node
46      file: /etc/yardstick/nodes/standalone/pod_trex_ixia.yaml
47    - type: StandaloneOvsDpdk
48      name: yardstick
49      file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
50      vm_deploy: True
51      ovs_properties:
52        version:
53          ovs: 2.7.0
54          dpdk: 16.11.1
55        pmd_threads: 2
56        ram:
57          socket_0: 2048
58          socket_1: 2048
59        queues: 4
60        vpath: "/usr/local"
61
62      flavor:
63        images: "/var/lib/libvirt/images/ubuntu.qcow2"
64        ram: 4096
65        extra_specs:
66          hw:cpu_sockets: 1
67          hw:cpu_cores: 7
68          hw:cpu_threads: 2
69        user: ""
70        password: ""
71      servers:
72        vnf__0:
73          network_ports:
74            mgmt:
75              cidr: '1.1.1.7/24'
76            xe0:
77              - uplink_0
78            xe1:
79              - downlink_0
80      networks:
81        uplink_0:
82          port_num: 0
83          phy_port: "0000:07:00.0"
84          vpci: "0000:00:07.0"
85          cidr: '152.16.100.10/24'
86          gateway_ip: '152.16.100.20'
87        downlink_0:
88          port_num: 1
89          phy_port: "0000:07:00.1"
90          vpci: "0000:00:08.0"
91          cidr: '152.16.40.10/24'
92          gateway_ip: '152.16.100.20'