3 "id": "ecff213c.e8aaa",
\r
9 "z": "37882b3b.b21224",
\r
17 "id": "e6160663.8edf48",
\r
19 "name": "block : atomic",
\r
20 "xml": "<block atomic='true'>",
\r
24 "x": 167.9761962890625,
\r
25 "y": 212.2777862548828,
\r
26 "z": "37882b3b.b21224",
\r
43 "id": "7bdd8af6.d4d404",
\r
45 "name": "method self-serve-pnf-assign",
\r
46 "xml": "<method rpc='self-serve-pnf-assign' mode='sync'>\n",
\r
49 "x": 254.26190948486328,
\r
50 "y": 144.70635509490967,
\r
51 "z": "37882b3b.b21224",
\r
59 "id": "23b17adc.1c80e6",
\r
60 "type": "service-logic",
\r
61 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
62 "module": "GENERIC-RESOURCE-API",
\r
63 "version": "${project.version}",
\r
65 "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
\r
67 "x": 412.73819732666016,
\r
68 "y": 90.19049263000488,
\r
69 "z": "37882b3b.b21224",
\r
77 "id": "2d2db8c6.748ba8",
\r
78 "type": "switchNode",
\r
79 "name": "switch pnf-parameters-data.param_length",
\r
80 "xml": "<switch test='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param_length`'>\n",
\r
83 "x": 449.0357971191406,
\r
84 "y": 1492.5120153427124,
\r
85 "z": "37882b3b.b21224",
\r
93 "id": "eb4e37ba.25e208",
\r
96 "xml": "<outcome value=''>\n",
\r
99 "x": 711.0358276367188,
\r
100 "y": 1492.5120153427124,
\r
101 "z": "37882b3b.b21224",
\r
109 "id": "21ad94d1.be148c",
\r
111 "name": "call GENERIC-RESOURCE-API:self-serve-pnf-ra-assignment",
\r
112 "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-pnf-ra-assignment' mode='sync' >\n",
\r
115 "x": 1226.3214874267578,
\r
116 "y": 1542.0834465026855,
\r
117 "z": "37882b3b.b21224",
\r
125 "id": "afb8d713.9ea788",
\r
126 "type": "returnFailure",
\r
127 "name": "return failure",
\r
128 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to get RA assignments: ' + $error-message`\" />\n",
\r
130 "x": 1698.0357284545898,
\r
131 "y": 1541.6548500061035,
\r
132 "z": "37882b3b.b21224",
\r
136 "id": "6f90ee45.cde4f",
\r
138 "name": "foreach pnf-parameters-data.param[]",
\r
139 "xml": "<for index='pidx' start='0' end='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param_length`' >\n",
\r
142 "x": 681.3574600219727,
\r
143 "y": 1800.0120840072632,
\r
144 "z": "37882b3b.b21224",
\r
153 "id": "f97d0f53.e9029",
\r
155 "name": "set ss.capability.execution-order[]",
\r
156 "xml": "<set>\n<parameter name='ss.capability.execution-order[0]' value='aai-get' />\n<parameter name='ss.capability.execution-order[1]' value='generate-name' />\n<parameter name='ss.capability.execution-order[2]' value='alts-entitlement-assign' />\n<parameter name='ss.capability.execution-order[3]' value='alts-license-assign' />\n<parameter name='ss.capability.execution-order[4]' value='vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[5]' value='mS-vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[6]' value='eipam-ip-assignment' />\n<parameter name='ss.capability.execution-order[7]' value='eipam-create-pool' />\n<parameter name='ss.capability.execution-order[8]' value='netbox-ip-assign' />\n<parameter name='ss.capability.execution-order[9]' value='mac-address-assign' />\n<parameter name='ss.capability.execution-order[10]' value='mS-mac-address-assign' />\n<parameter name='ss.capability.execution-order[11]' value='create-vpe-pool' />\n<parameter name='ss.capability.execution-order[12]' value='unresolved-composite-data' />\n<parameter name='ss.capability.execution-order[13]' value='aai-pnf-put' />\n<parameter name='ss.capability.execution-order_length' value='14' />\n",
\r
158 "x": 430.02384185791016,
\r
159 "y": 1271.0001401901245,
\r
160 "z": "37882b3b.b21224",
\r
164 "id": "ff2d06ee.623348",
\r
166 "name": "foreach capability[]",
\r
167 "xml": "<for index='cidx' start='0' end='`$ss.capability.execution-order_length`' >\n",
\r
170 "x": 381.14300537109375,
\r
171 "y": 1644.4049034118652,
\r
172 "z": "37882b3b.b21224",
\r
183 "id": "a008f4ce.816ac8",
\r
184 "type": "switchNode",
\r
185 "name": "switch capability-name",
\r
186 "xml": "<switch test='`$ss.capability-name == $tmp.param.capability-name`'>\n",
\r
189 "x": 985.7502822875977,
\r
190 "y": 1845.6548767089844,
\r
191 "z": "37882b3b.b21224",
\r
199 "id": "fbc7d0d6.d0f9a",
\r
200 "type": "outcomeTrue",
\r
202 "xml": "<outcome value='true'>\n",
\r
205 "x": 1176.2502822875977,
\r
206 "y": 1845.9048767089844,
\r
207 "z": "37882b3b.b21224",
\r
215 "id": "ffcba76.e3a6658",
\r
218 "xml": "<outcome value='failure'>\n",
\r
221 "x": 1543.8928337097168,
\r
222 "y": 1541.5120401382446,
\r
223 "z": "37882b3b.b21224",
\r
231 "id": "34d7033c.1d850c",
\r
233 "name": "set ss.capability-name",
\r
234 "xml": "<set>\n<parameter name='ss.capability-name' value='`$ss.capability.execution-order[$cidx]`' />\n<!--\nss.capability.execution-order[]\n-->",
\r
236 "x": 637.5000610351562,
\r
237 "y": 1644.3573551177979,
\r
238 "z": "37882b3b.b21224",
\r
242 "id": "c123dce6.984a6",
\r
244 "name": "tmp.param.capability-name",
\r
245 "xml": "<set>\n<parameter name='tmp.param.capability-name' \n value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$pidx].resource-resolution-data.capability-name`' />",
\r
247 "x": 997.107307434082,
\r
248 "y": 1800.2620868682861,
\r
249 "z": "37882b3b.b21224",
\r
253 "id": "bcdcac9e.1dcf8",
\r
255 "name": "set ss.capability-action = assign",
\r
256 "xml": "<set>\n<parameter name='ss.capability-action' value='assign' />\n",
\r
258 "x": 666.2142028808594,
\r
259 "y": 1691.2739391326904,
\r
260 "z": "37882b3b.b21224",
\r
264 "id": "7e8acf11.757ce",
\r
266 "name": "set capability-dg with 'self-serve-' + capability-name",
\r
267 "xml": "<set>\n<parameter name='ss.capability-dg' value=\"`'self-serve-' + $ss.capability.execution-order[$cidx]`\" />\n",
\r
269 "x": 728.7262954711914,
\r
270 "y": 1744.7501831054688,
\r
271 "z": "37882b3b.b21224",
\r
275 "id": "ca8257f6.464808",
\r
277 "name": "set sdnc-generated-cloud-resources = true",
\r
278 "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.sdnc-generated-cloud-resources' value='true' />\n",
\r
280 "x": 458.9881362915039,
\r
281 "y": 1324.7501487731934,
\r
282 "z": "37882b3b.b21224",
\r
286 "id": "9217be7a.bbdb1",
\r
293 "x": 715.428539276123,
\r
294 "y": 605.4643030166626,
\r
295 "z": "37882b3b.b21224",
\r
311 "id": "3723f166.b9d03e",
\r
313 "name": "set pnf-topology data",
\r
314 "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-topology-identifier-structure.pnf-id'\n value='`$pnf-topology-operation-input.pnf-details.pnf-id`' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-topology-identifier-structure.pnf-type'\n value='`$pnf-topology-operation-input.pnf-details.pnf-type`' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.tenant'\n value='`$pnf-topology-operation-input.pnf-request-input.tenant`' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.aic-cloud-region'\n value='`$pnf-topology-operation-input.pnf-request-input.aic-cloud-region`' />",
\r
316 "x": 930.9284820556641,
\r
317 "y": 606.523811340332,
\r
318 "z": "37882b3b.b21224",
\r
322 "id": "ca44a755.ad1c68",
\r
324 "name": "set pnf-parameters-data",
\r
325 "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.'\n value='pnf-topology-operation-input.pnf-request-input.pnf-input-parameters.' />\n",
\r
327 "x": 1117.3217163085938,
\r
328 "y": 1492.380844116211,
\r
329 "z": "37882b3b.b21224",
\r
333 "id": "a4d6abfb.adbf88",
\r
335 "name": "set pnf-level-oper-status to PendingCreate",
\r
336 "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-level-oper-status.order-status' value='PendingCreate' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-level-oper-status.last-rpc-action' value='`$pnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-level-oper-status.last-action' value='`$pnf-topology-operation-input.request-information.request-action`' />\n",
\r
338 "x": 996.2184371948242,
\r
339 "y": 1180.504020690918,
\r
340 "z": "37882b3b.b21224",
\r
344 "id": "74858ef1.51481",
\r
346 "name": "copy input data",
\r
347 "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.sdnc-request-header.'\n value='$pnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.request-information.'\n value='$pnf-topology-operation-input.request-information.' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.service-information.'\n value='$pnf-topology-operation-input.service-information.' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-details.'\n value='$pnf-topology-operation-input.pnf-details.' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.'\n value='$pnf-topology-operation-input.pnf-request-input.' />",
\r
349 "x": 913.5953521728516,
\r
350 "y": 1130.3096599578857,
\r
351 "z": "37882b3b.b21224",
\r
355 "id": "b0cbcbbb.b2c498",
\r
357 "name": "set from DB",
\r
358 "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-invariant-uuid'\n value='`$db.pnf-model.invariant-uuid`' />",
\r
360 "x": 1327.9286727905273,
\r
361 "y": 718.8810405731201,
\r
362 "z": "37882b3b.b21224",
\r
366 "id": "7c366e89.adcd7",
\r
367 "type": "switchNode",
\r
368 "name": "switch input model-invariant-uuid",
\r
369 "xml": "<switch test='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-invariant-uuid`'>\n",
\r
372 "x": 968.7857475280762,
\r
373 "y": 741.7054843902588,
\r
374 "z": "37882b3b.b21224",
\r
383 "id": "ae90c040.3cc39",
\r
386 "xml": "<outcome value=''>",
\r
389 "x": 1177.4524192810059,
\r
390 "y": 718.8484477996826,
\r
391 "z": "37882b3b.b21224",
\r
399 "id": "5f2c6ed0.29635",
\r
402 "xml": "<outcome value='Other'>\n",
\r
405 "x": 1178.881015777588,
\r
406 "y": 763.1340389251709,
\r
407 "z": "37882b3b.b21224",
\r
415 "id": "f383b18b.bfab9",
\r
417 "name": "set from input",
\r
418 "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-invariant-uuid'\n value='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-invariant-uuid`' />",
\r
420 "x": 1333.1667518615723,
\r
421 "y": 762.5626111030579,
\r
422 "z": "37882b3b.b21224",
\r
426 "id": "4d3a329b.f2f90c",
\r
428 "name": "set from DB",
\r
429 "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-uuid'\n value='`$db.pnf-model.uuid`' />",
\r
431 "x": 1328.8809432983398,
\r
432 "y": 807.419716835022,
\r
433 "z": "37882b3b.b21224",
\r
437 "id": "16c17b92.58b8f4",
\r
438 "type": "switchNode",
\r
439 "name": "switch input model-uuid",
\r
440 "xml": "<switch test='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-uuid`'>\n",
\r
443 "x": 938.4047660827637,
\r
444 "y": 830.2442216873169,
\r
445 "z": "37882b3b.b21224",
\r
454 "id": "59c0725a.54805c",
\r
457 "xml": "<outcome value=''>",
\r
460 "x": 1178.4047393798828,
\r
461 "y": 807.3871536254883,
\r
462 "z": "37882b3b.b21224",
\r
470 "id": "bfa95def.afc74",
\r
473 "xml": "<outcome value='Other'>\n",
\r
476 "x": 1179.8333358764648,
\r
477 "y": 851.6727447509766,
\r
478 "z": "37882b3b.b21224",
\r
486 "id": "f2189dfb.909da",
\r
488 "name": "set from input",
\r
489 "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-uuid'\n value='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-uuid`' />",
\r
491 "x": 1334.1190719604492,
\r
492 "y": 851.1013169288635,
\r
493 "z": "37882b3b.b21224",
\r
497 "id": "24e86468.e8cd5c",
\r
499 "name": "set from DB",
\r
500 "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-version'\n value='`$db.pnf-model.version`' />",
\r
502 "x": 1326.0238761901855,
\r
503 "y": 896.2769241333008,
\r
504 "z": "37882b3b.b21224",
\r
508 "id": "2ef35e2.ce87ea2",
\r
509 "type": "switchNode",
\r
510 "name": "switch input model-version",
\r
511 "xml": "<switch test='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-version`'>\n",
\r
514 "x": 949.5476379394531,
\r
515 "y": 919.1013689041138,
\r
516 "z": "37882b3b.b21224",
\r
525 "id": "9b0d0090.c86a6",
\r
528 "xml": "<outcome value=''>",
\r
531 "x": 1175.547622680664,
\r
532 "y": 896.2443313598633,
\r
533 "z": "37882b3b.b21224",
\r
541 "id": "43470848.9d99c8",
\r
544 "xml": "<outcome value='Other'>\n",
\r
547 "x": 1176.976219177246,
\r
548 "y": 940.5299224853516,
\r
549 "z": "37882b3b.b21224",
\r
557 "id": "1db4f705.93ccc9",
\r
559 "name": "set from input",
\r
560 "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-version'\n value='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-version`' />\n",
\r
562 "x": 1331.2619552612305,
\r
563 "y": 939.9584946632385,
\r
564 "z": "37882b3b.b21224",
\r
568 "id": "1dc78c79.a450c4",
\r
570 "name": "set from DB",
\r
571 "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-name'\n value='`$db.pnf-model.name`' />\n",
\r
573 "x": 1326.0238761901855,
\r
574 "y": 983.4197463989258,
\r
575 "z": "37882b3b.b21224",
\r
579 "id": "25981633.c7dc4a",
\r
580 "type": "switchNode",
\r
581 "name": "switch input model-name",
\r
582 "xml": "<switch test='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-name`'>\n",
\r
585 "x": 944.5476379394531,
\r
586 "y": 1006.2441911697388,
\r
587 "z": "37882b3b.b21224",
\r
596 "id": "443be686.54dde8",
\r
599 "xml": "<outcome value=''>",
\r
602 "x": 1175.547622680664,
\r
603 "y": 983.3871536254883,
\r
604 "z": "37882b3b.b21224",
\r
612 "id": "f6a73c6d.1c44a",
\r
615 "xml": "<outcome value='Other'>\n",
\r
618 "x": 1176.976219177246,
\r
619 "y": 1027.6727447509766,
\r
620 "z": "37882b3b.b21224",
\r
628 "id": "963f984e.4e1598",
\r
630 "name": "set from input",
\r
631 "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-name'\n value='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-name`' />\n",
\r
633 "x": 1331.2619552612305,
\r
634 "y": 1027.1013169288635,
\r
635 "z": "37882b3b.b21224",
\r
639 "id": "152546f0.c6dac9",
\r
641 "name": "set pnf-id",
\r
642 "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-id'\n value='`$pnf-topology-operation-input.pnf-details.pnf-id`' />\n",
\r
644 "x": 894.9047088623047,
\r
645 "y": 658.0388488769531,
\r
646 "z": "37882b3b.b21224",
\r
650 "id": "6f7c97df.b99708",
\r
652 "name": "set model-customization-uuid",
\r
653 "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.onap-model-information.model-customization-uuid' \n value='`$pnf-topology-operation-input.pnf-details.onap-model-information.model-customization-uuid`' />\n",
\r
655 "x": 957.3332252502441,
\r
656 "y": 1079.0863952636719,
\r
657 "z": "37882b3b.b21224",
\r
661 "id": "b26b3f10.8cd93",
\r
662 "type": "switchNode",
\r
663 "name": "switch service-data.pnfs.pnf_length",
\r
664 "xml": "<switch test='`$service-data.pnfs.pnf_length`'>\n",
\r
667 "x": 441.58329010009766,
\r
668 "y": 292.4285001754761,
\r
669 "z": "37882b3b.b21224",
\r
679 "id": "548784a8.6fc1bc",
\r
682 "xml": "<outcome value=''>\n",
\r
685 "x": 683.7976760864258,
\r
686 "y": 230.98793125152588,
\r
687 "z": "37882b3b.b21224",
\r
695 "id": "1c98dcd.f3b3f23",
\r
697 "name": "set pnf-index=0",
\r
698 "xml": "<set>\n<parameter name='pnf-index' value='0' />\n",
\r
700 "x": 1019.083381652832,
\r
701 "y": 230.48800563812256,
\r
702 "z": "37882b3b.b21224",
\r
706 "id": "97bdaa3b.0e9cb8",
\r
709 "xml": "<outcome value='Other'>\n",
\r
712 "x": 684.976203918457,
\r
713 "y": 352.607120513916,
\r
714 "z": "37882b3b.b21224",
\r
722 "id": "6ac25c2c.af1c14",
\r
723 "type": "switchNode",
\r
724 "name": "switch resource-resolution-data.status",
\r
725 "xml": "<switch test='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.pnf-parameters-data.param[$pidx].resource-resolution-data.status`'>\n",
\r
728 "x": 843.3693580627441,
\r
729 "y": 2105.3293199539185,
\r
730 "z": "37882b3b.b21224",
\r
739 "id": "3502dbdf.32a874",
\r
742 "xml": "<outcome value='PENDING'>\n",
\r
745 "x": 1112.7265739440918,
\r
746 "y": 2105.3292760849,
\r
747 "z": "37882b3b.b21224",
\r
755 "id": "cc3acc09.1c768",
\r
758 "xml": "<outcome value='FAILED'>\n",
\r
761 "x": 1106.2623901367188,
\r
762 "y": 2156.2936067581177,
\r
763 "z": "37882b3b.b21224",
\r
771 "id": "829e3fb9.d93a7",
\r
773 "name": "call ss.capability-dg",
\r
774 "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\n",
\r
777 "x": 1321.3811225891113,
\r
778 "y": 2157.0554580688477,
\r
779 "z": "37882b3b.b21224",
\r
788 "id": "bdafebf6.f2fbb8",
\r
789 "type": "returnFailure",
\r
790 "name": "return failure",
\r
791 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`\" />\n",
\r
793 "x": 1888.9286193847656,
\r
794 "y": 2413.532018661499,
\r
795 "z": "37882b3b.b21224",
\r
799 "id": "3962ddfe.4c5df2",
\r
802 "xml": "<outcome value='failure'>\n",
\r
805 "x": 1506.2736320495605,
\r
806 "y": 2157.055519104004,
\r
807 "z": "37882b3b.b21224",
\r
815 "id": "c929724.d0d769",
\r
817 "name": "block : atomic",
\r
818 "xml": "<block atomic='true'>",
\r
822 "x": 1669.5477485656738,
\r
823 "y": 2156.3650598526,
\r
824 "z": "37882b3b.b21224",
\r
836 "id": "ae39be90.d76b7",
\r
838 "name": "generate ss-pnf url replace service-instance-id",
\r
839 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.ss-pnf-assignments`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-pnf-url\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.pnfs.pnf[$pnf-index].pnf-data.service-information.service-instance-id`\"/>\n",
\r
842 "x": 1992.8808403015137,
\r
843 "y": 2209.88161945343,
\r
844 "z": "37882b3b.b21224",
\r
850 "id": "e7c0edc.af4641",
\r
852 "name": "execute RestApiCallNode - PUT pnf",
\r
853 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ss.pnf.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-pnf-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ss-pnf\" />\n\n",
\r
856 "x": 1962.3451347351074,
\r
857 "y": 2312.7388410568237,
\r
858 "z": "37882b3b.b21224",
\r
867 "id": "2aae309b.44db4",
\r
868 "type": "not-found",
\r
869 "name": "not-found",
\r
870 "xml": "<outcome value='not-found'>\n",
\r
873 "x": 2236.9388008117676,
\r
874 "y": 2366.736994743347,
\r
875 "z": "37882b3b.b21224",
\r
883 "id": "6c63be99.6e9df",
\r
886 "xml": "<outcome value='failure'>\n",
\r
889 "x": 2229.3674354553223,
\r
890 "y": 2313.237014770508,
\r
891 "z": "37882b3b.b21224",
\r
899 "id": "b6818d14.aad68",
\r
901 "name": "set pf data for restapi-call-node",
\r
902 "xml": "<set>\n<parameter name='pf.pnf-id'\n value='`$service-data.pnfs.pnf[$pnf-index].pnf-id`' />\n<parameter name='pf.pnf-data.sdnc-request-header.'\n value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.sdnc-request-header.`' />\n<parameter name='pf.pnf-data.request-information.'\n value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.request-information.`' />\n<parameter name='pf.pnf-data.service-information.'\n value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.service-information.`' />\n<parameter name='pf.pnf-data.pnf-details.'\n value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-details.`' />\n<parameter name='pf.pnf-data.pnf-topology.'\n value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-topology.`' />\n<parameter name='pf.pnf-data.pnf-level-oper-status.'\n value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-level-oper-status.`' />\n<parameter name='pf.pnf-data.pnf-request-input.pnf-input-parameters.'\n value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.pnf-input-parameters.`' />\n<parameter name='pf.pnf-data.pnf-request-input.request-version'\n value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.request-version`' />\n<parameter name='pf.pnf-data.pnf-request-input.pnf-name'\n value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.pnf-name`' />\n<parameter name='pf.pnf-data.pnf-request-input.tenant'\n value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.tenant`' />\n<parameter name='pf.pnf-data.pnf-request-input.aic-cloud-region'\n value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.aic-cloud-region`' />\n<parameter name='pf.pnf-data.pnf-request-input.aic-clli'\n value='`$service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-request-input.aic-clli`' />",
\r
904 "x": 1945.3331413269043,
\r
905 "y": 2155.976131439209,
\r
906 "z": "37882b3b.b21224",
\r
910 "id": "60ef7bf2.fa7a14",
\r
912 "name": "generate ss-pnf url - replace pnf-id",
\r
913 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.ss-pnf-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ss-pnf-url\"/>\n <parameter name=\"target\" value=\"{pnf-id}\"/>\n <parameter name=\"replacement\" value=\"`$service-data.pnfs.pnf[$pnf-index].pnf-id`\"/>\n",
\r
916 "x": 1957.16654586792,
\r
917 "y": 2260.69038772583,
\r
918 "z": "37882b3b.b21224",
\r
924 "id": "97cbe59f.102fe8",
\r
926 "name": "printContext",
\r
927 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-pnf-assign.log' />\n",
\r
930 "x": 344.42456817626953,
\r
931 "y": 2600.920820236206,
\r
932 "z": "37882b3b.b21224",
\r
938 "id": "b9417a96.c89598",
\r
940 "name": "set ss.capability-type = pnf",
\r
941 "xml": "<set>\n<parameter name='ss.capability-type' value='pnf' />\n",
\r
943 "x": 409.89292907714844,
\r
944 "y": 1375.5357942581177,
\r
945 "z": "37882b3b.b21224",
\r
949 "id": "ed282b71.ede0f8",
\r
951 "name": "block : atomic",
\r
952 "xml": "<block atomic='true'>",
\r
956 "x": 875.8927993774414,
\r
957 "y": 1492.892912864685,
\r
958 "z": "37882b3b.b21224",
\r
968 "id": "b109eefc.1d872",
\r
970 "name": "for each existing PNF",
\r
971 "xml": "<for index='idx' start='0' end='`$service-data.pnfs.pnf_length`' >\n",
\r
974 "x": 1032.0357284545898,
\r
975 "y": 352.78579807281494,
\r
976 "z": "37882b3b.b21224",
\r
984 "id": "b986a80e.96c248",
\r
985 "type": "switchNode",
\r
986 "name": "switch pnf-id: input vs service-data",
\r
987 "xml": "<switch test='`$pf-topology-operation-input.pnf-details.pnf-id == $service-data.pnfs.pnf[$idx].pnf-id`'>\n",
\r
990 "x": 1309.321434020996,
\r
991 "y": 352.85728549957275,
\r
992 "z": "37882b3b.b21224",
\r
1000 "id": "cb09cf77.62df4",
\r
1001 "type": "outcomeTrue",
\r
1003 "xml": "<outcome value='true'>\n",
\r
1006 "x": 1532.1072006225586,
\r
1007 "y": 352.4287576675415,
\r
1008 "z": "37882b3b.b21224",
\r
1016 "id": "747e7c3c.174b44",
\r
1019 "xml": "<block>\n",
\r
1020 "atomic": "false",
\r
1023 "x": 1664.5714530944824,
\r
1024 "y": 352.46431827545166,
\r
1025 "z": "37882b3b.b21224",
\r
1028 "2a95ccf.7794434",
\r
1035 "id": "2a95ccf.7794434",
\r
1038 "xml": "<break>\n",
\r
1040 "x": 1832.464241027832,
\r
1041 "y": 438.4642963409424,
\r
1042 "z": "37882b3b.b21224",
\r
1046 "id": "923b1ffd.af18b",
\r
1048 "name": "set new pnf_length = 1",
\r
1049 "xml": "<set>\n<parameter name='service-data.pnfs.pnf_length' value='1' />\n",
\r
1051 "x": 1042.642951965332,
\r
1052 "y": 275.82148838043213,
\r
1053 "z": "37882b3b.b21224",
\r
1057 "id": "8c6ecdd5.9e28b",
\r
1059 "name": "set pnf-index = idx",
\r
1060 "xml": "<set>\n<parameter name='pnf-index' value='`$idx`' />\n",
\r
1062 "x": 1863.0357971191406,
\r
1063 "y": 395.2499752044678,
\r
1064 "z": "37882b3b.b21224",
\r
1068 "id": "71acdeef.4b572",
\r
1070 "name": "set is-new-pnf = true",
\r
1071 "xml": "<set>\n<parameter name='is-new-pnf' value='true' />\n",
\r
1073 "x": 395.8929214477539,
\r
1074 "y": 212.32144355773926,
\r
1075 "z": "37882b3b.b21224",
\r
1079 "id": "4b25e8bd.e53158",
\r
1081 "name": "set is-new-pnf = false",
\r
1082 "xml": "<set>\n<parameter name='is-new-pnf' value='false' />\n",
\r
1084 "x": 1871.0714836120605,
\r
1085 "y": 351.9643201828003,
\r
1086 "z": "37882b3b.b21224",
\r
1090 "id": "231e0e98.80a622",
\r
1093 "xml": "<block>\n",
\r
1094 "atomic": "false",
\r
1097 "x": 822.2500228881836,
\r
1098 "y": 352.2500162124634,
\r
1099 "z": "37882b3b.b21224",
\r
1108 "id": "12659093.1463bf",
\r
1109 "type": "switchNode",
\r
1110 "name": "switch is-new-pnf",
\r
1111 "xml": "<switch test='`$is-new-pnf`'>\n",
\r
1114 "x": 1019.7500152587891,
\r
1115 "y": 438.8214178085327,
\r
1116 "z": "37882b3b.b21224",
\r
1124 "id": "273b5e8f.735eb2",
\r
1125 "type": "outcomeTrue",
\r
1127 "xml": "<outcome value='true'>\n",
\r
1130 "x": 1199.6071701049805,
\r
1131 "y": 438.39286518096924,
\r
1132 "z": "37882b3b.b21224",
\r
1140 "id": "d33ee57f.a3ecb8",
\r
1143 "xml": "<block>\n",
\r
1144 "atomic": "false",
\r
1147 "x": 837.7499923706055,
\r
1148 "y": 230.99999713897705,
\r
1149 "z": "37882b3b.b21224",
\r
1152 "1c98dcd.f3b3f23",
\r
1158 "id": "f611eac6.477cc8",
\r
1161 "xml": "<outcome value='0'>\n",
\r
1164 "x": 682.2499923706055,
\r
1165 "y": 290.7499990463257,
\r
1166 "z": "37882b3b.b21224",
\r
1174 "id": "2c0f97dd.67d808",
\r
1175 "type": "switchNode",
\r
1176 "name": "switch is-new-pnf",
\r
1177 "xml": "<switch test='`$is-new-pnf`'>\n",
\r
1180 "x": 383.75000381469727,
\r
1181 "y": 606.2500057220459,
\r
1182 "z": "37882b3b.b21224",
\r
1190 "id": "a0d4e067.649e6",
\r
1191 "type": "outcomeTrue",
\r
1193 "xml": "<outcome value='true'>\n",
\r
1196 "x": 563.6071586608887,
\r
1197 "y": 605.8214530944824,
\r
1198 "z": "37882b3b.b21224",
\r
1206 "id": "42f65de7.c91174",
\r
1208 "name": "set new pnf_length++",
\r
1209 "xml": "<set>\n<parameter name='service-data.pnfs.pnf_length' value='`$service-data.pnfs.pnf_length + 1`' />\n",
\r
1213 "z": "37882b3b.b21224",
\r
1217 "id": "35d2b6f5.5b532a",
\r
1220 "xml": "<block>\n",
\r
1221 "atomic": "false",
\r
1224 "x": 1345.4999771118164,
\r
1225 "y": 437.99996185302734,
\r
1226 "z": "37882b3b.b21224",
\r
1229 "42f65de7.c91174",
\r
1235 "id": "5e6b2c5e.23b7b4",
\r
1237 "name": "set pnf-index = pnf_length",
\r
1238 "xml": "<set>\n<parameter name='pnf-index' value='`$service-data.pnfs.pnf_length`' />\n",
\r
1240 "x": 1556.9999809265137,
\r
1241 "y": 437.49996185302734,
\r
1242 "z": "37882b3b.b21224",
\r
1246 "id": "47b71a3e.97bf84",
\r
1248 "name": "set error-message",
\r
1249 "xml": "<set>\n<parameter name=\"error-message\" value=\"Failed to persist self-serve pnf assignments during assign in MD-SAL\" />",
\r
1251 "x": 2449.285758972168,
\r
1252 "y": 2312.107021331787,
\r
1253 "z": "37882b3b.b21224",
\r
1257 "id": "1d5ac87a.53fd58",
\r
1259 "name": "block : atomic",
\r
1260 "xml": "<block atomic='true'>",
\r
1264 "x": 577.5000228881836,
\r
1265 "y": 2105.142770767212,
\r
1266 "z": "37882b3b.b21224",
\r
1269 "6ac25c2c.af1c14",
\r
1275 "id": "cb3f6813.5ca268",
\r
1278 "xml": "<break>\n",
\r
1280 "x": 741.7857627868652,
\r
1281 "y": 2481.4284267425537,
\r
1282 "z": "37882b3b.b21224",
\r
1286 "id": "3e772b22.e1c734",
\r
1287 "type": "success",
\r
1288 "name": "success",
\r
1289 "xml": "<outcome value='success'>\n",
\r
1292 "x": 1517.5000228881836,
\r
1293 "y": 2277.5000324249268,
\r
1294 "z": "37882b3b.b21224",
\r
1302 "id": "7440700b.da7e",
\r
1305 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"`'EXECUTION DONE: ' + $ss.capability-dg`\"/>\n\n",
\r
1308 "x": 1661.2500228881836,
\r
1309 "y": 2276.2500324249268,
\r
1310 "z": "37882b3b.b21224",
\r
1316 "id": "31272402.ad905c",
\r
1319 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"DONE with pnf-ra-assigment\"/>\n\n",
\r
1322 "x": 1054.1071319580078,
\r
1323 "y": 1592.5000228881836,
\r
1324 "z": "37882b3b.b21224",
\r
1330 "id": "45a102ef.9c38fc",
\r
1331 "type": "execute",
\r
1332 "name": "execute PropertiesNode",
\r
1333 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
\r
1336 "x": 817.5000381469727,
\r
1337 "y": 1432.4286422729492,
\r
1338 "z": "37882b3b.b21224",
\r
1344 "id": "192a8a0a.311bd6",
\r
1345 "type": "switchNode",
\r
1346 "name": "switch prop.controller.user",
\r
1347 "xml": "<switch test='`$prop.controller.user`'>\n",
\r
1350 "x": 406.21427372523704,
\r
1351 "y": 1432.8572630201065,
\r
1352 "z": "37882b3b.b21224",
\r
1360 "id": "98f24d4.445dfb",
\r
1361 "type": "failure",
\r
1363 "xml": "<outcome value=''>\n",
\r
1366 "x": 606.0713691711426,
\r
1367 "y": 1432.428677558899,
\r
1368 "z": "37882b3b.b21224",
\r