Added emulator-compatible services and VNFs for R4 integration tests.
[osm/vim-emu.git] / src / emuvim / examples / vnfs / hackfest_2_vnfd / hackfest_2_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: hackfest2-vnf
26         name: hackfest2-vnf
27         short-name: hackfest2-vnf
28         version: '1.0'
29         description: A VNF consisting of 2 VDUs connected to an internal VL
30         logo: osm.png
31         connection-point:
32         -   id: vnf-mgmt
33             name: vnf-mgmt
34             short-name: vnf-mgmt
35             type: VPORT
36         -   id: vnf-data
37             name: vnf-data
38             short-name: vnf-data
39             type: VPORT
40         mgmt-interface:
41             cp: vnf-mgmt
42         internal-vld:
43         -   id: internal
44             name: internal
45             short-name: internal
46             type: ELAN
47             internal-connection-point:
48             -   id-ref: mgmtVM-internal
49             -   id-ref: dataVM-internal
50         vdu:
51         -   id: mgmtVM
52             name: mgmtVM
53             image: "ubuntu:trusty"
54             count: '1'
55             vm-flavor:
56                 vcpu-count: '1'
57                 memory-mb: '1024'
58                 storage-gb: '10'
59             interface:
60             -   name: mgmtVM-eth0
61                 position: '1'
62                 type: EXTERNAL
63                 virtual-interface:
64                     type: VIRTIO
65                 external-connection-point-ref: vnf-mgmt
66             -   name: mgmtVM-eth1
67                 position: '2'
68                 type: INTERNAL
69                 virtual-interface:
70                     type: VIRTIO
71                 internal-connection-point-ref: mgmtVM-internal
72             internal-connection-point:
73             -   id: mgmtVM-internal
74                 name: mgmtVM-internal
75                 short-name: mgmtVM-internal
76                 type: VPORT
77         -   id: dataVM
78             name: dataVM
79             image: "ubuntu:trusty"
80             count: '1'
81             vm-flavor:
82                 vcpu-count: '1'
83                 memory-mb: '1024'
84                 storage-gb: '10'
85             interface:
86             -   name: dataVM-eth0
87                 position: '1'
88                 type: INTERNAL
89                 virtual-interface:
90                     type: VIRTIO
91                 internal-connection-point-ref: dataVM-internal
92             -   name: dataVM-xe0
93                 position: '2'
94                 type: EXTERNAL
95                 virtual-interface:
96                     type: VIRTIO
97                 external-connection-point-ref: vnf-data
98             internal-connection-point:
99             -   id: dataVM-internal
100                 name: dataVM-internal
101                 short-name: dataVM-internal
102                 type: VPORT
103