Merge "Add k8-nosdn-stor4nfv-ha/noha scenario"
[yardstick.git] / samples / vnf_samples / vnf_descriptors / tg_ixload.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: IxLoadTrafficGen
20         short-name: IxLoadTrafficGenVnf
21         description: IxLoad client/server connection details
22         mgmt-interface:
23             vdu-id: ixloadgen-baremetal
24             user: '{{user}}'  # Value filled by vnfdgen
25             password: '{{password}}'  # Value filled by vnfdgen
26             ip: '{{ip}}'  # Value filled by vnfdgen
27             tg-config:
28                 ixchassis: '{{tg_config.ixchassis}}' #ixia chassis ip
29                 tcl_port: '{{tg_config.tcl_port}}' # tcl server port
30                 lib_path: '{{tg_config.lib_path}}'
31                 root_dir: '{{tg_config.root_dir}}'
32                 py_lib_path: '{{tg_config.py_lib_path}}'
33                 py_bin_path: '{{tg_config.py_bin_path}}'
34                 dut_result_dir: '{{tg_config.dut_result_dir}}'
35                 version: '{{tg_config.version}}'
36         connection-point:
37         -   name: xe0
38             type: VPORT
39         -   name: xe1
40             type: VPORT
41
42         vdu:
43         -   id: abclient-baremetal
44             name: abclient-baremetal
45             description: AB client interface details
46         benchmark:
47             kpi:
48                 - complete_requests
49                 - failed_requests
50                 - time_taken_for_tests [seconds]
51                 - requests_per_second [#/sec] (mean)
52                 - time_per_request [ms] (mean, across all concurrent requests)
53                 - transfer_rate [Kbytes/sec] received
54                 - requests_served_50% (ms)
55                 - requests_served_66% (ms)
56                 - requests_served_75% (ms)
57                 - requests_served_80% (ms)
58                 - requests_served_90% (ms)
59                 - requests_served_95% (ms)
60                 - requests_served_98% (ms)
61                 - requests_served_99% (ms)
62                 - requests_served_100% (ms)