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 user: '{{user}}' # Value filled by vnfdgen
27 password: '{{password}}' # Value filled by vnfdgen
28 ip: '{{ip}}' # Value filled by vnfdgen
35 - id: trexgen-baremetal
36 name: trexgen-baremetal
37 description: TRex stateless traffic generator for tests
42 # Substitution variables MUST be quoted. Otherwise Python can misinterpet them.
43 vpci: '{{ interfaces.xe0.vpci }}' # Value filled by vnfdgen
44 local_ip: '{{ interfaces.xe0.local_ip }}' # Value filled by vnfdgen
45 driver: '{{ interfaces.xe0.driver}}' # 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 vld_id: '{{ interfaces.xe0.vld_id }}' # Value filled by vnfdgen
51 vnfd-connection-point-ref: xe0
55 vpci: '{{ interfaces.xe1.vpci }}' # Value filled by vnfdgen
56 local_ip: '{{ interfaces.xe1.local_ip }}' # Value filled by vnfdgen
57 driver: '{{ interfaces.xe1.driver}}' # 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 vld_id: '{{ interfaces.xe1.vld_id }}' # Value filled by vnfdgen
63 vnfd-connection-point-ref: xe1
71 - tx_throughput_pc_linerate
72 - rx_throughput_pc_linerate