fix 975. Get RO SDN_net information
[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 classifications: []
432 sdn_nets: []
433 nets:
434 - created: false
435 datacenter_id: dc51ce6c-c7f2-11e9-b9c0-02420aff0004
436 datacenter_tenant_id: dc5c67fa-c7f2-11e9-b9c0-02420aff0004
437 error_msg: null
438 ns_net_osm_id: mgmt
439 related: c6bac394-fa27-4c43-bb34-42f621a9d343
440 sce_net_id: 8f215bab-c35e-41e6-a035-42bfaa07af9f
441 sdn_net_id: null
442 status: ACTIVE
443 uuid: c6bac394-fa27-4c43-bb34-42f621a9d343
444 vim_info: "{vim_info: null}"
445 vim_name: null
446 vim_net_id: f99ae780-0e2f-4985-af41-574eae6919c0
447 vnf_net_id: null
448 vnf_net_osm_id: null
449 - created: true
450 datacenter_id: dc51ce6c-c7f2-11e9-b9c0-02420aff0004
451 datacenter_tenant_id: dc5c67fa-c7f2-11e9-b9c0-02420aff0004
452 error_msg: null
453 ns_net_osm_id: datanet
454 related: 509d576c-120f-493a-99a1-5fea99dfe041
455 sce_net_id: 3d766bbc-33a8-41aa-a986-2f35e8d25c16
456 sdn_net_id: null
457 status: ACTIVE
458 uuid: 509d576c-120f-493a-99a1-5fea99dfe041
459 vim_info: "{vim_info: null}"
460 vim_name: ALF-datanet
461 vim_net_id: c31364ba-f573-4ab6-bf1a-fed30ede39a8
462 vnf_net_id: null
463 vnf_net_osm_id: null
464 - created: true
465 datacenter_id: dc51ce6c-c7f2-11e9-b9c0-02420aff0004
466 datacenter_tenant_id: dc5c67fa-c7f2-11e9-b9c0-02420aff0004
467 error_msg: null
468 ns_net_osm_id: null
469 related: 277fed09-3220-4bfd-9052-b96b21a32daf
470 sce_net_id: null
471 sdn_net_id: null
472 status: ACTIVE
473 uuid: 277fed09-3220-4bfd-9052-b96b21a32daf
474 vim_info: "{vim_info: null}"
475 vim_name: ALF-internal
476 vim_net_id: ff181e6d-2597-4244-b40b-bb0174bdfeb6
477 vnf_net_id: 62e62fae-c12b-4ebc-9a9b-30031c6c16fa
478 vnf_net_osm_id: internal
479 - created: true
480 datacenter_id: dc51ce6c-c7f2-11e9-b9c0-02420aff0004
481 datacenter_tenant_id: dc5c67fa-c7f2-11e9-b9c0-02420aff0004
482 error_msg: null
483 ns_net_osm_id: null
484 related: 92534d1a-e697-4372-a84d-aa0aa643b68a
485 sce_net_id: null
486 sdn_net_id: null
487 status: ACTIVE
488 uuid: 92534d1a-e697-4372-a84d-aa0aa643b68a
489 vim_info: "{vim_info: null}"
490 vim_name: ALF-internal
491 vim_net_id: 09655387-b639-421a-b5f6-72b26d685fb4
492 vnf_net_id: 13c6c77d-86a5-4914-832c-990d4ec7b54e
493 vnf_net_osm_id: internal
494 nsd_osm_id: f48163a6-c807-47bc-9682-f72caef5af85.2.hackfest3charmed-ns
495 scenario_id: 876573b5-968d-40b9-b52b-91bf5c5844f7
496 scenario_name: hackfest3charmed-ns
497 sfis: []
498 sfps: []
499 sfs: []
500 tenant_id: 0ea38bd0-2729-47a9-ae07-c6ce76115eb2
501 uuid: c9fe9908-3180-430d-b633-fca2f68db008
502 vnfs:
503 - datacenter_id: dc51ce6c-c7f2-11e9-b9c0-02420aff0004
504 datacenter_tenant_id: dc5c67fa-c7f2-11e9-b9c0-02420aff0004
505 ip_address: 10.205.1.46
506 member_vnf_index: '1'
507 mgmt_access: '{interface_id: 61549ee3-cd6c-4930-8b90-eaad97fe345b, required: ''False'',
508 vm_id: 6cf4a48f-3b6c-4395-8221-119fa37de24a}
509
510 '
511 sce_vnf_id: 83be04a8-c513-42ba-9908-22728f686d31
512 uuid: 94724042-7576-4fb0-82ec-6a7ab642741c
513 vms:
514 - created_at: '2019-08-26T12:50:38'
515 error_msg: null
516 interfaces:
517 - external_name: vnf-mgmt
518 instance_net_id: c6bac394-fa27-4c43-bb34-42f621a9d343
519 internal_name: mgmtVM-eth0
520 ip_address: 10.205.1.46
521 mac_address: fa:16:3e:b4:3e:b1
522 sdn_port_id: null
523 type: mgmt
524 vim_info: "{vim_info: null}"
525 vim_interface_id: 4d3cb8fd-7040-4169-a0ad-2486d2b006a1
526 - external_name: null
527 instance_net_id: 277fed09-3220-4bfd-9052-b96b21a32daf
528 internal_name: mgmtVM-eth1
529 ip_address: 192.168.54.2
530 mac_address: fa:16:3e:6e:7e:78
531 sdn_port_id: null
532 type: bridge
533 vim_info: "{vim_info: null}"
534 vim_interface_id: 54ed68e2-9802-4dfe-b68a-280b3fc6e02d
535 ip_address: 10.205.1.46
536 name: mgmtVM
537 related: d0b91293-a91d-4f08-b15f-0bf841216dfe
538 status: ACTIVE
539 uuid: d0b91293-a91d-4f08-b15f-0bf841216dfe
540 vdu_osm_id: mgmtVM
541 vim_info: "{vim_info: null}"
542 vim_name: ALF-1-mgmtVM-1
543 vim_vm_id: c2538499-4c30-41c0-acd5-80cb92f48061
544 - created_at: '2019-08-26T12:50:38'
545 error_msg: null
546 interfaces:
547 - external_name: null
548 instance_net_id: 277fed09-3220-4bfd-9052-b96b21a32daf
549 internal_name: dataVM-eth0
550 ip_address: 192.168.54.3
551 mac_address: fa:16:3e:d9:7a:5d
552 sdn_port_id: null
553 type: bridge
554 vim_info: "{vim_info: null}"
555 vim_interface_id: 1637f350-8840-4241-8ed0-4616bdcecfcf
556 - external_name: vnf-data
557 instance_net_id: 509d576c-120f-493a-99a1-5fea99dfe041
558 internal_name: dataVM-xe0
559 ip_address: 192.168.24.3
560 mac_address: fa:16:3e:d1:6c:0d
561 sdn_port_id: null
562 type: bridge
563 vim_info: "{vim_info: null}"
564 vim_interface_id: 54c73e83-7059-41fe-83a9-4c4ae997b481
565 name: dataVM
566 related: 5c08253d-8a35-474f-b0d3-c5297d174c13
567 status: ACTIVE
568 uuid: 5c08253d-8a35-474f-b0d3-c5297d174c13
569 vdu_osm_id: dataVM
570 vim_info: "{vim_info: null}"
571 vim_name: ALF-1-dataVM-1
572 vim_vm_id: 87973c3f-365d-4227-95c2-7a8abc74349c
573 - created_at: '2019-08-26T13:40:54'
574 error_msg: null
575 interfaces:
576 - external_name: null
577 instance_net_id: 277fed09-3220-4bfd-9052-b96b21a32daf
578 internal_name: dataVM-eth0
579 ip_address: 192.168.54.5
580 mac_address: fa:16:3e:e4:17:45
581 sdn_port_id: null
582 type: bridge
583 vim_info: "{vim_info: null}"
584 vim_interface_id: 7e246e40-8710-4c33-9c95-78fc3c02bc5b
585 - external_name: vnf-data
586 instance_net_id: 509d576c-120f-493a-99a1-5fea99dfe041
587 internal_name: dataVM-xe0
588 ip_address: 192.168.24.5
589 mac_address: fa:16:3e:29:6f:a6
590 sdn_port_id: null
591 type: bridge
592 vim_info: "{vim_info: null}"
593 vim_interface_id: ce81af7a-9adf-494b-950e-6581fd04ecc4
594 name: dataVM
595 related: 1ae5a0a2-c15a-49a4-a77c-2991d97f6dbe
596 status: ACTIVE
597 uuid: 1ae5a0a2-c15a-49a4-a77c-2991d97f6dbe
598 vdu_osm_id: dataVM
599 vim_info: "{vim_info: null}"
600 vim_name: ALF-1-dataVM-2
601 vim_vm_id: 4916533e-36c6-4861-9fe3-366a8fb0a5f8
602 vnf_id: 1ab2a418-9fe3-4358-bf17-411e5155535f
603 vnf_name: hackfest3charmed-vnf.1
604 vnfd_osm_id: f48163a6-c807-47bc-9682-f72caef5af85.0.1
605 - datacenter_id: dc51ce6c-c7f2-11e9-b9c0-02420aff0004
606 datacenter_tenant_id: dc5c67fa-c7f2-11e9-b9c0-02420aff0004
607 ip_address: 10.205.1.47
608 member_vnf_index: '2'
609 mgmt_access: '{interface_id: 538604c3-5c5e-41eb-8f84-c0239c7fabcd, required: ''False'',
610 vm_id: dd04d792-05c9-4ecc-bf28-f77384d00311}
611
612 '
613 sce_vnf_id: c4f3607a-08ff-4f75-893c-fce507e2f240
614 uuid: 00020403-e80f-4ef2-bb7e-b29669643035
615 vms:
616 - created_at: '2019-08-26T12:50:38'
617 error_msg: null
618 interfaces:
619 - external_name: vnf-mgmt
620 instance_net_id: c6bac394-fa27-4c43-bb34-42f621a9d343
621 internal_name: mgmtVM-eth0
622 ip_address: 10.205.1.47
623 mac_address: fa:16:3e:cb:9f:c7
624 sdn_port_id: null
625 type: mgmt
626 vim_info: "{vim_info: null}"
627 vim_interface_id: dcd6d2de-3c68-481c-883e-e9d38c671dc4
628 - external_name: null
629 instance_net_id: 92534d1a-e697-4372-a84d-aa0aa643b68a
630 internal_name: mgmtVM-eth1
631 ip_address: 192.168.231.1
632 mac_address: fa:16:3e:1a:89:24
633 sdn_port_id: null
634 type: bridge
635 vim_info: "{vim_info: null}"
636 vim_interface_id: 50e538e3-aba0-4652-93bb-20487f3f28e1
637 ip_address: 10.205.1.47
638 name: mgmtVM
639 related: 4543ab5d-578c-427c-9df2-affd17e21b66
640 status: ACTIVE
641 uuid: 4543ab5d-578c-427c-9df2-affd17e21b66
642 vdu_osm_id: mgmtVM
643 vim_info: "{vim_info: null}"
644 vim_name: ALF-2-mgmtVM-1
645 vim_vm_id: 248077b2-e3b8-4a37-8b72-575abb8ed912
646 - created_at: '2019-08-26T12:50:38'
647 error_msg: null
648 interfaces:
649 - external_name: null
650 instance_net_id: 92534d1a-e697-4372-a84d-aa0aa643b68a
651 internal_name: dataVM-eth0
652 ip_address: 192.168.231.3
653 mac_address: fa:16:3e:7e:ba:8c
654 sdn_port_id: null
655 type: bridge
656 vim_info: "{vim_info: null}"
657 vim_interface_id: 15274862-14ea-4527-b405-101cae8bc1a0
658 - external_name: vnf-data
659 instance_net_id: 509d576c-120f-493a-99a1-5fea99dfe041
660 internal_name: dataVM-xe0
661 ip_address: 192.168.24.4
662 mac_address: fa:16:3e:d2:e1:f5
663 sdn_port_id: null
664 type: bridge
665 vim_info: "{vim_info: null}"
666 vim_interface_id: 253ebe4e-38d5-46be-8777-dbb57510a2ec
667 name: dataVM
668 related: 6f03f16b-295a-47a1-9a69-2d069d574a33
669 status: ACTIVE
670 uuid: 6f03f16b-295a-47a1-9a69-2d069d574a33
671 vdu_osm_id: dataVM
672 vim_info: "{vim_info: null}"
673 vim_name: ALF-2-dataVM-1
674 vim_vm_id: a4ce4372-e0ad-4ae3-8f9f-1c969f32e77b
675 vnf_id: 0de348e3-c201-4f6a-91cc-7f957e2d5504
676 vnf_name: hackfest3charmed-vnf.2
677 vnfd_osm_id: f48163a6-c807-47bc-9682-f72caef5af85.1.2
678 """
679
680 db_vim_accounts_text = """
681 ---
682 - _admin:
683 created: 1566818150.3024442
684 current_operation: 0
685 deployed:
686 RO: dc51ce6c-c7f2-11e9-b9c0-02420aff0004
687 RO-account: dc5c67fa-c7f2-11e9-b9c0-02420aff0004
688 detailed-status: Done
689 modified: 1566818150.3024442
690 operationalState: ENABLED
691 operations:
692 - detailed-status: Done
693 lcmOperationType: create
694 operationParams: null
695 operationState: COMPLETED
696 startTime: 1566818150.3025382
697 statusEnteredTime: 1566818150.3025382
698 worker: 86434c2948e2
699 projects_read:
700 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
701 projects_write:
702 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
703 _id: ea958ba5-4e58-4405-bf42-6e3be15d4c3a
704 description: Openstack site 2, based on Mirantis, also called DSS9000-1, with
705 tenant tid
706 name: ost2-mrt-tid
707 schema_version: '1.1'
708 vim_password: 5g0yGX86qIhprX86YTMcpg==
709 vim_tenant_name: osm
710 vim_type: openstack
711 vim_url: http://10.95.87.162:5000/v2.0
712 vim_user: osm
713 """
714
715 db_k8sclusters_text = """
716 - _admin:
717 created: 1575031378.9268339
718 current_operation: 0
719 modified: 1575031378.9268339
720 operationalState: ENABLED
721 operations:
722 - detailed-status: ''
723 lcmOperationType: create
724 operationParams: null
725 operationState: ''
726 startTime: 1575031378.926895
727 statusEnteredTime: 1575031378.926895
728 worker: 36681ccf7f32
729 projects_read:
730 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
731 projects_write:
732 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
733 helm-chart:
734 id: 73d96432-d692-40d2-8440-e0c73aee209c
735 created: True
736 _id: e7169dab-f71a-4f1f-b82b-432605e8c4b3
737 credentials:
738 apiVersion: v1
739 users:
740 - name: admin
741 user:
742 password: qhpdogJXhBLG+JiYyyE0LeNsJXHkCSMy+sGVzlnJqes=
743 username: admin
744 description: Cluster3
745 k8s_version: '1.15'
746 name: cluster3
747 namespace: kube-system
748 nets:
749 net1: None
750 schema_version: '1.11'
751 vim_account: ea958ba5-4e58-4405-bf42-6e3be15d4c3a
752 """
753
754 db_vnfds_text = """
755 ---
756 - _admin:
757 created: 1566823352.7154346
758 modified: 1566823353.9295402
759 onboardingState: ONBOARDED
760 operationalState: ENABLED
761 projects_read:
762 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
763 projects_write:
764 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
765 storage:
766 descriptor: hackfest_3charmed_vnfd/hackfest_3charmed_vnfd.yaml
767 folder: 7637bcf8-cf14-42dc-ad70-c66fcf1e6e77
768 fs: local
769 path: /app/storage/
770 pkg-dir: hackfest_3charmed_vnfd
771 zipfile: package.tar.gz
772 type: vnfd
773 usageState: NOT_IN_USE
774 userDefinedData: {}
775 _id: 7637bcf8-cf14-42dc-ad70-c66fcf1e6e77
776 connection-point:
777 - id: vnf-mgmt
778 name: vnf-mgmt
779 short-name: vnf-mgmt
780 type: VPORT
781 - id: vnf-data
782 name: vnf-data
783 short-name: vnf-data
784 type: VPORT
785 description: A VNF consisting of 2 VDUs connected to an internal VL, and one VDU
786 with cloud-init
787 id: hackfest3charmed-vnf
788 internal-vld:
789 - id: internal
790 internal-connection-point:
791 - id-ref: mgmtVM-internal
792 - id-ref: dataVM-internal
793 name: internal
794 short-name: internal
795 type: ELAN
796 logo: osm.png
797 mgmt-interface:
798 cp: vnf-mgmt
799 monitoring-param:
800 - aggregation-type: AVERAGE
801 id: monitor1
802 name: monitor1
803 vdu-monitoring-param:
804 vdu-monitoring-param-ref: dataVM_cpu_util
805 vdu-ref: dataVM
806 name: hackfest3charmed-vnf
807 scaling-group-descriptor:
808 - max-instance-count: 10
809 name: scale_dataVM
810 scaling-config-action:
811 - trigger: post-scale-out
812 vnf-config-primitive-name-ref: touch
813 - trigger: pre-scale-in
814 vnf-config-primitive-name-ref: touch
815 scaling-policy:
816 - cooldown-time: 60
817 name: auto_cpu_util_above_threshold
818 scaling-criteria:
819 - name: cpu_util_above_threshold
820 scale-in-relational-operation: LE
821 scale-in-threshold: '15.0000000000'
822 scale-out-relational-operation: GE
823 scale-out-threshold: '60.0000000000'
824 vnf-monitoring-param-ref: monitor1
825 scaling-type: automatic
826 threshold-time: 0
827 vdu:
828 - count: 1
829 vdu-id-ref: dataVM
830 short-name: hackfest3charmed-vnf
831 vdu:
832 - count: '1'
833 cloud-init-file: cloud-config.txt
834 id: mgmtVM
835 image: hackfest3-mgmt
836 interface:
837 - external-connection-point-ref: vnf-mgmt
838 name: mgmtVM-eth0
839 position: 1
840 type: EXTERNAL
841 virtual-interface:
842 type: VIRTIO
843 - internal-connection-point-ref: mgmtVM-internal
844 name: mgmtVM-eth1
845 position: 2
846 type: INTERNAL
847 virtual-interface:
848 type: VIRTIO
849 internal-connection-point:
850 - id: mgmtVM-internal
851 name: mgmtVM-internal
852 short-name: mgmtVM-internal
853 type: VPORT
854 name: mgmtVM
855 vm-flavor:
856 memory-mb: '1024'
857 storage-gb: '10'
858 vcpu-count: 1
859 - count: '1'
860 id: dataVM
861 image: hackfest3-mgmt
862 interface:
863 - internal-connection-point-ref: dataVM-internal
864 name: dataVM-eth0
865 position: 1
866 type: INTERNAL
867 virtual-interface:
868 type: VIRTIO
869 - external-connection-point-ref: vnf-data
870 name: dataVM-xe0
871 position: 2
872 type: EXTERNAL
873 virtual-interface:
874 type: VIRTIO
875 internal-connection-point:
876 - id: dataVM-internal
877 name: dataVM-internal
878 short-name: dataVM-internal
879 type: VPORT
880 monitoring-param:
881 - id: dataVM_cpu_util
882 nfvi-metric: cpu_utilization
883 name: dataVM
884 vm-flavor:
885 memory-mb: '1024'
886 storage-gb: '10'
887 vcpu-count: 1
888 version: '1.0'
889 vnf-configuration:
890 config-access:
891 ssh-access:
892 required: True
893 default-user: ubuntu
894 config-primitive:
895 - name: touch
896 parameter:
897 - data-type: STRING
898 default-value: <touch_filename2>
899 name: filename
900 initial-config-primitive:
901 - name: config
902 parameter:
903 - name: ssh-hostname
904 value: <rw_mgmt_ip>
905 - name: ssh-username
906 value: ubuntu
907 - name: ssh-password
908 value: osm4u
909 seq: '1'
910 - name: touch
911 parameter:
912 - name: filename
913 value: <touch_filename>
914 seq: '2'
915 juju:
916 charm: simple
917 - _admin:
918 created: 1575031727.5383403
919 modified: 1575031727.5383403
920 onboardingState: ONBOARDED
921 operationalState: ENABLED
922 projects_read:
923 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
924 projects_write:
925 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
926 storage:
927 descriptor: multikdu_knf/multikdu_vnfd.yaml
928 folder: 7ab0d10d-8ce2-4c68-aef6-cc5a437a9c62
929 fs: local
930 path: /app/storage/
931 pkg-dir: multikdu_knf
932 zipfile: multikdu_knf.tar.gz
933 usageState: NOT_IN_USE
934 userDefinedData: {}
935 _id: 7ab0d10d-8ce2-4c68-aef6-cc5a437a9c62
936 connection-point:
937 - name: mgmt
938 description: KNF with two KDU using helm-charts
939 id: multikdu_knf
940 k8s-cluster:
941 nets:
942 - external-connection-point-ref: mgmt
943 id: mgmtnet
944 kdu:
945 - helm-chart: stable/openldap:1.2.1
946 name: ldap
947 - helm-chart: stable/mongodb
948 name: mongo
949 mgmt-interface:
950 cp: mgmt
951 name: multikdu_knf
952 short-name: multikdu_knf
953 vendor: Telefonica
954 version: '1.0'
955 """
956
957 db_vnfrs_text = """
958 ---
959 - _admin:
960 created: 1566823354.3668208
961 modified: 1566823354.3668208
962 nsState: NOT_INSTANTIATED
963 projects_read:
964 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
965 projects_write:
966 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
967 _id: 88d90b0c-faff-4b9f-bccd-017f33985984
968 additionalParamsForVnf:
969 touch_filename: /home/ubuntu/first-touch-1
970 touch_filename2: /home/ubuntu/second-touch-1
971 connection-point:
972 - connection-point-id: vnf-mgmt
973 id: vnf-mgmt
974 name: vnf-mgmt
975 - connection-point-id: vnf-data
976 id: vnf-data
977 name: vnf-data
978 created-time: 1566823354.36234
979 id: 88d90b0c-faff-4b9f-bccd-017f33985984
980 ip-address: 10.205.1.46
981 member-vnf-index-ref: '1'
982 nsr-id-ref: f48163a6-c807-47bc-9682-f72caef5af85
983 vdur:
984 - _id: f0e7d7ce-2443-4dcb-ad0b-5ab9f3b13d37
985 count-index: 0
986 interfaces:
987 - ip-address: 10.205.1.46
988 mac-address: fa:16:3e:b4:3e:b1
989 mgmt-vnf: true
990 name: mgmtVM-eth0
991 ns-vld-id: mgmt
992 - ip-address: 192.168.54.2
993 mac-address: fa:16:3e:6e:7e:78
994 name: mgmtVM-eth1
995 vnf-vld-id: internal
996 internal-connection-point:
997 - connection-point-id: mgmtVM-internal
998 id: mgmtVM-internal
999 name: mgmtVM-internal
1000 ip-address: 10.205.1.46
1001 name: ALF-1-mgmtVM-1
1002 status: ACTIVE
1003 status-detailed: null
1004 vdu-id-ref: mgmtVM
1005 vim-id: c2538499-4c30-41c0-acd5-80cb92f48061
1006 - _id: ab453219-2d9a-45c2-864d-2c0788385028
1007 count-index: 0
1008 interfaces:
1009 - ip-address: 192.168.54.3
1010 mac-address: fa:16:3e:d9:7a:5d
1011 name: dataVM-eth0
1012 vnf-vld-id: internal
1013 - ip-address: 192.168.24.3
1014 mac-address: fa:16:3e:d1:6c:0d
1015 name: dataVM-xe0
1016 ns-vld-id: datanet
1017 internal-connection-point:
1018 - connection-point-id: dataVM-internal
1019 id: dataVM-internal
1020 name: dataVM-internal
1021 ip-address: null
1022 name: ALF-1-dataVM-1
1023 status: ACTIVE
1024 status-detailed: null
1025 vdu-id-ref: dataVM
1026 vim-id: 87973c3f-365d-4227-95c2-7a8abc74349c
1027 vim-account-id: ea958ba5-4e58-4405-bf42-6e3be15d4c3a
1028 vld:
1029 - id: internal
1030 name: ALF-internal
1031 status: ACTIVE
1032 status-detailed: null
1033 vim-id: ff181e6d-2597-4244-b40b-bb0174bdfeb6
1034 vnfd-id: 7637bcf8-cf14-42dc-ad70-c66fcf1e6e77
1035 vnfd-ref: hackfest3charmed-vnf
1036 - _admin:
1037 created: 1566823354.3703845
1038 modified: 1566823354.3703845
1039 nsState: NOT_INSTANTIATED
1040 projects_read:
1041 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
1042 projects_write:
1043 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
1044 _id: 1ca3bb1a-b29b-49fe-bed6-5f3076d77434
1045 additionalParamsForVnf:
1046 touch_filename: /home/ubuntu/first-touch-2
1047 touch_filename2: /home/ubuntu/second-touch-2
1048 connection-point:
1049 - connection-point-id: vnf-mgmt
1050 id: vnf-mgmt
1051 name: vnf-mgmt
1052 - connection-point-id: vnf-data
1053 id: vnf-data
1054 name: vnf-data
1055 created-time: 1566823354.36234
1056 id: 1ca3bb1a-b29b-49fe-bed6-5f3076d77434
1057 ip-address: 10.205.1.47
1058 member-vnf-index-ref: '2'
1059 nsr-id-ref: f48163a6-c807-47bc-9682-f72caef5af85
1060 vdur:
1061 - _id: 190b4a2c-4f85-4cfe-9406-4cef7ffb1e67
1062 count-index: 0
1063 interfaces:
1064 - ip-address: 10.205.1.47
1065 mac-address: fa:16:3e:cb:9f:c7
1066 mgmt-vnf: true
1067 name: mgmtVM-eth0
1068 ns-vld-id: mgmt
1069 - ip-address: 192.168.231.1
1070 mac-address: fa:16:3e:1a:89:24
1071 name: mgmtVM-eth1
1072 vnf-vld-id: internal
1073 internal-connection-point:
1074 - connection-point-id: mgmtVM-internal
1075 id: mgmtVM-internal
1076 name: mgmtVM-internal
1077 ip-address: 10.205.1.47
1078 name: ALF-2-mgmtVM-1
1079 status: ACTIVE
1080 status-detailed: null
1081 vdu-id-ref: mgmtVM
1082 vim-id: 248077b2-e3b8-4a37-8b72-575abb8ed912
1083 - _id: 889b874d-e1c3-4e75-aa45-53a9b0ddabd9
1084 count-index: 0
1085 interfaces:
1086 - ip-address: 192.168.231.3
1087 mac-address: fa:16:3e:7e:ba:8c
1088 name: dataVM-eth0
1089 vnf-vld-id: internal
1090 - ip-address: 192.168.24.4
1091 mac-address: fa:16:3e:d2:e1:f5
1092 name: dataVM-xe0
1093 ns-vld-id: datanet
1094 internal-connection-point:
1095 - connection-point-id: dataVM-internal
1096 id: dataVM-internal
1097 name: dataVM-internal
1098 ip-address: null
1099 name: ALF-2-dataVM-1
1100 status: ACTIVE
1101 status-detailed: null
1102 vdu-id-ref: dataVM
1103 vim-id: a4ce4372-e0ad-4ae3-8f9f-1c969f32e77b
1104 vim-account-id: ea958ba5-4e58-4405-bf42-6e3be15d4c3a
1105 vld:
1106 - id: internal
1107 name: ALF-internal
1108 status: ACTIVE
1109 status-detailed: null
1110 vim-id: ff181e6d-2597-4244-b40b-bb0174bdfeb6
1111 vnfd-id: 7637bcf8-cf14-42dc-ad70-c66fcf1e6e77
1112 vnfd-ref: hackfest3charmed-vnf
1113 - _admin:
1114 created: 1575034637.009597
1115 modified: 1575034637.009597
1116 nsState: NOT_INSTANTIATED
1117 projects_read:
1118 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
1119 projects_write:
1120 - 25b5aebf-3da1-49ed-99de-1d2b4a86d6e4
1121 _id: 5ac34899-a23a-4b3c-918a-cd77acadbea6
1122 additionalParamsForVnf: null
1123 connection-point:
1124 - connection-point-id: null
1125 id: null
1126 name: mgmt
1127 created-time: 1575034636.9990137
1128 id: 5ac34899-a23a-4b3c-918a-cd77acadbea6
1129 ip-address: null
1130 k8s-cluster:
1131 nets:
1132 - external-connection-point-ref: mgmt
1133 id: mgmtnet
1134 ns-vld-id: mgmtnet
1135 vim_net: internal
1136 kdur:
1137 - ip-address: null
1138 k8s-cluster:
1139 id: e7169dab-f71a-4f1f-b82b-432605e8c4b3
1140 kdu-name: ldap
1141 helm-chart: stable/openldap:1.2.1
1142 - ip-address: null
1143 k8s-cluster:
1144 id: e7169dab-f71a-4f1f-b82b-432605e8c4b3
1145 kdu-name: mongo
1146 helm-chart: stable/mongodb
1147 member-vnf-index-ref: multikdu
1148 nsr-id-ref: 0bcb701c-ee4d-41ab-8ee6-f4156f7f114d
1149 vdur: []
1150 vim-account-id: 74337dcb-ef54-41e7-bd2d-8c0d7fcd326f
1151 vnfd-id: 7ab0d10d-8ce2-4c68-aef6-cc5a437a9c62
1152 vnfd-ref: multikdu_knf
1153 """
1154
1155 db_nslcmops_scale_text = """
1156 ---
1157 - _admin:
1158 created: 1565250912.2643092
1159 modified: 1570026174.83263
1160 projects_read:
1161 - d3581c99-31e3-45f9-b45c-49a290faedbc
1162 current_operation: '5'
1163 deployed:
1164 RO: d9aea288-b9b1-11e9-b19e-02420aff0006
1165 RO-account: d9bb2f1c-b9b1-11e9-b19e-02420aff0006
1166 detailed-status: Done
1167 modified: 1565250912.2643092
1168 operationalState: ENABLED
1169 operations:
1170 - member_vnf_index: '1'
1171 primitive: touch
1172 primitive_params: /home/ubuntu/last-touch-1
1173 operationState: COMPLETED
1174 detailed-status: Done
1175 - member_vnf_index: '1'
1176 primitive: touch
1177 primitive_params: /home/ubuntu/last-touch-2
1178 operationState: COMPLETED
1179 detailed-status: Done
1180 - member_vnf_index: '2'
1181 primitive: touch
1182 primitive_params: /home/ubuntu/last-touch-3
1183 operationState: COMPLETED
1184 detailed-status: Done
1185 projects_read:
1186 - b2d2ce4b-a1a0-4c01-847e-048632c43b40
1187 projects_write:
1188 - b2d2ce4b-a1a0-4c01-847e-048632c43b40
1189 worker: c4055a07655b
1190 deploy:
1191 RO: ACTION-1570026232.061742
1192 _id: 053967e8-7c1c-400f-ae82-3d45b291374b
1193 lcmOperationType: scale
1194 nsInstanceId: 90d9ebb7-2b5a-4b7c-bc34-a51fd7ef7b7b
1195 statusEnteredTime: 1570026243.09784
1196 startTime: 1570026174.8326
1197 operationParams:
1198 lcmOperationType: scale
1199 nsInstanceId: 90d9ebb7-2b5a-4b7c-bc34-a51fd7ef7b7b
1200 scaleVnfData:
1201 scaleByStepData:
1202 member-vnf-index: '1'
1203 scaling-group-descriptor: scale_scaling_group
1204 scaleVnfType: SCALE_IN
1205 scaleType: SCALE_VNF
1206 isAutomaticInvocation: false
1207 isCancelPending: false
1208 id: 053967e8-7c1c-400f-ae82-3d45b291374b
1209 links:
1210 nsInstance: "/osm/nslcm/v1/ns_instances/90d9ebb7-2b5a-4b7c-bc34-a51fd7ef7b7b"
1211 self: "/osm/nslcm/v1/ns_lcm_op_occs/053967e8-7c1c-400f-ae82-3d45b291374b"
1212 operationState: COMPLETED
1213 detailed-status: done
1214 """