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
54 description: A VNF consisting of 2 VDUs connected to an internal VL, and one VDU
56 id: hackfest3charmed-vnf
59 internal-connection-point:
60 - id-ref: mgmtVM-internal
61 - id-ref: dataVM-internal
69 - aggregation-type: AVERAGE
73 vdu-monitoring-param-ref: dataVM_cpu_util
75 name: hackfest3charmed-vnf
76 scaling-group-descriptor:
77 - max-instance-count: 10
79 scaling-config-action:
80 - trigger: post-scale-out
81 vnf-config-primitive-name-ref: touch
82 - trigger: pre-scale-in
83 vnf-config-primitive-name-ref: touch
86 name: auto_cpu_util_above_threshold
88 - name: cpu_util_above_threshold
89 scale-in-relational-operation: LE
90 scale-in-threshold: '15.0000000000'
91 scale-out-relational-operation: GE
92 scale-out-threshold: '60.0000000000'
93 vnf-monitoring-param-ref: monitor1
94 scaling-type: automatic
99 short-name: hackfest3charmed-vnf
102 cloud-init-file: cloud-config.txt
104 image: hackfest3-mgmt
106 - external-connection-point-ref: vnf-mgmt
112 - internal-connection-point-ref: mgmtVM-internal
118 internal-connection-point:
119 - id: mgmtVM-internal
120 name: mgmtVM-internal
121 short-name: mgmtVM-internal
130 image: hackfest3-mgmt
132 - internal-connection-point-ref: dataVM-internal
138 - external-connection-point-ref: vnf-data
144 internal-connection-point:
145 - id: dataVM-internal
146 name: dataVM-internal
147 short-name: dataVM-internal
150 - id: dataVM_cpu_util
151 nfvi-metric: cpu_utilization
163 default-value: <touch_filename2>
165 initial-config-primitive:
178 value: <touch_filename>
187 created: 1566823353.971486
188 modified: 1566823353.971486
189 onboardingState: ONBOARDED
190 operationalState: ENABLED
192 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
194 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
196 descriptor: hackfest_3charmed_nsd/hackfest_3charmed_nsd.yaml
197 folder: 8c2f8b95-bb1b-47ee-8001-36dc090678da
200 pkg-dir: hackfest_3charmed_nsd
201 zipfile: package.tar.gz
202 usageState: NOT_IN_USE
204 _id: 8c2f8b95-bb1b-47ee-8001-36dc090678da
206 - member-vnf-index: '1'
207 vnfd-id-ref: hackfest3charmed-vnf
208 - member-vnf-index: '2'
209 vnfd-id-ref: hackfest3charmed-vnf
210 description: NS with 2 VNFs hackfest3charmed-vnf connected by datanet and mgmtnet
212 id: hackfest3charmed-ns
214 name: hackfest3charmed-ns
215 short-name: hackfest3charmed-ns
223 vim-network-name: mgmt
224 vnfd-connection-point-ref:
225 - member-vnf-index-ref: '1'
226 vnfd-connection-point-ref: vnf-mgmt
227 vnfd-id-ref: hackfest3charmed-vnf
228 - member-vnf-index-ref: '2'
229 vnfd-connection-point-ref: vnf-mgmt
230 vnfd-id-ref: hackfest3charmed-vnf
235 vnfd-connection-point-ref:
236 - member-vnf-index-ref: '1'
237 vnfd-connection-point-ref: vnf-data
238 vnfd-id-ref: hackfest3charmed-vnf
239 - member-vnf-index-ref: '2'
240 vnfd-connection-point-ref: vnf-data
241 vnfd-id-ref: hackfest3charmed-vnf