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
50 cloud-init-file: cloud-config.txt
51 sw-image-desc: hackfest3-mgmt
52 virtual-compute-desc: mgmt-compute
57 virtual-network-interface-requirement:
63 int-virtual-link-desc: internal
64 virtual-network-interface-requirement:
71 sw-image-desc: hackfest3-mgmt
72 virtual-compute-desc: data-compute
77 int-virtual-link-desc: internal
78 virtual-network-interface-requirement:
84 virtual-network-interface-requirement:
92 performance-metric: cpu_utilization
94 int-virtual-link-desc:
99 int-cpd: # Connection to int-cpd
103 int-cpd: # Connection to int-cpd
108 - id: hackfest_default
109 vnf-configuration-id: vnf-configuration-example
112 min-number-of-instances: 1
114 min-number-of-instances: 1
115 max-number-of-instances: 10
116 vdu-configuration-id: vdu-configuration-example
121 number-of-instances: 1
123 number-of-instances: 1
128 aspect-delta-details:
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: vnf-configuration-example
155 initial-config-primitive:
169 value: <touch_filename>
174 default-value: <touch_filename2>