Feature 8178 VNF Repositories
[osm/NBI.git] / osm_nbi / tests / slice_shared / vnfd / slice_shared_vnfd.yaml
1 # Copyright [2019] [Pol Alemany, Ricard Vilalta (CTTC), Felipe Vicens (ATOS)]
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 vnfd-catalog:
15     vnfd:
16     -   id: slice_hackfest_vnfd
17         name: slice_hackfest_vnfd
18         short-name: slice_hackfest_vnfd
19         description: VNFD with 2 CPs to be used on Slice Session of the 5th hackfest
20         vendor: OSM
21         version: '1.0'
22
23         # Management interface
24         mgmt-interface:
25             cp: eth0
26
27         # Atleast one VDU need to be specified
28         vdu:
29         -   id: ubuntu_slice-VM
30             name: ubuntu_slice-VM
31             description: ubuntu_slice-VM
32             count: 1
33
34             # Flavour of the VM to be instantiated for the VDU
35             # flavor below can fit into m1.micro
36             vm-flavor:
37                 vcpu-count: 1
38                 memory-mb: 1024
39                 storage-gb: 10
40
41             # Image/checksum or image including the full path
42             image: 'cirros034'
43             #checksum: 
44
45             interface:
46             # Specify the external interfaces
47             # There can be multiple interfaces defined
48             -   name: eth0
49                 type: EXTERNAL
50                 virtual-interface:
51                     type: VIRTIO
52                     bandwidth: '0'
53                     vpci: 0000:00:0a.0
54                 external-connection-point-ref: eth0
55             -   name: eth1
56                 type: EXTERNAL
57                 virtual-interface:
58                     type: VIRTIO
59                     bandwidth: '0'
60                     vpci: 0000:00:0a.0
61                 external-connection-point-ref: eth1
62
63         connection-point:
64         -   name: eth0
65             type: VPORT
66         -   name: eth1
67             type: VPORT