98db0dcb4fd66f3825f217ae842efa6b7875fa55
[osm/vim-emu.git] / src / emuvim / examples / vnfs / hackfest_1_vnfd / hackfest_1_vnfd.yaml
1 ---
2 # Copyright (c) 2018 by Paderborn University
3 # (manuel@peuster.de)
4 # ALL RIGHTS RESERVED.
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #     http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #
18 # Neither the name of the OSM, Paderborn University
19 # nor the names of its contributors may be used to endorse or promote
20 # products derived from this software without specific prior written
21 # permission.
22
23 vnfd:vnfd-catalog:
24     vnfd:
25     -   id: hackfest1-vnf
26         name: hackfest1-vnf
27         short-name: hackfest1-vnf
28         version: '1.0'
29         description: A simple VNF descriptor w/ one VDU
30         logo: osm.png
31         connection-point:
32         -   name: vnf-cp0
33             type: VPORT
34         vdu:
35         -   id: hackfest1VM
36             name: hackfest1VM
37             image: "ubuntu:trusty"
38             count: '1'
39             vm-flavor:
40                 vcpu-count: '1'
41                 memory-mb: '1024'
42                 storage-gb: '10'
43             interface:
44             -   name: vdu-eth0
45                 type: EXTERNAL
46                 virtual-interface:
47                     type: VIRTIO
48                 external-connection-point-ref: vnf-cp0
49         mgmt-interface:
50             cp: vnf-cp0
51