1 # Copyright 2020 Whitestack LLC
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
17 id: hackfest3charmed-vnf
19 A VNF consisting of 2 VDUs connected to an internal VL, and one VDU with
21 product-name: hackfest3charmed-vnf
51 cloud-init-file: cloud-config.txt
52 sw-image-desc: hackfest3-mgmt
53 virtual-compute-desc: mgmtVM-compute
58 virtual-network-interface-requirement:
64 int-virtual-link-desc: internal
65 virtual-network-interface-requirement:
72 sw-image-desc: hackfest3-mgmt
73 virtual-compute-desc: dataVM-compute
78 int-virtual-link-desc: internal
79 virtual-network-interface-requirement:
85 virtual-network-interface-requirement:
93 performance-metric: cpu_utilization
95 int-virtual-link-desc:
100 int-cpd: # Connection to int-cpd
104 int-cpd: # Connection to int-cpd
110 vnf-configuration-id: default-vnf-configuration
113 min-number-of-instances: 1
115 min-number-of-instances: 1
116 max-number-of-instances: 11
118 - id: default-instantiation-level
121 number-of-instances: 1
123 number-of-instances: 1
128 aspect-delta-details:
130 - id: scale_dataVM-delta
133 number-of-instances: 1
135 - name: auto_cpu_util_above_threshold
136 scaling-type: automatic
141 - name: cpu_util_above_threshold
142 scale-in-relational-operation: LE
143 scale-in-threshold: '15.0000000000'
144 scale-out-relational-operation: GE
145 scale-out-threshold: '60.0000000000'
146 vnf-monitoring-param-ref: dataVM_cpu_util
147 scaling-config-action:
148 - trigger: post-scale-out
149 vnf-config-primitive-name-ref: touch
150 - trigger: pre-scale-in
151 vnf-config-primitive-name-ref: touch
154 - id: default-vnf-configuration
155 initial-config-primitive:
169 value: <touch_filename>
174 default-value: <touch_filename2>