2 # Licensed under the Apache License, Version 2.0 (the "License"); you may
3 # not use this file except in compliance with the License. You may obtain
4 # a copy of the License at
6 # http://www.apache.org/licenses/LICENSE-2.0
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11 # License for the specific language governing permissions and limitations
14 # For those usages not covered by the Apache License, Version 2.0 please
15 # contact: esousa@whitestack.com or alfonso.tiernosepulveda@telefonica.com
18 """Contains database content needed for tests"""
20 __author__
= "Pedro de la Cruz Ramos, pedro.delacruzramos@altran.com"
21 __date__
= "2019-11-20"
26 created: 1566823352.7154346
27 modified: 1566823352.7154346
28 onboardingState: ONBOARDED
29 operationalState: ENABLED
31 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
33 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
35 descriptor: hackfest_3charmed_vnfd/hackfest_3charmed_vnfd.yaml
36 folder: 7637bcf8-cf14-42dc-ad70-c66fcf1e6e77
39 pkg-dir: hackfest_3charmed_vnfd
40 zipfile: package.tar.gz
42 usageState: NOT_IN_USE
44 _id: 7637bcf8-cf14-42dc-ad70-c66fcf1e6e77
45 id: hackfest3charmed-vnf
47 A VNF consisting of 2 VDUs connected to an internal VL, and one VDU with
49 product-name: hackfest3charmed-vnf
78 cloud-init-file: cloud-config.txt
79 sw-image-desc: hackfest3-mgmt
80 virtual-compute-desc: mgmt-compute
85 virtual-network-interface-requirement:
91 int-virtual-link-desc: internal
92 virtual-network-interface-requirement:
99 sw-image-desc: hackfest3-mgmt
100 virtual-compute-desc: data-compute
101 virtual-storage-desc:
104 - id: dataVM-internal
105 int-virtual-link-desc: internal
106 virtual-network-interface-requirement:
112 virtual-network-interface-requirement:
117 monitoring-parameter:
118 - id: dataVM_cpu_util
119 name: dataVM_cpu_util
120 performance-metric: cpu_utilization
122 int-virtual-link-desc:
127 int-cpd: # Connection to int-cpd
131 int-cpd: # Connection to int-cpd
136 - id: hackfest_default
137 vnf-configuration-id: vnf-configuration-example
140 min-number-of-instances: 1
142 min-number-of-instances: 1
143 max-number-of-instances: 10
144 vdu-configuration-id: vdu-configuration-example
149 number-of-instances: 1
151 number-of-instances: 1
156 aspect-delta-details:
161 number-of-instances: 1
163 - name: auto_cpu_util_above_threshold
164 scaling-type: automatic
169 - name: cpu_util_above_threshold
170 scale-in-relational-operation: LE
171 scale-in-threshold: '15.0000000000'
172 scale-out-relational-operation: GE
173 scale-out-threshold: '60.0000000000'
174 vnf-monitoring-param-ref: dataVM_cpu_util
175 scaling-config-action:
176 - trigger: post-scale-out
177 vnf-config-primitive-name-ref: touch
178 - trigger: pre-scale-in
179 vnf-config-primitive-name-ref: touch
182 - id: vnf-configuration-example
183 initial-config-primitive:
197 value: <touch_filename>
202 default-value: <touch_filename2>
211 created: 1566823353.971486
212 modified: 1566823353.971486
213 onboardingState: ONBOARDED
214 operationalState: ENABLED
216 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
218 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
220 descriptor: hackfest_3charmed_nsd/hackfest_3charmed_nsd.yaml
221 folder: 8c2f8b95-bb1b-47ee-8001-36dc090678da
224 pkg-dir: hackfest_3charmed_nsd
225 zipfile: package.tar.gz
226 usageState: NOT_IN_USE
228 _id: 8c2f8b95-bb1b-47ee-8001-36dc090678da
229 id: hackfest3charmed-ns
230 name: hackfest3charmed-ns
231 description: NS with 2 VNFs hackfest3charmed-vnf connected by datanet and mgmtnet VLs
236 - hackfest3charmed-vnf
245 - id: hackfest_charmed_DF
247 - id: hackfest_vnf1 # member-vnf-index-ref: 1
248 vnfd-id: hackfest3charmed-vnf
249 virtual-link-connectivity:
250 - virtual-link-profile-id: mgmt
252 - constituent-base-element-id: hackfest_vnf1
253 constituent-cpd-id: vnf-mgmt-ext
254 - virtual-link-profile-id: datanet
256 - constituent-base-element-id: hackfest_vnf1
257 constituent-cpd-id: vnf-data-ext
258 - id: hackfest_vnf2 # member-vnf-index-ref: 2
259 vnfd-id: hackfest3charmed-vnf
260 virtual-link-connectivity:
261 - virtual-link-profile-id: mgmt
263 - constituent-base-element-id: hackfest_vnf2
264 constituent-cpd-id: vnf-mgmt-ext
265 - virtual-link-profile-id: datanet
267 - constituent-base-element-id: hackfest_vnf2
268 constituent-cpd-id: vnf-data-ext