1 # Copyright (c) 2016-2017 Intel Corporation
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 - id: TrexTrafficGen # NSPerf class mapping
20 description: TRex stateless traffic generator for tests
25 vdu-id: trexgen-baremetal
26 {% if user is defined %}
27 user: '{{user}}' # Value filled by vnfdgen
29 {% if password is defined %}
30 password: '{{password}}' # Value filled by vnfdgen
32 {% if ip is defined %}
33 ip: '{{ip}}' # Value filled by vnfdgen
35 {% if key_filename is defined %}
36 key_filename: '{{key_filename}}' # Value filled by vnfdgen
44 - id: trexgen-baremetal
45 name: trexgen-baremetal
46 description: TRex stateless traffic generator for tests
51 # Substitution variables MUST be quoted. Otherwise Python can misinterpet them.
52 vpci: '{{ interfaces.xe0.vpci }}' # Value filled by vnfdgen
53 local_ip: '{{ interfaces.xe0.local_ip }}' # Value filled by vnfdgen
54 driver: '{{ interfaces.xe0.driver}}' # Value filled by vnfdgen
55 dst_ip: '{{ interfaces.xe0.dst_ip }}' # Value filled by vnfdgen
56 local_mac: '{{ interfaces.xe0.local_mac }}' # Value filled by vnfdgen
57 dst_mac: '{{ interfaces.xe0.dst_mac }}' # Value filled by vnfdgen
58 vld_id: '{{ interfaces.xe0.vld_id }}' # Value filled by vnfdgen
60 vnfd-connection-point-ref: xe0
64 vpci: '{{ interfaces.xe1.vpci }}' # Value filled by vnfdgen
65 local_ip: '{{ interfaces.xe1.local_ip }}' # Value filled by vnfdgen
66 driver: '{{ interfaces.xe1.driver}}' # Value filled by vnfdgen
67 dst_ip: '{{ interfaces.xe1.dst_ip }}' # Value filled by vnfdgen
68 local_mac: '{{ interfaces.xe1.local_mac }}' # Value filled by vnfdgen
69 dst_mac: '{{ interfaces.xe1.dst_mac }}' # Value filled by vnfdgen
70 vld_id: '{{ interfaces.xe1.vld_id }}' # Value filled by vnfdgen
72 vnfd-connection-point-ref: xe1
80 - tx_throughput_pc_linerate
81 - rx_throughput_pc_linerate