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
112 min-number-of-instances: 1
114 min-number-of-instances: 1
115 max-number-of-instances: 11
117 - id: default-instantiation-level
120 number-of-instances: 1
122 number-of-instances: 1
127 aspect-delta-details:
129 - id: scale_dataVM-delta
132 number-of-instances: 1
134 - name: auto_cpu_util_above_threshold
135 scaling-type: automatic
140 - name: cpu_util_above_threshold
141 scale-in-relational-operation: LE
142 scale-in-threshold: '15.0000000000'
143 scale-out-relational-operation: GE
144 scale-out-threshold: '60.0000000000'
145 vnf-monitoring-param-ref: dataVM_cpu_util
146 scaling-config-action:
147 - trigger: post-scale-out
148 vnf-config-primitive-name-ref: touch
149 - trigger: pre-scale-in
150 vnf-config-primitive-name-ref: touch
151 lcm-operations-configuration:
152 operate-vnf-op-config:
154 - id: hackfest3charmed-vnf
155 execution-environment-list:
159 initial-config-primitive:
161 execution-environment-ref: simple-ee
171 execution-environment-ref: simple-ee
175 value: <touch_filename>
178 execution-environment-ref: simple-ee
181 default-value: <touch_filename2>