(bug 554) adding license headers
[osm/NBI.git] / osm_nbi / tests / cirros_vnf / cirros_vnfd.yaml
1 # Licensed under the Apache License, Version 2.0 (the "License");
2 # you may not use this file except in compliance with the License.
3 # You may obtain a copy of the License at
4 #
5 #    http://www.apache.org/licenses/LICENSE-2.0
6 #
7 # Unless required by applicable law or agreed to in writing, software
8 # distributed under the License is distributed on an "AS IS" BASIS,
9 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10 # implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 vnfd-catalog:
15     vnfd:
16     -   id: cirros_vnfd
17         name: cirros_vnf
18         short-name: cirros_vnf
19         description: Simple VNF example with a cirros 
20         vendor: OSM
21         version: '1.0'
22
23         # Place the logo as png in icons directory and provide the name here
24         logo: cirros-64.png
25
26         # Management interface
27         mgmt-interface:
28             cp: eth0
29
30         # Atleast one VDU need to be specified
31         vdu:
32         -   id: cirros_vnfd-VM
33             name: cirros_vnfd-VM
34             description: cirros_vnfd-VM
35             count: 1
36
37             # Flavour of the VM to be instantiated for the VDU
38             # flavor below can fit into m1.micro
39             vm-flavor:
40                 vcpu-count: 1
41                 memory-mb: 256
42                 storage-gb: 2
43
44             # Image/checksum or image including the full path
45             image: 'cirros034'
46             #checksum: 
47
48             interface:
49             # Specify the external interfaces
50             # There can be multiple interfaces defined
51             -   name: eth0
52                 type: EXTERNAL
53                 virtual-interface:
54                     type: VIRTIO
55                     bandwidth: '0'
56                     vpci: 0000:00:0a.0
57                 external-connection-point-ref: eth0
58
59         connection-point:
60             -   name: eth0
61                 type: VPORT