Newer
Older
1
2
3
4
5
6
7
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
vnfd:
description: Scaling wiki web server with load balancer and metrics
df:
- id: default-df
instantiation-level:
- id: default-instantiation-level
vdu-level:
- number-of-instances: 1
vdu-id: haproxy_vdu
- number-of-instances: 1
vdu-id: apache_vdu
scaling-aspect:
- aspect-delta-details:
deltas:
- id: apache_vdu_autoscale-delta
vdu-delta:
- id: apache_vdu
number-of-instances: 1
id: apache_vdu_autoscale
max-scale-level: 10
name: apache_vdu_autoscale
scaling-policy:
- cooldown-time: 180
name: apache_cpu_util_above_threshold
scaling-criteria:
- name: apache_cpu_util_above_threshold
scale-in-relational-operation: LT
scale-in-threshold: 20
scale-out-relational-operation: GT
scale-out-threshold: 80
vnf-monitoring-param-ref: apache_vnf_cpu_util
scaling-type: automatic
threshold-time: 10
vdu-profile:
- id: haproxy_vdu
min-number-of-instances: 1
- id: apache_vdu
max-number-of-instances: 11
min-number-of-instances: 1
virtual-link-profile:
- flavour: ''
id: internal_services
virtual-link-protocol-data:
l3-protocol-data:
cidr: 192.168.30.0/24
description: Services Subnet
dhcp-enabled: true
gateway-ip: 192.168.30.1
ip-version: ipv4
name: internal_services-l3-protocol-data
ext-cpd:
- id: haproxy_public-ext
int-cpd:
cpd: haproxy_vdu_eth1-int
vdu-id: haproxy_vdu
- id: haproxy_mgmt-ext
int-cpd:
cpd: haproxy_vdu_eth0-int
vdu-id: haproxy_vdu
- id: apache_mgmt-ext
int-cpd:
cpd: apache_vdu_eth0-int
vdu-id: apache_vdu
id: wiki_webserver_autoscale_vnf
int-virtual-link-desc:
- id: internal_services
mgmt-cp: haproxy_mgmt-ext
product-name: wiki_webserver_autoscale_vnf
provider: Altran
sw-image-desc:
- id: haproxy_ubuntu
image: haproxy_ubuntu
name: haproxy_ubuntu
- id: apache_ubuntu
image: apache_ubuntu
name: apache_ubuntu
vdu:
- cloud-init-file: cloud_init_haproxy
description: haproxy_vdu
id: haproxy_vdu
int-cpd:
- id: haproxy_vdu_eth1-int
virtual-network-interface-requirement:
- name: haproxy_vdu_eth1
position: 1
virtual-interface:
type: VIRTIO
- id: haproxy_vdu_eth0-int
virtual-network-interface-requirement:
- name: haproxy_vdu_eth0
position: 2
virtual-interface:
type: VIRTIO
- id: haproxy_vdu_eth2-int
int-virtual-link-desc: internal_services
virtual-network-interface-requirement:
- name: haproxy_vdu_eth2
position: 3
virtual-interface:
type: VIRTIO
name: haproxy_vdu
sw-image-desc: haproxy_ubuntu
virtual-compute-desc: haproxy_vdu-compute
virtual-storage-desc:
- haproxy_vdu-storage
- cloud-init-file: cloud_init_apache
description: apache_vdu
id: apache_vdu
int-cpd:
- id: apache_vdu_eth0-int
virtual-network-interface-requirement:
- name: apache_vdu_eth0
position: 1
virtual-interface:
type: VIRTIO
- id: apache_vdu_eth1-int
int-virtual-link-desc: internal_services
virtual-network-interface-requirement:
- name: apache_vdu_eth1
position: 2
virtual-interface:
type: VIRTIO
monitoring-parameter:
- id: apache_vnf_cpu_util
name: apache_vnf_cpu_util
performance-metric: cpu_utilization
- id: apache_vnf_memory_util
name: apache_vnf_memory_util
performance-metric: average_memory_utilization
- id: apache_vnf_packets_sent
name: apache_vnf_packets_sent
performance-metric: packets_sent
- id: apache_vnf_packets_received
name: apache_vnf_packets_received
performance-metric: packets_received
name: apache_vdu
sw-image-desc: apache_ubuntu
virtual-compute-desc: apache_vdu-compute
virtual-storage-desc:
- apache_vdu-storage
version: '2.1'
virtual-compute-desc:
- id: haproxy_vdu-compute
virtual-cpu:
num-virtual-cpu: 4
virtual-memory:
size: 4.0
- id: apache_vdu-compute
virtual-cpu:
num-virtual-cpu: 1
virtual-memory:
size: 1.0
virtual-storage-desc:
- id: haproxy_vdu-storage
size-of-storage: 10
- id: apache_vdu-storage
size-of-storage: 10