1 # -*- coding: utf-8 -*-
2 # pylint: disable=no-member
4 # Copyright 2020 Whitestack, LLC
5 # *************************************************************
7 # This file is part of OSM Monitoring module
8 # All Rights Reserved to Whitestack, LLC
10 # Licensed under the Apache License, Version 2.0 (the "License"); you may
11 # not use this file except in compliance with the License. You may obtain
12 # a copy of the License at
14 # http://www.apache.org/licenses/LICENSE-2.0
16 # Unless required by applicable law or agreed to in writing, software
17 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
18 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
19 # License for the specific language governing permissions and limitations
22 # For those usages not covered by the Apache License, Version 2.0 please
23 # contact: agarcia@whitestack.com
27 id: cirros_vdu_scaling_vnf
28 product-name: cirros_vdu_scaling_vnf
29 description: Simple VNF example with a cirros and a scaling group descriptor
38 vdu-id: cirros_vnfd-VM
43 - id: default-instantiation-level
45 - number-of-instances: 1
46 vdu-id: cirros_vnfd-VM
48 - id: scale_cirros_vnfd-VM
49 name: scale_cirros_vnfd-VM
52 - id: scale_cirros_vnfd-VM-delta
55 number-of-instances: 1
58 - name: auto_cpu_util_above_threshold
61 - name: group1_cpu_util_above_threshold
62 scale-in-relational-operation: LT
63 scale-in-threshold: 20
64 scale-out-relational-operation: GT
65 scale-out-threshold: 80
66 vnf-monitoring-param-ref: cirros_vnf_cpu_util
67 scaling-type: automatic
71 max-number-of-instances: 10
72 min-number-of-instances: 1
77 description: cirros_vnfd-VM
80 virtual-network-interface-requirement:
87 - id: cirros_vnf_cpu_util
88 name: cirros_vnf_cpu_util
89 performance-metric: cpu_utilization
90 sw-image-desc: cirros034
91 virtual-compute-desc: cirros_vnfd-VM-compute
93 - cirros_vnfd-VM-storage
100 virtual-compute-desc:
101 - id: cirros_vnfd-VM-compute
107 virtual-storage-desc:
108 - id: cirros_vnfd-VM-storage