3 - id: cirros_vdu_scaling_vnf
4 name: cirros_vdu_scaling_vnf
5 short-name: cirros_vdu_scaling_vnf
6 description: Simple VNF example with a cirros and a scaling group descriptor
9 # Place the logo as png in icons directory and provide the name here
11 # Management interface
14 # Atleast one VDU need to be specified
18 description: cirros_vnfd-VM
21 # Flavour of the VM to be instantiated for the VDU
22 # flavor below can fit into m1.micro
27 # Image/checksum or image including the full path
31 # Specify the external interfaces
32 # There can be multiple interfaces defined
39 external-connection-point-ref: eth0
41 - id: "cirros_vnfd-VM_cpu_util"
42 nfvi-metric: "cpu_utilization" # The associated NFVI metric to be monitored. Id of the metric
43 #interface-name-ref: reference to interface name, required for some metrics
47 scaling-group-descriptor:
48 - name: "scale_cirros_vnfd-VM"
50 max-instance-count: 10
52 - name: "auto_cpu_util_above_threshold"
53 scaling-type: "automatic"
57 - name: "group1_cpu_util_above_threshold"
58 scale-in-threshold: 20
59 scale-in-relational-operation: "LT"
60 scale-out-threshold: 80
61 scale-out-relational-operation: "GT"
62 vnf-monitoring-param-ref: "cirros_vnf_cpu_util"
64 - vdu-id-ref: cirros_vnfd-VM
66 # scaling-config-action: # Para utilizar charms
67 # - trigger: post-scale-out
68 # vnf-config-primitive-name-ref:
70 - id: "cirros_vnf_cpu_util"
71 name: "cirros_vnf_cpu_util"
72 aggregation-type: AVERAGE
74 vdu-ref: "cirros_vnfd-VM"
75 vdu-monitoring-param-ref: "cirros_vnfd-VM_cpu_util"