Merge "Collectd"
[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: 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                 py_bin_path: '{{tg_config.py_bin_path}}'
33                 dut_result_dir: '{{tg_config.dut_result_dir}}'
34                 version: '{{tg_config.version}}'
35         vdu:
36         -   id: abclient-baremetal
37             name: abclient-baremetal
38             description: AB client interface details
39             external-interface:
40             -   name: xe0
41                 virtual-interface:
42                     type: PCI-PASSTHROUGH
43                     vpci: '{{ interfaces.xe0.vpci }}' # Value filled by vnfdgen
44                     local_iface_name: '{{ interfaces.xe0.local_iface_name }}' # Value filled by vnfdgen
45                     local_ip: '{{ interfaces.xe0.local_ip }}' # Value filled by vnfdgen
46                     dst_ip: '{{ interfaces.xe0.dst_ip }}' # Value filled by vnfdgen
47                     local_mac: '{{ interfaces.xe0.local_mac }}' # Value filled by vnfdgen
48                     dst_mac: '{{ interfaces.xe0.dst_mac }}' # Value filled by vnfdgen
49                     netmask: '{{ interfaces.xe0.netmask }}' # Value filled by vnfdgen
50                     bandwidth: 10 Gbps
51                 vnfd-connection-point-ref: xe0
52             -   name: xe1
53                 virtual-interface:
54                     type: PCI-PASSTHROUGH
55                     vpci: '{{ interfaces.xe1.vpci }}' # Value filled by vnfdgen
56                     local_iface_name: '{{ interfaces.xe1.local_iface_name }}' # Value filled by vnfdgen
57                     local_ip: '{{ interfaces.xe1.local_ip }}' # Value filled by vnfdgen
58                     dst_ip: '{{ interfaces.xe1.dst_ip }}' # Value filled by vnfdgen
59                     local_mac: '{{ interfaces.xe1.local_mac }}' # Value filled by vnfdgen
60                     dst_mac: '{{ interfaces.xe1.dst_mac }}' # Value filled by vnfdgen
61                     netmask: '{{ interfaces.xe1.netmask }}' # Value filled by vnfdgen
62                     bandwidth: 10 Gbps
63                 vnfd-connection-point-ref: xe1
64         benchmark:
65             kpi:
66                 - complete_requests
67                 - failed_requests
68                 - time_taken_for_tests [seconds]
69                 - requests_per_second [#/sec] (mean)
70                 - time_per_request [ms] (mean, across all concurrent requests)
71                 - transfer_rate [Kbytes/sec] received
72                 - requests_served_50% (ms)
73                 - requests_served_66% (ms)
74                 - requests_served_75% (ms)
75                 - requests_served_80% (ms)
76                 - requests_served_90% (ms)
77                 - requests_served_95% (ms)
78                 - requests_served_98% (ms)
79                 - requests_served_99% (ms)
80                 - requests_served_100% (ms)