e114f3e0bf8b74b2f638c8dfd98935c1f8788972
[osm/vim-emu.git] / examples / vnfs / ping_vnf / ping_vnfd.yaml
1 ---
2 # Copyright (c) 2018 by Paderborn University and Manuel Peuster
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 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-catalog:
24     vnfd:
25     -   id: ping
26         name: ping
27         short-name: ping
28         description: "Empty example container VNF"
29         vendor: "Paderborn University"
30         version: '1.1'
31
32         # Place the logo as png in icons directory and provide the name here
33         # logo: sonata.png
34         connection-point:
35             -   name: ping/cp0
36                 type: VPORT
37             -   name: ping/cp1
38                 type: VPORT
39         # Management interface
40         mgmt-interface:
41             cp: ping/cp0
42
43         # Atleast one VDU need to be specified
44         vdu:
45         # Additional VDUs can be created by copying the
46         # VDU descriptor below
47         -   id: ubuntu
48             name: ubuntu
49             description: "Ubuntu Trusty default Docker container"
50             count: "1"
51
52             # Flavour of the VM to be instantiated for the VDU
53             vm-flavor:
54                 vcpu-count: 1
55                 memory-mb: 512
56                 storage-gb: 10
57
58             # Image including the full path
59             image: "ubuntu:trusty"
60             #image: cirros034
61             interface:
62             -   name: ping0
63                 position: 0
64                 type: EXTERNAL
65                 virtual-interface:
66                     type: VIRTIO
67                 external-connection-point-ref: ping/cp0
68             -   name: ping1
69                 position: 1
70                 type: EXTERNAL
71                 virtual-interface:
72                     type: VIRTIO
73                 external-connection-point-ref: ping/cp1
74
75         
76
77