Newer
Older
garciadeblas
committed
vnfd:
- id: hackfest_basic_metrics-vnf
name: hackfest_basic_metrics-vnf
short-name: hackfest_basic_metrics-vnf
description: A basic VNF descriptor w/ one VDU and VIM metrics
garciadeblas
committed
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
logo: osm.png
connection-point:
- name: vnf-cp0
mgmt-interface:
cp: vnf-cp0
vdu:
- name: hackfest_basic_metrics-VM
cloud-init-file: cloud-config
count: 1
id: hackfest_basic_metrics-VM
image: ubuntu16.04
interface:
- name: vdu-eth0
type: EXTERNAL
virtual-interface:
type: PARAVIRT
external-connection-point-ref: vnf-cp0
vm-flavor:
vcpu-count: 1
memory-mb: 1024
storage-gb: 10
monitoring-param:
- id: cpu_util
nfvi-metric: cpu_utilization
- id: memory_util
nfvi-metric: average_memory_utilization
- id: packets_received
nfvi-metric: packets_received
- id: packets_sent
nfvi-metric: packets_sent
monitoring-param:
- id: vnf_cpu_util
name: vnf_cpu_util
aggregation-type: AVERAGE
vdu-monitoring-param:
vdu-monitoring-param-ref: cpu_util
vdu-ref: hackfest_basic_metrics-VM
- id: vnf_memory_util
name: vnf_memory_util
aggregation-type: AVERAGE
vdu-monitoring-param:
vdu-monitoring-param-ref: memory_util
vdu-ref: hackfest_basic_metrics-VM
- id: vnf_packets_sent
name: vnf_packets_sent
aggregation-type: AVERAGE
vdu-monitoring-param:
vdu-monitoring-param-ref: packets_sent
vdu-ref: hackfest_basic_metrics-VM
- id: vnf_packets_received
name: vnf_packets_received
aggregation-type: AVERAGE
vdu-monitoring-param:
vdu-monitoring-param-ref: packets_received
vdu-ref: hackfest_basic_metrics-VM
scaling-group-descriptor:
- name: vdu_autoscale
min-instance-count: 0
max-instance-count: 1
scaling-policy:
- name: cpu_util_above_threshold
scaling-type: automatic
threshold-time: 10
cooldown-time: 120
scaling-criteria:
- name: cpu_util_above_threshold
scale-in-threshold: 10
scale-in-relational-operation: LT
scale-out-threshold: 60
scale-out-relational-operation: GT
vnf-monitoring-param-ref: vnf_cpu_util
vdu:
- vdu-id-ref: hackfest_basic_metrics-VM
count: 1