NSB: fix port topology
[yardstick.git] / samples / vnf_samples / vnf_descriptors / cgnapt_vnf.yaml
1 # Copyright 2016-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 #  This needs to be adjusted for every hardware setup
16 #
17 vnfd:vnfd-catalog:
18     vnfd:
19     -   id: CgnaptApproxVnf
20         name: CgnaptVnfSshIntel
21         short-name: CgnaptVnf
22         description: CGNAPT approximation using DPDK
23         mgmt-interface:
24             vdu-id: cgnatvnf-baremetal
25             {% if user is defined %}
26             user: '{{user}}'  # Value filled by vnfdgen
27             {% endif %}
28             {% if password is defined %}
29             password: '{{password}}'  # Value filled by vnfdgen
30             {% endif %}
31             {% if ip is defined %}
32             ip: '{{ip}}'  # Value filled by vnfdgen
33             {% endif %}
34             {% if key_filename is defined %}
35             key_filename: '{{key_filename}}'  # Value filled by vnfdgen
36             {% endif %}
37         vdu:
38         -   id: cgnaptvnf-baremetal
39             name: cgnaptvnf-baremetal
40             description: CGNAPT approximation using DPDK
41             routing_table: {{ routing_table }}
42             nd_route_tbl: {{ nd_route_tbl }}
43         benchmark:
44             kpi:
45                 - packets_in
46                 - packets_fwd
47                 - packets_dropped