Adding multi-port support for ixia taffic generator
[yardstick.git] / samples / vnf_samples / vnf_descriptors / tg_prox_tpl-2.yaml
1 # Copyright (c) 2017 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 vnfd:vnfd-catalog:
16     vnfd:
17     -   id: ProxTrafficGen  # nsb class mapping
18         name: proxverifier
19         short-name: proxverifier
20         description: prox stateless traffic verifier
21         mgmt-interface:
22             vdu-id: proxgen-baremetal
23             {% if user is defined %}
24             user: '{{user}}'  # Value filled by vnfdgen
25             {% endif %}
26             {% if password is defined %}
27             password: '{{password}}'  # Value filled by vnfdgen
28             {% endif %}
29             {% if ip is defined %}
30             ip: '{{ip}}'  # Value filled by vnfdgen
31             {% endif %}
32             {% if key_filename is defined %}
33             key_filename: '{{key_filename}}'  # Value filled by vnfdgen
34             {% endif %}
35         vdu:
36         -   id: proxgen-baremetal
37             name: proxgen-baremetal
38             description: prox stateless traffic verifier
39
40         benchmark:
41             kpi:
42                 - rx_throughput_fps
43                 - tx_throughput_fps
44                 - tx_throughput_mbps
45                 - rx_throughput_mbps
46                 - in_packets
47                 - out_packets