Add init loop in prometheus sidecar container
[osm/devops.git] / descriptor-packages / vnfd / ubuntu-cloudinit_vnf / src / ubuntu-cloudinit_vnfd.yaml
1 # Copyright 2019 ETSI
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
12 # implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 vnfd:vnfd-catalog:
17     vnfd:
18     -   id: ubuntu-cloudinit_vnfd
19         name: ubuntu-cloudinit_vnfd
20         short-name: ubuntu-cloudinit_vnfd
21         description: Generated by OSM package generator
22         vendor: OSM
23         version: '1.0'
24
25         # Management interface
26         mgmt-interface:
27             cp: vnf-cp0
28
29         vdu:
30         -   id: ubuntu-cloudinit_vnfd-VM
31             name: ubuntu-cloudinit_vnfd-VM
32             description: ubuntu-cloudinit_vnfd-VM
33             count: 1
34             cloud-init-file: cloud-init.cfg
35
36             vm-flavor:
37                 vcpu-count: 2
38                 memory-mb: 2048
39                 storage-gb: 10
40
41             # Image including the full path
42             image: 'ubuntu1604'
43
44             interface:
45             -   name: eth0
46                 type: EXTERNAL
47                 virtual-interface:
48                     type: PARAVIRT
49                 external-connection-point-ref: vnf-cp0
50
51         connection-point:
52         -   name: vnf-cp0
53