vnfd-catalog: 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 version: '1.0' 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