Added system test for descriptors
[osm/NBI.git] / osm_nbi / tests / cirros_vnf / cirros_vnfd.yaml
1 vnfd-catalog:
2     vnfd:
3     -   id: cirros_vnfd
4         name: cirros_vnf
5         short-name: cirros_vnf
6         description: Simple VNF example with a cirros 
7         vendor: OSM
8         version: '1.0'
9
10         # Place the logo as png in icons directory and provide the name here
11         logo: cirros-64.png
12
13         # Management interface
14         mgmt-interface:
15             cp: eth0
16
17         # Atleast one VDU need to be specified
18         vdu:
19         -   id: cirros_vnfd-VM
20             name: cirros_vnfd-VM
21             description: cirros_vnfd-VM
22             count: 1
23
24             # Flavour of the VM to be instantiated for the VDU
25             # flavor below can fit into m1.micro
26             vm-flavor:
27                 vcpu-count: 1
28                 memory-mb: 256
29                 storage-gb: 2
30
31             # Image/checksum or image including the full path
32             image: 'cirros034'
33             #checksum: 
34
35             interface:
36             # Specify the external interfaces
37             # There can be multiple interfaces defined
38             -   name: eth0
39                 type: EXTERNAL
40                 virtual-interface:
41                     type: VIRTIO
42                     bandwidth: '0'
43                     vpci: 0000:00:0a.0
44                 external-connection-point-ref: eth0
45
46         connection-point:
47             -   name: eth0
48                 type: VPORT