Fix 1475 - Incorrect description in instantiating error
[osm/RO.git] / vnfs / examples / v3_3vdu_vnfd.yaml
1 vnfd:vnfd-catalog:
2     vnfd:
3     -   id: 3vdu_vnfd
4         name: 3vdu_vnfd-name
5         short-name: 3vdu-sname
6         description: Simple VNF example with a cirros and 3 vdu count
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             vdu-id: 3vduVM
16
17         # Atleast one VDU need to be specified
18         vdu:
19         -   id: 3vduVM
20             name: 3vduVM-name
21             description: 3vduVM-description
22             count: 3
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: 2048
29                 storage-gb: 20
30
31             # Image/checksum or image including the full path
32             image: 'ubuntu16.04'
33             #checksum: 
34
35             interface:
36             # Specify the external interfaces
37             # There can be multiple interfaces defined
38             -   name: eth0
39                 type: EXTERNAL
40                 position: 0
41                 virtual-interface:
42                     type: VIRTIO
43                     bandwidth: '0'
44                 # vnfd-connection-point-ref: eth0
45                 external-connection-point-ref: eth0
46
47             # Replace the ssh-rsa public key to use your own public key
48             cloud-init: |
49                 #cloud-config
50                 ssh_authorized_keys:
51                 -  ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDajuABKm3lzcA0hk1IQGAfSWxxE0viRedl1EnZ2s0qQL54zTGVqYzC73CndSu0az57ysAKDapKOnTWl6zfj+bU4j3c4jORDWrIelBVaeQaoWGfKtBmS7jE54I94cRgkAIk+4zM1ViRyPQ+0FoOOq7I/6rQZITZ4VqfyhygW7j2ke2vl3oJ/TKocOpdk4WlMmPC6dFYppmwlpTpPYKJVdh58aeq9G/wTRP1qvCAgZAm/1GYoj7JgQjw11j6ZZE0ci03F9aOqqMlICDJF87Zk3fUhnt+g6EYNMiEafd7kuNwXBAJ5D1n4vZnj/EpdQY+dlXhhGS2Bncr1db1YBJCoRWN Generated-by-Nova
52                 users:
53                 -  name: osm
54                    ssh_authorized_keys:
55                    -  ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDajuABKm3lzcA0hk1IQGAfSWxxE0viRedl1EnZ2s0qQL54zTGVqYzC73CndSu0az57ysAKDapKOnTWl6zfj+bU4j3c4jORDWrIelBVaeQaoWGfKtBmS7jE54I94cRgkAIk+4zM1ViRyPQ+0FoOOq7I/6rQZITZ4VqfyhygW7j2ke2vl3oJ/TKocOpdk4WlMmPC6dFYppmwlpTpPYKJVdh58aeq9G/wTRP1qvCAgZAm/1GYoj7JgQjw11j6ZZE0ci03F9aOqqMlICDJF87Zk3fUhnt+g6EYNMiEafd7kuNwXBAJ5D1n4vZnj/EpdQY+dlXhhGS2Bncr1db1YBJCoRWN Generated-by-Nova
56
57         connection-point:
58             -   name: eth0
59                 type: VPORT