From 2a649d5ba77487901afdbd45783149b9b6ecdbd7 Mon Sep 17 00:00:00 2001 From: palsus Date: Thu, 28 May 2020 21:18:05 +0200 Subject: [PATCH] Update magma-agw-enb_vnfd.yaml --- .../magma-agw-enb_vnfd.yaml | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/magma/hackfest_magma-agw-enb_vnfd/magma-agw-enb_vnfd.yaml b/magma/hackfest_magma-agw-enb_vnfd/magma-agw-enb_vnfd.yaml index 27606e58..3f6004c1 100644 --- a/magma/hackfest_magma-agw-enb_vnfd/magma-agw-enb_vnfd.yaml +++ b/magma/hackfest_magma-agw-enb_vnfd/magma-agw-enb_vnfd.yaml @@ -219,4 +219,23 @@ vnfd:vnfd-catalog: aggregation-type: AVERAGE vdu-monitoring-param: vdu-ref: magma-agw-vdu - vdu-monitoring-param-ref: agw_packets_sent + vdu-monitoring-param-ref: agw_packets_sent + scaling-group-descriptor: + - max-instance-count: 1 + min-instance-count: 0 + name: vdu_autoscale + scaling-policy: + - cooldown-time: 120 + name: cpu_util_above_threshold + scaling-criteria: + - name: cpu_util_above_threshold + scale-in-relational-operation: LT + scale-in-threshold: 10 + scale-out-relational-operation: GT + scale-out-threshold: 60 + vnf-monitoring-param-ref: agw_cpu_util + scaling-type: automatic + threshold-time: 10 + vdu: + - count: 1 + vdu-id-ref: magma-agw-vdu \ No newline at end of file -- GitLab