Adding multi-port support for ixia taffic generator
[yardstick.git] / samples / vnf_samples / vnf_descriptors / ixia_rfc2544_tpl.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: IxiaTrafficGen # ISB class mapping
19         name: IxiaTrafficGen
20         short-name: ixia
21         description: IXIA stateless traffic verifier
22         mgmt-interface:
23             vdu-id: trexgen-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         vdu:
42         -   id: trexgen-baremetal
43             name: trexgen-baremetal
44             description: IXIAstateless traffic verifier
45             vm-flavor:
46                 vcpu-count: '4'
47                 memory-mb: '4096'
48         benchmark:
49             kpi:
50                 - rx_throughput_fps
51                 - tx_throughput_fps
52                 - tx_throughput_mbps
53                 - rx_throughput_mbps
54                 - in_packets
55                 - out_packets