ed98e114e081a60108647f7ee6a17c10bca77e3b
[osm/LCM.git] / osm_lcm / tests / test_db_descriptors.py
1 #
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
5 #
6 # http://www.apache.org/licenses/LICENSE-2.0
7 #
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
12 # under the License.
13 #
14 # For those usages not covered by the Apache License, Version 2.0 please
15 # contact: esousa@whitestack.com or alfonso.tiernosepulveda@telefonica.com
16 ##
17 db_nsds_text = """
18 ---
19 - _admin:
20 created: 1566823353.971486
21 modified: 1566823353.971486
22 onboardingState: ONBOARDED
23 operationalState: ENABLED
24 projects_read:
25 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
26 projects_write:
27 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
28 storage:
29 descriptor: hackfest_3charmed_nsd/hackfest_3charmed_nsd.yaml
30 folder: 8c2f8b95-bb1b-47ee-8001-36dc090678da
31 fs: local
32 path: /app/storage/
33 pkg-dir: hackfest_3charmed_nsd
34 zipfile: package.tar.gz
35 usageState: NOT_IN_USE
36 userDefinedData: {}
37 _id: 8c2f8b95-bb1b-47ee-8001-36dc090678da
38 constituent-vnfd:
39 - member-vnf-index: '1'
40 vnfd-id-ref: hackfest3charmed-vnf
41 - member-vnf-index: '2'
42 vnfd-id-ref: hackfest3charmed-vnf
43 description: NS with 2 VNFs hackfest3charmed-vnf connected by datanet and mgmtnet
44 VLs
45 id: hackfest3charmed-ns
46 logo: osm.png
47 name: hackfest3charmed-ns
48 short-name: hackfest3charmed-ns
49 version: '1.0'
50 vld:
51 - id: mgmt
52 mgmt-network: true
53 name: mgmt
54 short-name: mgmt
55 type: ELAN
56 vim-network-name: mgmt
57 vnfd-connection-point-ref:
58 - member-vnf-index-ref: '1'
59 vnfd-connection-point-ref: vnf-mgmt
60 vnfd-id-ref: hackfest3charmed-vnf
61 - member-vnf-index-ref: '2'
62 vnfd-connection-point-ref: vnf-mgmt
63 vnfd-id-ref: hackfest3charmed-vnf
64 - id: datanet
65 name: datanet
66 short-name: datanet
67 type: ELAN
68 vnfd-connection-point-ref:
69 - member-vnf-index-ref: '1'
70 vnfd-connection-point-ref: vnf-data
71 vnfd-id-ref: hackfest3charmed-vnf
72 - member-vnf-index-ref: '2'
73 vnfd-connection-point-ref: vnf-data
74 vnfd-id-ref: hackfest3charmed-vnf
75 - _admin:
76 created: 1575031728.9257665
77 modified: 1575031728.9257665
78 onboardingState: ONBOARDED
79 operationalState: ENABLED
80 projects_read:
81 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
82 projects_write:
83 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
84 storage:
85 descriptor: multikdu_ns/multikdu_nsd.yaml
86 folder: d0f63683-9032-4c6f-8928-ffd4674b9f69
87 fs: local
88 path: /app/storage/
89 pkg-dir: multikdu_ns
90 zipfile: multikdu_ns.tar.gz
91 usageState: NOT_IN_USE
92 userDefinedData: {}
93 _id: d0f63683-9032-4c6f-8928-ffd4674b9f69
94 constituent-vnfd:
95 - member-vnf-index: multikdu
96 vnfd-id-ref: multikdu_knf
97 description: NS consisting of a single KNF multikdu_knf connected to mgmt network
98 id: multikdu_ns
99 logo: osm.png
100 name: multikdu_ns
101 short-name: multikdu_ns
102 vendor: OSM
103 version: '1.0'
104 vld:
105 - id: mgmtnet
106 mgmt-network: true
107 name: mgmtnet
108 type: ELAN
109 vim-network-name: mgmt
110 vnfd-connection-point-ref:
111 - member-vnf-index-ref: multikdu
112 vnfd-connection-point-ref: mgmt
113 vnfd-id-ref: multikdu_knf
114 """
115
116 db_nslcmops_text = """
117 ---
118 - _admin:
119 created: 1566823354.4148262
120 modified: 1566823354.4148262
121 projects_read:
122 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
123 projects_write:
124 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
125 worker: 86434c2948e2
126 operations:
127 - member_vnf_index: '1'
128 primitive: touch
129 primitive_params: /home/ubuntu/last-touch-1
130 operationState: COMPLETED
131 detailed-status: Done
132 - member_vnf_index: '1'
133 primitive: touch
134 primitive_params: /home/ubuntu/last-touch-2
135 operationState: COMPLETED
136 detailed-status: Done
137 - member_vnf_index: '2'
138 primitive: touch
139 primitive_params: /home/ubuntu/last-touch-3
140 operationState: FAILED
141 detailed-status: Unknown error
142 _id: a639fac7-e0bb-4225-8ecb-c1f8efcc125e
143 detailed-status: 'FAILED executing proxy charm initial primitives for member_vnf_index=1
144 vdu_id=None: charm error executing primitive verify-ssh-credentials for member_vnf_index=1
145 vdu_id=None: ''timeout after 600 seconds'''
146 id: a639fac7-e0bb-4225-8ecb-c1f8efcc125e
147 isAutomaticInvocation: false
148 isCancelPending: false
149 lcmOperationType: instantiate
150 links:
151 nsInstance: /osm/nslcm/v1/ns_instances/f48163a6-c807-47bc-9682-f72caef5af85
152 self: /osm/nslcm/v1/ns_lcm_op_occs/a639fac7-e0bb-4225-8ecb-c1f8efcc125e
153 nsInstanceId: f48163a6-c807-47bc-9682-f72caef5af85
154 operationParams:
155 additionalParamsForVnf:
156 - additionalParams:
157 touch_filename: /home/ubuntu/first-touch-1
158 touch_filename2: /home/ubuntu/second-touch-1
159 member-vnf-index: '1'
160 - additionalParams:
161 touch_filename: /home/ubuntu/first-touch-2
162 touch_filename2: /home/ubuntu/second-touch-2
163 member-vnf-index: '2'
164 lcmOperationType: instantiate
165 nsDescription: default description
166 nsInstanceId: f48163a6-c807-47bc-9682-f72caef5af85
167 nsName: ALF
168 nsdId: 8c2f8b95-bb1b-47ee-8001-36dc090678da
169 vimAccountId: ea958ba5-4e58-4405-bf42-6e3be15d4c3a
170 operationState: FAILED
171 startTime: 1566823354.414689
172 statusEnteredTime: 1566824534.5112448
173 - _admin:
174 created: 1575034637.044651
175 modified: 1575034637.044651
176 projects_read:
177 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
178 projects_write:
179 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
180 _id: cf3aa178-7640-4174-b921-2330e6f2aad6
181 detailed-status: done
182 id: cf3aa178-7640-4174-b921-2330e6f2aad6
183 isAutomaticInvocation: false
184 isCancelPending: false
185 lcmOperationType: instantiate
186 links:
187 nsInstance: /osm/nslcm/v1/ns_instances/0bcb701c-ee4d-41ab-8ee6-f4156f7f114d
188 self: /osm/nslcm/v1/ns_lcm_op_occs/cf3aa178-7640-4174-b921-2330e6f2aad6
189 nsInstanceId: 0bcb701c-ee4d-41ab-8ee6-f4156f7f114d
190 operationParams:
191 lcmOperationType: instantiate
192 nsDescription: default description
193 nsInstanceId: 0bcb701c-ee4d-41ab-8ee6-f4156f7f114d
194 nsName: multikdu
195 nsdId: d0f63683-9032-4c6f-8928-ffd4674b9f69
196 nsr_id: 0bcb701c-ee4d-41ab-8ee6-f4156f7f114d
197 vimAccountId: 74337dcb-ef54-41e7-bd2d-8c0d7fcd326f
198 vld:
199 - name: mgmtnet
200 vim-network-name: internal
201 operationState: COMPLETED
202 startTime: 1575034637.0445576
203 statusEnteredTime: 1575034663.8484545
204 """
205
206 db_nsrs_text = """
207 ---
208 - _admin:
209 created: 1566823354.3716335
210 deployed:
211 RO:
212 nsd_id: 876573b5-968d-40b9-b52b-91bf5c5844f7
213 nsr_id: c9fe9908-3180-430d-b633-fca2f68db008
214 nsr_status: ACTIVE
215 vnfd:
216 - id: 1ab2a418-9fe3-4358-bf17-411e5155535f
217 member-vnf-index: '1'
218 - id: 0de348e3-c201-4f6a-91cc-7f957e2d5504
219 member-vnf-index: '2'
220 VCA:
221 - application: alf-b-aa
222 detailed-status: Ready!
223 member-vnf-index: '1'
224 model: f48163a6-c807-47bc-9682-f72caef5af85
225 operational-status: active
226 primitive_id: null
227 ssh-public-key: ssh-rsa pub-key root@juju-145d3e-0
228 step: ssh-public-key-obtained
229 vdu_count_index: null
230 vdu_id: null
231 vdu_name: null
232 vnfd_id: hackfest3charmed-vnf
233 - application: alf-c-ab
234 detailed-status: Ready!
235 member-vnf-index: '2'
236 model: f48163a6-c807-47bc-9682-f72caef5af85
237 operational-status: active
238 primitive_id: null
239 ssh-public-key: ssh-rsa pub-key root@juju-145d3e-0
240 step: ssh-public-key-obtained
241 vdu_count_index: null
242 vdu_id: null
243 vdu_name: null
244 vnfd_id: hackfest3charmed-vnf
245 VCA-model-name: f48163a6-c807-47bc-9682-f72caef5af85
246 modified: 1566823354.3716335
247 nsState: INSTANTIATED
248 nslcmop: null
249 projects_read:
250 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
251 projects_write:
252 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
253 _id: f48163a6-c807-47bc-9682-f72caef5af85
254 additionalParamsForNs: null
255 admin-status: ENABLED
256 config-status: init
257 constituent-vnfr-ref:
258 - 88d90b0c-faff-4b9f-bccd-017f33985984
259 - 1ca3bb1a-b29b-49fe-bed6-5f3076d77434
260 create-time: 1566823354.36234
261 datacenter: ea958ba5-4e58-4405-bf42-6e3be15d4c3a
262 description: default description
263 detailed-status: 'ERROR executing proxy charm initial primitives for member_vnf_index=1
264 vdu_id=None: charm error executing primitive verify-ssh-credentials for member_vnf_index=1
265 vdu_id=None: ''timeout after 600 seconds'''
266 id: f48163a6-c807-47bc-9682-f72caef5af85
267 instantiate_params:
268 nsDescription: default description
269 nsName: ALF
270 nsdId: 8c2f8b95-bb1b-47ee-8001-36dc090678da
271 vimAccountId: ea958ba5-4e58-4405-bf42-6e3be15d4c3a
272 name: ALF
273 name-ref: ALF
274 ns-instance-config-ref: f48163a6-c807-47bc-9682-f72caef5af85
275 nsd:
276 _admin:
277 created: 1566823353.971486
278 modified: 1566823353.971486
279 onboardingState: ONBOARDED
280 operationalState: ENABLED
281 projects_read:
282 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
283 projects_write:
284 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
285 storage:
286 descriptor: hackfest_3charmed_nsd/hackfest_3charmed_nsd.yaml
287 folder: 8c2f8b95-bb1b-47ee-8001-36dc090678da
288 fs: local
289 path: /app/storage/
290 pkg-dir: hackfest_3charmed_nsd
291 zipfile: package.tar.gz
292 usageState: NOT_IN_USE
293 userDefinedData: {}
294 _id: 8c2f8b95-bb1b-47ee-8001-36dc090678da
295 constituent-vnfd:
296 - member-vnf-index: '1'
297 vnfd-id-ref: hackfest3charmed-vnf
298 - member-vnf-index: '2'
299 vnfd-id-ref: hackfest3charmed-vnf
300 description: NS with 2 VNFs hackfest3charmed-vnf connected by datanet and
301 mgmtnet VLs
302 id: hackfest3charmed-ns
303 logo: osm.png
304 name: hackfest3charmed-ns
305 short-name: hackfest3charmed-ns
306 version: '1.0'
307 vld:
308 - id: mgmt
309 mgmt-network: true
310 name: mgmt
311 short-name: mgmt
312 type: ELAN
313 vim-network-name: mgmt
314 vnfd-connection-point-ref:
315 - member-vnf-index-ref: '1'
316 vnfd-connection-point-ref: vnf-mgmt
317 vnfd-id-ref: hackfest3charmed-vnf
318 - member-vnf-index-ref: '2'
319 vnfd-connection-point-ref: vnf-mgmt
320 vnfd-id-ref: hackfest3charmed-vnf
321 - id: datanet
322 name: datanet
323 short-name: datanet
324 type: ELAN
325 vnfd-connection-point-ref:
326 - member-vnf-index-ref: '1'
327 vnfd-connection-point-ref: vnf-data
328 vnfd-id-ref: hackfest3charmed-vnf
329 - member-vnf-index-ref: '2'
330 vnfd-connection-point-ref: vnf-data
331 vnfd-id-ref: hackfest3charmed-vnf
332 nsd-id: 8c2f8b95-bb1b-47ee-8001-36dc090678da
333 nsd-name-ref: hackfest3charmed-ns
334 nsd-ref: hackfest3charmed-ns
335 operational-events: []
336 operational-status: failed
337 orchestration-progress: {}
338 resource-orchestrator: osmopenmano
339 short-name: ALF
340 ssh-authorized-key: null
341 vld:
342 - id: mgmt
343 name: null
344 status: ACTIVE
345 status-detailed: null
346 vim-id: f99ae780-0e2f-4985-af41-574eae6919c0
347 vim-network-name: mgmt
348 - id: datanet
349 name: ALF-datanet
350 status: ACTIVE
351 status-detailed: null
352 vim-id: c31364ba-f573-4ab6-bf1a-fed30ede39a8
353 vnfd-id:
354 - 7637bcf8-cf14-42dc-ad70-c66fcf1e6e77
355 - _admin:
356 created: 1575034637.011233
357 current-operation: null
358 deployed:
359 K8s:
360 - k8scluster-uuid: 73d96432-d692-40d2-8440-e0c73aee209c
361 kdu-instance: stable-mongodb-0086856106
362 kdu-model: stable/mongodb
363 kdu-name: mongo
364 vnfr-id: 5ac34899-a23a-4b3c-918a-cd77acadbea6
365 - k8scluster-uuid: 73d96432-d692-40d2-8440-e0c73aee209c
366 kdu-instance: stable-openldap-0092830263
367 kdu-model: stable/mongodb
368 kdu-name: mongo
369 vnfr-id: 5ac34899-a23a-4b3c-918a-cd77acadbea6
370 RO:
371 detailed-status: Deployed at VIM
372 nsd_id: b03a8de8-1898-4142-bc6d-3b0787df567d
373 nsr_id: b5ce3e00-8647-415d-afaa-d5a612cf3074
374 nsr_status: ACTIVE
375 operational-status: running
376 vnfd:
377 - id: b9493dae-a4c9-4b96-8965-329581efb0a1
378 member-vnf-index: multikdu
379 VCA: []
380 modified: 1575034637.011233
381 nsState: INSTANTIATED
382 nslcmop: null
383 operation-type: null
384 projects_read:
385 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
386 projects_write:
387 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
388 _id: 0bcb701c-ee4d-41ab-8ee6-f4156f7f114d
389 additionalParamsForNs: null
390 admin-status: ENABLED
391 config-status: configured
392 constituent-vnfr-ref:
393 - 5ac34899-a23a-4b3c-918a-cd77acadbea6
394 create-time: 1575034636.9990137
395 datacenter: ea958ba5-4e58-4405-bf42-6e3be15d4c3a
396 description: default description
397 detailed-status: done
398 id: 0bcb701c-ee4d-41ab-8ee6-f4156f7f114d
399 instantiate_params:
400 nsDescription: default description
401 nsName: multikdu
402 nsdId: d0f63683-9032-4c6f-8928-ffd4674b9f69
403 vimAccountId: 74337dcb-ef54-41e7-bd2d-8c0d7fcd326f
404 name: multikdu
405 name-ref: multikdu
406 ns-instance-config-ref: 0bcb701c-ee4d-41ab-8ee6-f4156f7f114d
407 nsd-id: d0f63683-9032-4c6f-8928-ffd4674b9f69
408 nsd-name-ref: multikdu_ns
409 nsd-ref: multikdu_ns
410 operational-events: []
411 operational-status: init
412 orchestration-progress: {}
413 resource-orchestrator: osmopenmano
414 short-name: multikdu
415 ssh-authorized-key: null
416 vld:
417 - id: mgmtnet
418 name: null
419 status: ACTIVE
420 status-detailed: null
421 vim-id: 9b6a2ac4-767e-4ec9-9497-8ba63084c77f
422 vim-network-name: mgmt
423 vnfd-id:
424 - 7ab0d10d-8ce2-4c68-aef6-cc5a437a9c62
425 """
426
427 db_ro_ns_text = """
428 datacenter_tenant_id: dc5c67fa-c7f2-11e9-b9c0-02420aff0004
429 description: null
430 name: ALF
431 nets:
432 - created: false
433 datacenter_id: dc51ce6c-c7f2-11e9-b9c0-02420aff0004
434 datacenter_tenant_id: dc5c67fa-c7f2-11e9-b9c0-02420aff0004
435 error_msg: null
436 ns_net_osm_id: mgmt
437 related: c6bac394-fa27-4c43-bb34-42f621a9d343
438 sce_net_id: 8f215bab-c35e-41e6-a035-42bfaa07af9f
439 sdn_net_id: null
440 status: ACTIVE
441 uuid: c6bac394-fa27-4c43-bb34-42f621a9d343
442 vim_info: "{vim_info: null}"
443 vim_name: null
444 vim_net_id: f99ae780-0e2f-4985-af41-574eae6919c0
445 vnf_net_id: null
446 vnf_net_osm_id: null
447 - created: true
448 datacenter_id: dc51ce6c-c7f2-11e9-b9c0-02420aff0004
449 datacenter_tenant_id: dc5c67fa-c7f2-11e9-b9c0-02420aff0004
450 error_msg: null
451 ns_net_osm_id: datanet
452 related: 509d576c-120f-493a-99a1-5fea99dfe041
453 sce_net_id: 3d766bbc-33a8-41aa-a986-2f35e8d25c16
454 sdn_net_id: null
455 status: ACTIVE
456 uuid: 509d576c-120f-493a-99a1-5fea99dfe041
457 vim_info: "{vim_info: null}"
458 vim_name: ALF-datanet
459 vim_net_id: c31364ba-f573-4ab6-bf1a-fed30ede39a8
460 vnf_net_id: null
461 vnf_net_osm_id: null
462 - created: true
463 datacenter_id: dc51ce6c-c7f2-11e9-b9c0-02420aff0004
464 datacenter_tenant_id: dc5c67fa-c7f2-11e9-b9c0-02420aff0004
465 error_msg: null
466 ns_net_osm_id: null
467 related: 277fed09-3220-4bfd-9052-b96b21a32daf
468 sce_net_id: null
469 sdn_net_id: null
470 status: ACTIVE
471 uuid: 277fed09-3220-4bfd-9052-b96b21a32daf
472 vim_info: "{vim_info: null}"
473 vim_name: ALF-internal
474 vim_net_id: ff181e6d-2597-4244-b40b-bb0174bdfeb6
475 vnf_net_id: 62e62fae-c12b-4ebc-9a9b-30031c6c16fa
476 vnf_net_osm_id: internal
477 - created: true
478 datacenter_id: dc51ce6c-c7f2-11e9-b9c0-02420aff0004
479 datacenter_tenant_id: dc5c67fa-c7f2-11e9-b9c0-02420aff0004
480 error_msg: null
481 ns_net_osm_id: null
482 related: 92534d1a-e697-4372-a84d-aa0aa643b68a
483 sce_net_id: null
484 sdn_net_id: null
485 status: ACTIVE
486 uuid: 92534d1a-e697-4372-a84d-aa0aa643b68a
487 vim_info: "{vim_info: null}"
488 vim_name: ALF-internal
489 vim_net_id: 09655387-b639-421a-b5f6-72b26d685fb4
490 vnf_net_id: 13c6c77d-86a5-4914-832c-990d4ec7b54e
491 vnf_net_osm_id: internal
492 nsd_osm_id: f48163a6-c807-47bc-9682-f72caef5af85.2.hackfest3charmed-ns
493 scenario_id: 876573b5-968d-40b9-b52b-91bf5c5844f7
494 scenario_name: hackfest3charmed-ns
495 sfis: []
496 sfps: []
497 sfs: []
498 tenant_id: 0ea38bd0-2729-47a9-ae07-c6ce76115eb2
499 uuid: c9fe9908-3180-430d-b633-fca2f68db008
500 vnfs:
501 - datacenter_id: dc51ce6c-c7f2-11e9-b9c0-02420aff0004
502 datacenter_tenant_id: dc5c67fa-c7f2-11e9-b9c0-02420aff0004
503 ip_address: 10.205.1.46
504 member_vnf_index: '1'
505 mgmt_access: '{interface_id: 61549ee3-cd6c-4930-8b90-eaad97fe345b, required: ''False'',
506 vm_id: 6cf4a48f-3b6c-4395-8221-119fa37de24a}
507
508 '
509 sce_vnf_id: 83be04a8-c513-42ba-9908-22728f686d31
510 uuid: 94724042-7576-4fb0-82ec-6a7ab642741c
511 vms:
512 - created_at: '2019-08-26T12:50:38'
513 error_msg: null
514 interfaces:
515 - external_name: vnf-mgmt
516 instance_net_id: c6bac394-fa27-4c43-bb34-42f621a9d343
517 internal_name: mgmtVM-eth0
518 ip_address: 10.205.1.46
519 mac_address: fa:16:3e:b4:3e:b1
520 sdn_port_id: null
521 type: mgmt
522 vim_info: "{vim_info: null}"
523 vim_interface_id: 4d3cb8fd-7040-4169-a0ad-2486d2b006a1
524 - external_name: null
525 instance_net_id: 277fed09-3220-4bfd-9052-b96b21a32daf
526 internal_name: mgmtVM-eth1
527 ip_address: 192.168.54.2
528 mac_address: fa:16:3e:6e:7e:78
529 sdn_port_id: null
530 type: bridge
531 vim_info: "{vim_info: null}"
532 vim_interface_id: 54ed68e2-9802-4dfe-b68a-280b3fc6e02d
533 ip_address: 10.205.1.46
534 name: mgmtVM
535 related: d0b91293-a91d-4f08-b15f-0bf841216dfe
536 status: ACTIVE
537 uuid: d0b91293-a91d-4f08-b15f-0bf841216dfe
538 vdu_osm_id: mgmtVM
539 vim_info: "{vim_info: null}"
540 vim_name: ALF-1-mgmtVM-1
541 vim_vm_id: c2538499-4c30-41c0-acd5-80cb92f48061
542 - created_at: '2019-08-26T12:50:38'
543 error_msg: null
544 interfaces:
545 - external_name: null
546 instance_net_id: 277fed09-3220-4bfd-9052-b96b21a32daf
547 internal_name: dataVM-eth0
548 ip_address: 192.168.54.3
549 mac_address: fa:16:3e:d9:7a:5d
550 sdn_port_id: null
551 type: bridge
552 vim_info: "{vim_info: null}"
553 vim_interface_id: 1637f350-8840-4241-8ed0-4616bdcecfcf
554 - external_name: vnf-data
555 instance_net_id: 509d576c-120f-493a-99a1-5fea99dfe041
556 internal_name: dataVM-xe0
557 ip_address: 192.168.24.3
558 mac_address: fa:16:3e:d1:6c:0d
559 sdn_port_id: null
560 type: bridge
561 vim_info: "{vim_info: null}"
562 vim_interface_id: 54c73e83-7059-41fe-83a9-4c4ae997b481
563 name: dataVM
564 related: 5c08253d-8a35-474f-b0d3-c5297d174c13
565 status: ACTIVE
566 uuid: 5c08253d-8a35-474f-b0d3-c5297d174c13
567 vdu_osm_id: dataVM
568 vim_info: "{vim_info: null}"
569 vim_name: ALF-1-dataVM-1
570 vim_vm_id: 87973c3f-365d-4227-95c2-7a8abc74349c
571 - created_at: '2019-08-26T13:40:54'
572 error_msg: null
573 interfaces:
574 - external_name: null
575 instance_net_id: 277fed09-3220-4bfd-9052-b96b21a32daf
576 internal_name: dataVM-eth0
577 ip_address: 192.168.54.5
578 mac_address: fa:16:3e:e4:17:45
579 sdn_port_id: null
580 type: bridge
581 vim_info: "{vim_info: null}"
582 vim_interface_id: 7e246e40-8710-4c33-9c95-78fc3c02bc5b
583 - external_name: vnf-data
584 instance_net_id: 509d576c-120f-493a-99a1-5fea99dfe041
585 internal_name: dataVM-xe0
586 ip_address: 192.168.24.5
587 mac_address: fa:16:3e:29:6f:a6
588 sdn_port_id: null
589 type: bridge
590 vim_info: "{vim_info: null}"
591 vim_interface_id: ce81af7a-9adf-494b-950e-6581fd04ecc4
592 name: dataVM
593 related: 1ae5a0a2-c15a-49a4-a77c-2991d97f6dbe
594 status: ACTIVE
595 uuid: 1ae5a0a2-c15a-49a4-a77c-2991d97f6dbe
596 vdu_osm_id: dataVM
597 vim_info: "{vim_info: null}"
598 vim_name: ALF-1-dataVM-2
599 vim_vm_id: 4916533e-36c6-4861-9fe3-366a8fb0a5f8
600 vnf_id: 1ab2a418-9fe3-4358-bf17-411e5155535f
601 vnf_name: hackfest3charmed-vnf.1
602 vnfd_osm_id: f48163a6-c807-47bc-9682-f72caef5af85.0.1
603 - datacenter_id: dc51ce6c-c7f2-11e9-b9c0-02420aff0004
604 datacenter_tenant_id: dc5c67fa-c7f2-11e9-b9c0-02420aff0004
605 ip_address: 10.205.1.47
606 member_vnf_index: '2'
607 mgmt_access: '{interface_id: 538604c3-5c5e-41eb-8f84-c0239c7fabcd, required: ''False'',
608 vm_id: dd04d792-05c9-4ecc-bf28-f77384d00311}
609
610 '
611 sce_vnf_id: c4f3607a-08ff-4f75-893c-fce507e2f240
612 uuid: 00020403-e80f-4ef2-bb7e-b29669643035
613 vms:
614 - created_at: '2019-08-26T12:50:38'
615 error_msg: null
616 interfaces:
617 - external_name: vnf-mgmt
618 instance_net_id: c6bac394-fa27-4c43-bb34-42f621a9d343
619 internal_name: mgmtVM-eth0
620 ip_address: 10.205.1.47
621 mac_address: fa:16:3e:cb:9f:c7
622 sdn_port_id: null
623 type: mgmt
624 vim_info: "{vim_info: null}"
625 vim_interface_id: dcd6d2de-3c68-481c-883e-e9d38c671dc4
626 - external_name: null
627 instance_net_id: 92534d1a-e697-4372-a84d-aa0aa643b68a
628 internal_name: mgmtVM-eth1
629 ip_address: 192.168.231.1
630 mac_address: fa:16:3e:1a:89:24
631 sdn_port_id: null
632 type: bridge
633 vim_info: "{vim_info: null}"
634 vim_interface_id: 50e538e3-aba0-4652-93bb-20487f3f28e1
635 ip_address: 10.205.1.47
636 name: mgmtVM
637 related: 4543ab5d-578c-427c-9df2-affd17e21b66
638 status: ACTIVE
639 uuid: 4543ab5d-578c-427c-9df2-affd17e21b66
640 vdu_osm_id: mgmtVM
641 vim_info: "{vim_info: null}"
642 vim_name: ALF-2-mgmtVM-1
643 vim_vm_id: 248077b2-e3b8-4a37-8b72-575abb8ed912
644 - created_at: '2019-08-26T12:50:38'
645 error_msg: null
646 interfaces:
647 - external_name: null
648 instance_net_id: 92534d1a-e697-4372-a84d-aa0aa643b68a
649 internal_name: dataVM-eth0
650 ip_address: 192.168.231.3
651 mac_address: fa:16:3e:7e:ba:8c
652 sdn_port_id: null
653 type: bridge
654 vim_info: "{vim_info: null}"
655 vim_interface_id: 15274862-14ea-4527-b405-101cae8bc1a0
656 - external_name: vnf-data
657 instance_net_id: 509d576c-120f-493a-99a1-5fea99dfe041
658 internal_name: dataVM-xe0
659 ip_address: 192.168.24.4
660 mac_address: fa:16:3e:d2:e1:f5
661 sdn_port_id: null
662 type: bridge
663 vim_info: "{vim_info: null}"
664 vim_interface_id: 253ebe4e-38d5-46be-8777-dbb57510a2ec
665 name: dataVM
666 related: 6f03f16b-295a-47a1-9a69-2d069d574a33
667 status: ACTIVE
668 uuid: 6f03f16b-295a-47a1-9a69-2d069d574a33
669 vdu_osm_id: dataVM
670 vim_info: "{vim_info: null}"
671 vim_name: ALF-2-dataVM-1
672 vim_vm_id: a4ce4372-e0ad-4ae3-8f9f-1c969f32e77b
673 vnf_id: 0de348e3-c201-4f6a-91cc-7f957e2d5504
674 vnf_name: hackfest3charmed-vnf.2
675 vnfd_osm_id: f48163a6-c807-47bc-9682-f72caef5af85.1.2
676 """
677
678 db_vim_accounts_text = """
679 ---
680 - _admin:
681 created: 1566818150.3024442
682 current_operation: 0
683 deployed:
684 RO: dc51ce6c-c7f2-11e9-b9c0-02420aff0004
685 RO-account: dc5c67fa-c7f2-11e9-b9c0-02420aff0004
686 detailed-status: Done
687 modified: 1566818150.3024442
688 operationalState: ENABLED
689 operations:
690 - detailed-status: Done
691 lcmOperationType: create
692 operationParams: null
693 operationState: COMPLETED
694 startTime: 1566818150.3025382
695 statusEnteredTime: 1566818150.3025382
696 worker: 86434c2948e2
697 projects_read:
698 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
699 projects_write:
700 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
701 _id: ea958ba5-4e58-4405-bf42-6e3be15d4c3a
702 description: Openstack site 2, based on Mirantis, also called DSS9000-1, with
703 tenant tid
704 name: ost2-mrt-tid
705 schema_version: '1.1'
706 vim_password: 5g0yGX86qIhprX86YTMcpg==
707 vim_tenant_name: osm
708 vim_type: openstack
709 vim_url: http://10.95.87.162:5000/v2.0
710 vim_user: osm
711 """
712
713 db_k8sclusters_text = """
714 - _admin:
715 created: 1575031378.9268339
716 current_operation: 0
717 modified: 1575031378.9268339
718 operationalState: ENABLED
719 operations:
720 - detailed-status: ''
721 lcmOperationType: create
722 operationParams: null
723 operationState: ''
724 startTime: 1575031378.926895
725 statusEnteredTime: 1575031378.926895
726 worker: 36681ccf7f32
727 projects_read:
728 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
729 projects_write:
730 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
731 helm-chart:
732 id: 73d96432-d692-40d2-8440-e0c73aee209c
733 created: True
734 _id: e7169dab-f71a-4f1f-b82b-432605e8c4b3
735 credentials:
736 apiVersion: v1
737 users:
738 - name: admin
739 user:
740 password: qhpdogJXhBLG+JiYyyE0LeNsJXHkCSMy+sGVzlnJqes=
741 username: admin
742 description: Cluster3
743 k8s_version: '1.15'
744 name: cluster3
745 namespace: kube-system
746 nets:
747 net1: None
748 schema_version: '1.11'
749 vim_account: ea958ba5-4e58-4405-bf42-6e3be15d4c3a
750 """
751
752 db_vnfds_text = """
753 ---
754 - _admin:
755 created: 1566823352.7154346
756 modified: 1566823353.9295402
757 onboardingState: ONBOARDED
758 operationalState: ENABLED
759 projects_read:
760 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
761 projects_write:
762 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
763 storage:
764 descriptor: hackfest_3charmed_vnfd/hackfest_3charmed_vnfd.yaml
765 folder: 7637bcf8-cf14-42dc-ad70-c66fcf1e6e77
766 fs: local
767 path: /app/storage/
768 pkg-dir: hackfest_3charmed_vnfd
769 zipfile: package.tar.gz
770 type: vnfd
771 usageState: NOT_IN_USE
772 userDefinedData: {}
773 _id: 7637bcf8-cf14-42dc-ad70-c66fcf1e6e77
774 connection-point:
775 - id: vnf-mgmt
776 name: vnf-mgmt
777 short-name: vnf-mgmt
778 type: VPORT
779 - id: vnf-data
780 name: vnf-data
781 short-name: vnf-data
782 type: VPORT
783 description: A VNF consisting of 2 VDUs connected to an internal VL, and one VDU
784 with cloud-init
785 id: hackfest3charmed-vnf
786 internal-vld:
787 - id: internal
788 internal-connection-point:
789 - id-ref: mgmtVM-internal
790 - id-ref: dataVM-internal
791 name: internal
792 short-name: internal
793 type: ELAN
794 logo: osm.png
795 mgmt-interface:
796 cp: vnf-mgmt
797 monitoring-param:
798 - aggregation-type: AVERAGE
799 id: monitor1
800 name: monitor1
801 vdu-monitoring-param:
802 vdu-monitoring-param-ref: dataVM_cpu_util
803 vdu-ref: dataVM
804 name: hackfest3charmed-vnf
805 scaling-group-descriptor:
806 - max-instance-count: 10
807 name: scale_dataVM
808 scaling-config-action:
809 - trigger: post-scale-out
810 vnf-config-primitive-name-ref: touch
811 - trigger: pre-scale-in
812 vnf-config-primitive-name-ref: touch
813 scaling-policy:
814 - cooldown-time: 60
815 name: auto_cpu_util_above_threshold
816 scaling-criteria:
817 - name: cpu_util_above_threshold
818 scale-in-relational-operation: LE
819 scale-in-threshold: '15.0000000000'
820 scale-out-relational-operation: GE
821 scale-out-threshold: '60.0000000000'
822 vnf-monitoring-param-ref: monitor1
823 scaling-type: automatic
824 threshold-time: 0
825 vdu:
826 - count: 1
827 vdu-id-ref: dataVM
828 short-name: hackfest3charmed-vnf
829 vdu:
830 - count: '1'
831 cloud-init-file: cloud-config.txt
832 id: mgmtVM
833 image: hackfest3-mgmt
834 interface:
835 - external-connection-point-ref: vnf-mgmt
836 name: mgmtVM-eth0
837 position: 1
838 type: EXTERNAL
839 virtual-interface:
840 type: VIRTIO
841 - internal-connection-point-ref: mgmtVM-internal
842 name: mgmtVM-eth1
843 position: 2
844 type: INTERNAL
845 virtual-interface:
846 type: VIRTIO
847 internal-connection-point:
848 - id: mgmtVM-internal
849 name: mgmtVM-internal
850 short-name: mgmtVM-internal
851 type: VPORT
852 name: mgmtVM
853 vm-flavor:
854 memory-mb: '1024'
855 storage-gb: '10'
856 vcpu-count: 1
857 - count: '1'
858 id: dataVM
859 image: hackfest3-mgmt
860 interface:
861 - internal-connection-point-ref: dataVM-internal
862 name: dataVM-eth0
863 position: 1
864 type: INTERNAL
865 virtual-interface:
866 type: VIRTIO
867 - external-connection-point-ref: vnf-data
868 name: dataVM-xe0
869 position: 2
870 type: EXTERNAL
871 virtual-interface:
872 type: VIRTIO
873 internal-connection-point:
874 - id: dataVM-internal
875 name: dataVM-internal
876 short-name: dataVM-internal
877 type: VPORT
878 monitoring-param:
879 - id: dataVM_cpu_util
880 nfvi-metric: cpu_utilization
881 name: dataVM
882 vm-flavor:
883 memory-mb: '1024'
884 storage-gb: '10'
885 vcpu-count: 1
886 version: '1.0'
887 vnf-configuration:
888 config-access:
889 ssh-access:
890 required: True
891 default-user: ubuntu
892 config-primitive:
893 - name: touch
894 parameter:
895 - data-type: STRING
896 default-value: <touch_filename2>
897 name: filename
898 initial-config-primitive:
899 - name: config
900 parameter:
901 - name: ssh-hostname
902 value: <rw_mgmt_ip>
903 - name: ssh-username
904 value: ubuntu
905 - name: ssh-password
906 value: osm4u
907 seq: '1'
908 - name: touch
909 parameter:
910 - name: filename
911 value: <touch_filename>
912 seq: '2'
913 juju:
914 charm: simple
915 - _admin:
916 created: 1575031727.5383403
917 modified: 1575031727.5383403
918 onboardingState: ONBOARDED
919 operationalState: ENABLED
920 projects_read:
921 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
922 projects_write:
923 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
924 storage:
925 descriptor: multikdu_knf/multikdu_vnfd.yaml
926 folder: 7ab0d10d-8ce2-4c68-aef6-cc5a437a9c62
927 fs: local
928 path: /app/storage/
929 pkg-dir: multikdu_knf
930 zipfile: multikdu_knf.tar.gz
931 usageState: NOT_IN_USE
932 userDefinedData: {}
933 _id: 7ab0d10d-8ce2-4c68-aef6-cc5a437a9c62
934 connection-point:
935 - name: mgmt
936 description: KNF with two KDU using helm-charts
937 id: multikdu_knf
938 k8s-cluster:
939 nets:
940 - external-connection-point-ref: mgmt
941 id: mgmtnet
942 kdu:
943 - helm-chart: stable/openldap:1.2.1
944 name: ldap
945 - helm-chart: stable/mongodb
946 name: mongo
947 mgmt-interface:
948 cp: mgmt
949 name: multikdu_knf
950 short-name: multikdu_knf
951 vendor: Telefonica
952 version: '1.0'
953 """
954
955 db_vnfrs_text = """
956 ---
957 - _admin:
958 created: 1566823354.3668208
959 modified: 1566823354.3668208
960 nsState: NOT_INSTANTIATED
961 projects_read:
962 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
963 projects_write:
964 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
965 _id: 88d90b0c-faff-4b9f-bccd-017f33985984
966 additionalParamsForVnf:
967 touch_filename: /home/ubuntu/first-touch-1
968 touch_filename2: /home/ubuntu/second-touch-1
969 connection-point:
970 - connection-point-id: vnf-mgmt
971 id: vnf-mgmt
972 name: vnf-mgmt
973 - connection-point-id: vnf-data
974 id: vnf-data
975 name: vnf-data
976 created-time: 1566823354.36234
977 id: 88d90b0c-faff-4b9f-bccd-017f33985984
978 ip-address: 10.205.1.46
979 member-vnf-index-ref: '1'
980 nsr-id-ref: f48163a6-c807-47bc-9682-f72caef5af85
981 vdur:
982 - _id: f0e7d7ce-2443-4dcb-ad0b-5ab9f3b13d37
983 count-index: 0
984 interfaces:
985 - ip-address: 10.205.1.46
986 mac-address: fa:16:3e:b4:3e:b1
987 mgmt-vnf: true
988 name: mgmtVM-eth0
989 ns-vld-id: mgmt
990 - ip-address: 192.168.54.2
991 mac-address: fa:16:3e:6e:7e:78
992 name: mgmtVM-eth1
993 vnf-vld-id: internal
994 internal-connection-point:
995 - connection-point-id: mgmtVM-internal
996 id: mgmtVM-internal
997 name: mgmtVM-internal
998 ip-address: 10.205.1.46
999 name: ALF-1-mgmtVM-1
1000 status: ACTIVE
1001 status-detailed: null
1002 vdu-id-ref: mgmtVM
1003 vim-id: c2538499-4c30-41c0-acd5-80cb92f48061
1004 - _id: ab453219-2d9a-45c2-864d-2c0788385028
1005 count-index: 0
1006 interfaces:
1007 - ip-address: 192.168.54.3
1008 mac-address: fa:16:3e:d9:7a:5d
1009 name: dataVM-eth0
1010 vnf-vld-id: internal
1011 - ip-address: 192.168.24.3
1012 mac-address: fa:16:3e:d1:6c:0d
1013 name: dataVM-xe0
1014 ns-vld-id: datanet
1015 internal-connection-point:
1016 - connection-point-id: dataVM-internal
1017 id: dataVM-internal
1018 name: dataVM-internal
1019 ip-address: null
1020 name: ALF-1-dataVM-1
1021 status: ACTIVE
1022 status-detailed: null
1023 vdu-id-ref: dataVM
1024 vim-id: 87973c3f-365d-4227-95c2-7a8abc74349c
1025 vim-account-id: ea958ba5-4e58-4405-bf42-6e3be15d4c3a
1026 vld:
1027 - id: internal
1028 name: ALF-internal
1029 status: ACTIVE
1030 status-detailed: null
1031 vim-id: ff181e6d-2597-4244-b40b-bb0174bdfeb6
1032 vnfd-id: 7637bcf8-cf14-42dc-ad70-c66fcf1e6e77
1033 vnfd-ref: hackfest3charmed-vnf
1034 - _admin:
1035 created: 1566823354.3703845
1036 modified: 1566823354.3703845
1037 nsState: NOT_INSTANTIATED
1038 projects_read:
1039 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
1040 projects_write:
1041 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
1042 _id: 1ca3bb1a-b29b-49fe-bed6-5f3076d77434
1043 additionalParamsForVnf:
1044 touch_filename: /home/ubuntu/first-touch-2
1045 touch_filename2: /home/ubuntu/second-touch-2
1046 connection-point:
1047 - connection-point-id: vnf-mgmt
1048 id: vnf-mgmt
1049 name: vnf-mgmt
1050 - connection-point-id: vnf-data
1051 id: vnf-data
1052 name: vnf-data
1053 created-time: 1566823354.36234
1054 id: 1ca3bb1a-b29b-49fe-bed6-5f3076d77434
1055 ip-address: 10.205.1.47
1056 member-vnf-index-ref: '2'
1057 nsr-id-ref: f48163a6-c807-47bc-9682-f72caef5af85
1058 vdur:
1059 - _id: 190b4a2c-4f85-4cfe-9406-4cef7ffb1e67
1060 count-index: 0
1061 interfaces:
1062 - ip-address: 10.205.1.47
1063 mac-address: fa:16:3e:cb:9f:c7
1064 mgmt-vnf: true
1065 name: mgmtVM-eth0
1066 ns-vld-id: mgmt
1067 - ip-address: 192.168.231.1
1068 mac-address: fa:16:3e:1a:89:24
1069 name: mgmtVM-eth1
1070 vnf-vld-id: internal
1071 internal-connection-point:
1072 - connection-point-id: mgmtVM-internal
1073 id: mgmtVM-internal
1074 name: mgmtVM-internal
1075 ip-address: 10.205.1.47
1076 name: ALF-2-mgmtVM-1
1077 status: ACTIVE
1078 status-detailed: null
1079 vdu-id-ref: mgmtVM
1080 vim-id: 248077b2-e3b8-4a37-8b72-575abb8ed912
1081 - _id: 889b874d-e1c3-4e75-aa45-53a9b0ddabd9
1082 count-index: 0
1083 interfaces:
1084 - ip-address: 192.168.231.3
1085 mac-address: fa:16:3e:7e:ba:8c
1086 name: dataVM-eth0
1087 vnf-vld-id: internal
1088 - ip-address: 192.168.24.4
1089 mac-address: fa:16:3e:d2:e1:f5
1090 name: dataVM-xe0
1091 ns-vld-id: datanet
1092 internal-connection-point:
1093 - connection-point-id: dataVM-internal
1094 id: dataVM-internal
1095 name: dataVM-internal
1096 ip-address: null
1097 name: ALF-2-dataVM-1
1098 status: ACTIVE
1099 status-detailed: null
1100 vdu-id-ref: dataVM
1101 vim-id: a4ce4372-e0ad-4ae3-8f9f-1c969f32e77b
1102 vim-account-id: ea958ba5-4e58-4405-bf42-6e3be15d4c3a
1103 vld:
1104 - id: internal
1105 name: ALF-internal
1106 status: ACTIVE
1107 status-detailed: null
1108 vim-id: ff181e6d-2597-4244-b40b-bb0174bdfeb6
1109 vnfd-id: 7637bcf8-cf14-42dc-ad70-c66fcf1e6e77
1110 vnfd-ref: hackfest3charmed-vnf
1111 - _admin:
1112 created: 1575034637.009597
1113 modified: 1575034637.009597
1114 nsState: NOT_INSTANTIATED
1115 projects_read:
1116 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
1117 projects_write:
1118 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
1119 _id: 5ac34899-a23a-4b3c-918a-cd77acadbea6
1120 additionalParamsForVnf: null
1121 connection-point:
1122 - connection-point-id: null
1123 id: null
1124 name: mgmt
1125 created-time: 1575034636.9990137
1126 id: 5ac34899-a23a-4b3c-918a-cd77acadbea6
1127 ip-address: null
1128 k8s-cluster:
1129 nets:
1130 - external-connection-point-ref: mgmt
1131 id: mgmtnet
1132 ns-vld-id: mgmtnet
1133 vim_net: internal
1134 kdur:
1135 - ip-address: null
1136 k8s-cluster:
1137 id: e7169dab-f71a-4f1f-b82b-432605e8c4b3
1138 kdu-name: ldap
1139 helm-chart: stable/openldap:1.2.1
1140 - ip-address: null
1141 k8s-cluster:
1142 id: e7169dab-f71a-4f1f-b82b-432605e8c4b3
1143 kdu-name: mongo
1144 helm-chart: stable/mongodb
1145 member-vnf-index-ref: multikdu
1146 nsr-id-ref: 0bcb701c-ee4d-41ab-8ee6-f4156f7f114d
1147 vdur: []
1148 vim-account-id: 74337dcb-ef54-41e7-bd2d-8c0d7fcd326f
1149 vnfd-id: 7ab0d10d-8ce2-4c68-aef6-cc5a437a9c62
1150 vnfd-ref: multikdu_knf
1151 """
1152
1153 db_nslcmops_scale_text = """
1154 ---
1155 - _admin:
1156 created: 1565250912.2643092
1157 modified: 1570026174.83263
1158 projects_read:
1159 - d3581c99-31e3-45f9-b45c-49a290faedbc
1160 current_operation: '5'
1161 deployed:
1162 RO: d9aea288-b9b1-11e9-b19e-02420aff0006
1163 RO-account: d9bb2f1c-b9b1-11e9-b19e-02420aff0006
1164 detailed-status: Done
1165 modified: 1565250912.2643092
1166 operationalState: ENABLED
1167 operations:
1168 - member_vnf_index: '1'
1169 primitive: touch
1170 primitive_params: /home/ubuntu/last-touch-1
1171 operationState: COMPLETED
1172 detailed-status: Done
1173 - member_vnf_index: '1'
1174 primitive: touch
1175 primitive_params: /home/ubuntu/last-touch-2
1176 operationState: COMPLETED
1177 detailed-status: Done
1178 - member_vnf_index: '2'
1179 primitive: touch
1180 primitive_params: /home/ubuntu/last-touch-3
1181 operationState: COMPLETED
1182 detailed-status: Done
1183 projects_read:
1184 - b2d2ce4b-a1a0-4c01-847e-048632c43b40
1185 projects_write:
1186 - b2d2ce4b-a1a0-4c01-847e-048632c43b40
1187 worker: c4055a07655b
1188 deploy:
1189 RO: ACTION-1570026232.061742
1190 _id: 053967e8-7c1c-400f-ae82-3d45b291374b
1191 lcmOperationType: scale
1192 nsInstanceId: 90d9ebb7-2b5a-4b7c-bc34-a51fd7ef7b7b
1193 statusEnteredTime: 1570026243.09784
1194 startTime: 1570026174.8326
1195 operationParams:
1196 lcmOperationType: scale
1197 nsInstanceId: 90d9ebb7-2b5a-4b7c-bc34-a51fd7ef7b7b
1198 scaleVnfData:
1199 scaleByStepData:
1200 member-vnf-index: '1'
1201 scaling-group-descriptor: scale_scaling_group
1202 scaleVnfType: SCALE_IN
1203 scaleType: SCALE_VNF
1204 isAutomaticInvocation: false
1205 isCancelPending: false
1206 id: 053967e8-7c1c-400f-ae82-3d45b291374b
1207 links:
1208 nsInstance: "/osm/nslcm/v1/ns_instances/90d9ebb7-2b5a-4b7c-bc34-a51fd7ef7b7b"
1209 self: "/osm/nslcm/v1/ns_lcm_op_occs/053967e8-7c1c-400f-ae82-3d45b291374b"
1210 operationState: COMPLETED
1211 detailed-status: done
1212 """