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