Merge "requirements.txt: add license info"
[yardstick.git] / samples / vnf_samples / vnf_descriptors / tg_ixload_4port.yaml
1 #
2 #    Copyright 2016 Intel Corporation
3 #
4 #    Licensed under the Apache License, Version 2.0 (the "License");
5 #    you may not use this file except in compliance with the License.
6 #    You may obtain a copy of the License at
7 #
8 #        http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #    Unless required by applicable law or agreed to in writing, software
11 #    distributed under the License is distributed on an "AS IS" BASIS,
12 #    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #    See the License for the specific language governing permissions and
14 #    limitations under the License.
15 #
16 vnfd:vnfd-catalog:
17     vnfd:
18     -   id: IxLoadTrafficGen
19         name: IxLoadTrafficGenVnfSshIntel
20         short-name: IxLoadTrafficGenVnf
21         description: IxLoad client/server connection details
22         mgmt-interface:
23             user: '{{user}}'  # Value filled by vnfdgen
24             password: '{{password}}'  # Value filled by vnfdgen
25             ip: '{{ip}}'  # Value filled by vnfdgen
26             tg-config:
27                 ixchassis: '{{tg_config.ixchassis}}' #ixia chassis ip
28                 tcl_port: '{{tg_config.tcl_port}}' # tcl server port
29                 lib_path: '{{tg_config.lib_path}}'
30                 root_dir: '{{tg_config.root_dir}}'
31                 py_lib_path: '{{tg_config.py_lib_path}}'
32                 dut_result_dir: '{{tg_config.dut_result_dir}}'
33                 version: '{{tg_config.version}}'
34         vdu:
35         -   id: abclient-baremetal
36             name: abclient-baremetal
37             description: AB client interface details
38             external-interface:
39             -   name: xe0
40                 virtual-interface:
41                     type: PCI-PASSTHROUGH
42                     vpci: '{{ interfaces.xe0.vpci }}' # Value filled by vnfdgen
43                     local_iface_name: '{{ interfaces.xe0.local_iface_name }}' # Value filled by vnfdgen
44                     local_ip: '{{ interfaces.xe0.local_ip }}' # Value filled by vnfdgen
45                     dst_ip: '{{ interfaces.xe0.dst_ip }}' # Value filled by vnfdgen
46                     local_mac: '{{ interfaces.xe0.local_mac }}' # Value filled by vnfdgen
47                     dst_mac: '{{ interfaces.xe0.dst_mac }}' # Value filled by vnfdgen
48                     netmask: '{{ interfaces.xe0.netmask }}' # Value filled by vnfdgen
49                     bandwidth: 10 Gbps
50                 vnfd-connection-point-ref: xe0
51             -   name: xe1
52                 virtual-interface:
53                     type: PCI-PASSTHROUGH
54                     vpci: '{{ interfaces.xe1.vpci }}' # Value filled by vnfdgen
55                     local_iface_name: '{{ interfaces.xe1.local_iface_name }}' # Value filled by vnfdgen
56                     local_ip: '{{ interfaces.xe1.local_ip }}' # Value filled by vnfdgen
57                     dst_ip: '{{ interfaces.xe1.dst_ip }}' # Value filled by vnfdgen
58                     local_mac: '{{ interfaces.xe1.local_mac }}' # Value filled by vnfdgen
59                     dst_mac: '{{ interfaces.xe1.dst_mac }}' # Value filled by vnfdgen
60                     netmask: '{{ interfaces.xe1.netmask }}' # Value filled by vnfdgen
61                     bandwidth: 10 Gbps
62                 vnfd-connection-point-ref: xe1
63             -   name: xe2
64                 virtual-interface:
65                     type: PCI-PASSTHROUGH
66                     vpci: '{{ interfaces.xe2.vpci }}' # Value filled by vnfdgen
67                     local_iface_name: '{{ interfaces.xe2.local_iface_name }}' # Value filled by vnfdgen
68                     local_ip: '{{ interfaces.xe2.local_ip }}' # Value filled by vnfdgen
69                     dst_ip: '{{ interfaces.xe2.dst_ip }}' # Value filled by vnfdgen
70                     local_mac: '{{ interfaces.xe2.local_mac }}' # Value filled by vnfdgen
71                     dst_mac: '{{ interfaces.xe2.dst_mac }}' # Value filled by vnfdgen
72                     netmask: '{{ interfaces.xe2.netmask }}' # Value filled by vnfdgen
73                     bandwidth: 10 Gbps
74                 vnfd-connection-point-ref: xe2
75             -   name: xe3
76                 virtual-interface:
77                     type: PCI-PASSTHROUGH
78                     vpci: '{{ interfaces.xe3.vpci }}' # Value filled by vnfdgen
79                     local_iface_name: '{{ interfaces.xe3.local_iface_name }}' # Value filled by vnfdgen
80                     local_ip: '{{ interfaces.xe3.local_ip }}' # Value filled by vnfdgen
81                     dst_ip: '{{ interfaces.xe3.dst_ip }}' # Value filled by vnfdgen
82                     local_mac: '{{ interfaces.xe3.local_mac }}' # Value filled by vnfdgen
83                     dst_mac: '{{ interfaces.xe3.dst_mac }}' # Value filled by vnfdgen
84                     netmask: '{{ interfaces.xe3.netmask }}' # Value filled by vnfdgen
85                     bandwidth: 10 Gbps
86                 vnfd-connection-point-ref: xe3
87
88         benchmark:
89             kpi:
90                 - complete_requests
91                 - failed_requests
92                 - time_taken_for_tests [seconds]
93                 - requests_per_second [#/sec] (mean)
94                 - time_per_request [ms] (mean, across all concurrent requests)
95                 - transfer_rate [Kbytes/sec] received
96                 - requests_served_50% (ms)
97                 - requests_served_66% (ms)
98                 - requests_served_75% (ms)
99                 - requests_served_80% (ms)
100                 - requests_served_90% (ms)
101                 - requests_served_95% (ms)
102                 - requests_served_98% (ms)
103                 - requests_served_99% (ms)
104                 - requests_served_100% (ms)