3 "id":"b999eafe.842858",
17 "id":"9b116564.833cb8",
18 "type":"service-logic",
19 "name":"GENERIC-RESOURCE-API ${project.version}",
20 "module":"GENERIC-RESOURCE-API",
21 "version":"${project.version}",
23 "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}'>",
25 "x":236.23807907104492,
26 "y":142.95239067077637,
27 "z":"6d778d5b.c45f64",
35 "id":"edc3be65.01613",
37 "name":"tunnelxconn-topology-operation-assign",
38 "xml":"<method rpc='tunnelxconn-topology-operation-assign' mode='sync'>\n",
41 "x":282.15485763549805,
42 "y":178.19044589996338,
43 "z":"6d778d5b.c45f64",
51 "id":"54beea01.d91654",
53 "name":"block : atomic",
54 "xml":"<block atomic=\"true\">",
58 "x":190.47619247436523,
59 "y":321.5237879753113,
60 "z":"6d778d5b.c45f64",
72 "id":"b89786a1.d6f318",
73 "type":"returnSuccess",
74 "name":"return success",
75 "xml":"<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
77 "x":1033.6666564941406,
78 "y":2248.5477046966553,
79 "z":"6d778d5b.c45f64",
85 "id":"dc5c7ceb.62245",
87 "name":"set output to api handler",
88 "xml":"<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='tunnelxconn-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $tunnelxconn-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n",
90 "x":1070.7540550231934,
91 "y":2127.432439804077,
92 "z":"6d778d5b.c45f64",
98 "id":"d5b8885e.fd6168",
100 "name":"set allotted-resource-oper-status",
101 "xml":"<set>\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='PendingCreate' />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$tunnelxconn-topology-operation-input.request-information.request-action`' />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$tunnelxconn-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$tunnelxconn-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",
103 "x":1142.468376159668,
104 "y":1544.6228160858154,
105 "z":"6d778d5b.c45f64",
111 "id":"9cae3448.05d718",
113 "name":"set tmp.ar.self-link",
114 "xml":"<set>\n<parameter name='tmp.ar.self-link' value=\"`'restconf/config/GENERIC-RESOURCE-API:tunnelxconn-allotted-resources/tunnelxconn-allotted-resource/'\n + $tmp.ar.allotted-resource-id\n + '/allotted-resource-data/tunnelxconn-topology/'` \" />\n\n",
116 "x":620.7380676269531,
117 "y":213.33331298828125,
118 "z":"6d778d5b.c45f64",
124 "id":"b278cddb.d9fd3",
126 "name":"set tmp.ar.allotted-resource-id,etc",
127 "xml":"<set>\n<parameter name='tmp.ar.allotted-resource-id' value='`$tunnelxconn-topology-operation-input.allotted-resource-information.allotted-resource-id`' />\n<parameter name='tmp.ar.parent-service-instance-id' value='`$tunnelxconn-topology-operation-input.allotted-resource-information.parent-service-instance-id`' />\n\n\n",
129 "x":673.997314453125,
130 "y":175.59259033203125,
131 "z":"6d778d5b.c45f64",
137 "id":"da748381.28b49",
140 "xml":"<outcome value='success'>\n",
143 "x":823.8148803710938,
144 "y":361.26727294921875,
145 "z":"6d778d5b.c45f64",
153 "id":"c75dc9bc.241ea8",
155 "name":"execute RestApiCallNode - PUT AR by id",
156 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.tx.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-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-ar\" />\n\n",
159 "x":1163.8626251220703,
160 "y":1769.1008231639862,
161 "z":"6d778d5b.c45f64",
171 "id":"5bb67f7.ab55c8",
174 "xml":"<outcome value='not-found'>\n",
177 "x":1432.5040016174316,
178 "y":1820.4322349056602,
179 "z":"6d778d5b.c45f64",
187 "id":"46f52c14.83ac04",
190 "xml":"<outcome value='failure'>\n",
193 "x":1423.504051208496,
194 "y":1788.9322606548667,
195 "z":"6d778d5b.c45f64",
203 "id":"c3730f0f.b2283",
206 "xml":"<outcome value='success'>\n",
209 "x":1427.2540893554688,
210 "y":1759.289365530014,
211 "z":"6d778d5b.c45f64",
219 "id":"2d28b29b.2679ae",
220 "type":"returnFailure",
221 "name":"return failure",
222 "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error updating md-sal for tunnelxconn-allotted-resource\" />\n",
224 "x":1593.2540893554688,
225 "y":1789.6822844967246,
226 "z":"6d778d5b.c45f64",
232 "id":"26675278.de272e",
234 "name":"set oper-status",
235 "xml":"<set>\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$tx-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action`' />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$tx-ar.allotted-resource-status.rpc-action`' />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$tx-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id`' />\n\n",
237 "x":1173.5294189453125,
238 "y":462.05291748046875,
239 "z":"6d778d5b.c45f64",
245 "id":"56500c.86eb1ff4",
247 "name":"Save consumed-allotted-resources to mdsal",
250 "x":1241.2434692382812,
251 "y":1143.7196044921875,
252 "z":"6d778d5b.c45f64",
258 "id":"a45d9a74.e21dc8",
260 "name":"GET tunnelxconn-allotted-resource from mdsal",
263 "x":546.8148193359375,
264 "y":331.7672119140625,
265 "z":"6d778d5b.c45f64",
271 "id":"e55d0a81.00b8c8",
272 "type":"returnFailure",
273 "name":"return failure - tunnelxconn already exists",
274 "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" \n value=\"`'Existing tunnelxconn-allotted-resource with order status of ' + $mdsal-ar.allotted-resource-data.allotted-resource-oper-status.order-status + '.'`\" />\n",
276 "x":1133.129150390625,
277 "y":357.6243896484375,
278 "z":"6d778d5b.c45f64",
284 "id":"585a5348.26ebdc",
286 "name":"set tx-ar-identifiers",
287 "xml":"<set>\n<parameter name='tx-ar-identifiers.consuming-service-instance-id' value=\"`$tunnelxconn-topology-operation-input.service-information.service-instance-id` \" />\n<parameter name='tx-ar-identifiers.parent-service-instance-id' value=\"`$tunnelxconn-topology-operation-input.allotted-resource-information.parent-service-instance-id` \" />\n<parameter name='tx-ar-identifiers.allotted-resource-type' value=\"`$tunnelxconn-topology-operation-input.allotted-resource-information.allotted-resource-type` \" />\n<parameter name='tx-ar-identifiers.allotted-resource-id' value=\"`$tmp.ar.allotted-resource-id` \" />\n\n",
289 "x":1183.38623046875,
290 "y":555.6243896484375,
291 "z":"6d778d5b.c45f64",
297 "id":"adb0c575.93fc28",
299 "name":"Set allotted-resource-identifiers",
302 "x":1210.338623046875,
303 "y":514.338623046875,
304 "z":"6d778d5b.c45f64",
310 "id":"657f2f7c.d06f3",
312 "name":"set identifiers in overal structure",
313 "xml":"<set>\n<parameter name='tx-ar.allotted-resource-data.tunnelxconn-topology.allotted-resource-identifiers.' \nvalue=\"`$tx-ar-identifiers.`\" />\n\n\n",
315 "x":1200.38623046875,
316 "y":863.910400390625,
317 "z":"6d778d5b.c45f64",
323 "id":"5116afe8.1fbc7",
325 "name":"set ecomp model information from input",
326 "xml":"<set>\n<parameter name='tx-ar.allotted-resource-data.tunnelxconn-topology.onap-model-information.' \nvalue=\"`$tunnelxconn-topology-operation-input.allotted-resource-information.onap-model-information.`\" />\n\n\n",
328 "x":1228.957763671875,
329 "y":598.9100952148438,
330 "z":"6d778d5b.c45f64",
336 "id":"ae66aa68.abd658",
338 "name":"switch model-invariant-uuid is null",
339 "xml":"<switch test='$tunnelxconn-topology-operation-input.allotted-resource-information.onap-model-information.model-invariant-uuid'>\n",
342 "x":1209.8148193359375,
343 "y":638.195809841156,
344 "z":"6d778d5b.c45f64",
352 "id":"6cc54295.2d161c",
354 "name":"outcome null",
355 "xml":"<outcome value=''>\n",
358 "x":1436.9576988220215,
359 "y":639.6243271827698,
360 "z":"6d778d5b.c45f64",
368 "id":"81127881.9d9608",
370 "name":"set model-invariant-uuid",
371 "xml":"<set>\n<parameter name='tx-ar.allotted-resource-data.tunnelxconn-topology.onap-model-information.model-invariant-uuid' \nvalue=\"`$ar-model.invariant-uuid`\" />\n\n\n",
373 "x":1638.38627243042,
374 "y":639.0528798103333,
375 "z":"6d778d5b.c45f64",
381 "id":"152bdff8.022b9",
383 "name":"switch model-uuid is null",
384 "xml":"<switch test='$tunnelxconn-topology-operation-input.allotted-resource-information.onap-model-information.model-uuid'>\n",
387 "x":1181.2434158325195,
388 "y":672.4815106391907,
389 "z":"6d778d5b.c45f64",
397 "id":"bbbedf49.98db6",
399 "name":"outcome null",
400 "xml":"<outcome value=''>\n",
403 "x":1382.6719818115234,
404 "y":673.0529322624207,
405 "z":"6d778d5b.c45f64",
413 "id":"569c769b.028248",
415 "name":"set model-uuid",
416 "xml":"<set>\n<parameter name='tx-ar.allotted-resource-data.tunnelxconn-topology.onap-model-information.model-uuid' \nvalue=\"`$ar-model.uuid`\" />\n\n\n",
418 "x":1575.529140472412,
419 "y":673.0528540611267,
420 "z":"6d778d5b.c45f64",
426 "id":"20290d0b.2155a2",
428 "name":"switch model-version is null",
429 "xml":"<switch test='$tunnelxconn-topology-operation-input.allotted-resource-information.onap-model-information.model-version'>\n",
432 "x":1189.8148193359375,
433 "y":705.3386378288269,
434 "z":"6d778d5b.c45f64",
442 "id":"7e9cf888.d7fe28",
444 "name":"outcome null",
445 "xml":"<outcome value=''>\n",
448 "x":1439.8148002624512,
449 "y":705.3386225700378,
450 "z":"6d778d5b.c45f64",
458 "id":"5612f00a.3e69b",
460 "name":"set model-version",
461 "xml":"<set>\n<parameter name='tx-ar.allotted-resource-data.tunnelxconn-topology.onap-model-information.model-version' \nvalue=\"`$ar-model.version`\" />\n\n\n",
463 "x":1632.6719589233398,
464 "y":705.3385443687439,
465 "z":"6d778d5b.c45f64",
471 "id":"a6deba2.5709c48",
473 "name":"switch ar-model.ecomp-generated-naming",
474 "xml":"<switch test='`$ar-model.ecomp-generated-naming`'>\n",
477 "x":1253.38623046875,
478 "y":807.7672729492188,
479 "z":"6d778d5b.c45f64",
488 "id":"6d922375.aad36c",
491 "xml":"<outcome value='Y'>\n",
494 "x":1539.3862915039062,
495 "y":807.1958618164062,
496 "z":"6d778d5b.c45f64",
504 "id":"1fce2277.8cc94e",
506 "name":"block : atomic",
507 "xml":"<block atomic=\"true\">\n",
511 "x":1693.1363525390625,
513 "z":"6d778d5b.c45f64",
521 "id":"57e0183a.8970f8",
524 "xml":"<outcome value='Other'>\n",
527 "x":1558.608642578125,
528 "y":896.1958618164062,
529 "z":"6d778d5b.c45f64",
537 "id":"3976e608.f5d75a",
538 "type":"returnFailure",
539 "name":"return failure",
540 "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error in allotted-resource-model data. Ecomp-generated-naming should be true\" />\n\n",
542 "x":1741.608642578125,
543 "y":901.1958618164062,
544 "z":"6d778d5b.c45f64",
550 "id":"88e249.16900db8",
552 "name":"switch ar-model.ecomp-generated-naming",
553 "xml":"<switch test='`$ar-model.naming-policy`'>\n",
556 "x":1829.38623046875,
557 "y":858.767333984375,
558 "z":"6d778d5b.c45f64",
567 "id":"5641d8c.283f728",
569 "name":"outcome oam_network_policy",
570 "xml":"<outcome value='oam_network_policy'>\n",
574 "y":862.3453369140625,
575 "z":"6d778d5b.c45f64",
583 "id":"b39ef6a0.0274b8",
586 "xml":"<outcome value='Other'>\n",
590 "y":939.1958618164062,
591 "z":"6d778d5b.c45f64",
599 "id":"2b9f3515.cf741a",
601 "name":"set ar_name",
602 "xml":"<set>\n<parameter name='tmp.ar-name' value='$TenantOAMNetworkRole_$LandingNetworkRole_SZ' />\n",
604 "x":2510.100830078125,
605 "y":897.7672729492188,
606 "z":"6d778d5b.c45f64",
612 "id":"3cef7181.8fe5ae",
614 "name":"execute SliStringUtils - replace TenantOAMNetworkRole",
615 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.ar-name`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-name\"/>\n <parameter name=\"target\" value=\"$TenantOAMNetworkRole\"/>\n <parameter name=\"replacement\" value=\"`$tunnelxconn-topology-operation-input.tunnelxconn-request-input.untrusted-network-role`\"/>\n\n",
618 "x":2654.2437858581543,
619 "y":941.6244196891785,
620 "z":"6d778d5b.c45f64",
628 "id":"ab0c53b1.763fd",
630 "name":"execute SliStringUtils - replace LandingNetworkRole",
631 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.ar-name`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-name\"/>\n <parameter name=\"target\" value=\"$LandingNetworkRole\"/>\n <parameter name=\"replacement\" value=\"`$tunnelxconn-topology-operation-input.tunnelxconn-request-input.trusted-network-role`\"/>\n\n",
634 "x":2641.243896484375,
635 "y":981.7672729492188,
636 "z":"6d778d5b.c45f64",
644 "id":"b3953e7c.866a1",
646 "name":"block: atomic",
647 "xml":"<block atomic='true'>\n",
651 "x":2318.5292015075684,
652 "y":937.3387522697449,
653 "z":"6d778d5b.c45f64",
664 "id":"d423712c.9510d",
666 "name":"set identifiers.allotted-resource-name",
667 "xml":"<set>\n<parameter name='tx-ar-identifiers.allotted-resource-name' value='`$tmp.ar-name`' />\n",
670 "y":1032.052978515625,
671 "z":"6d778d5b.c45f64",
677 "id":"f2d263a0.9cb28",
679 "name":"set assignments in overall structure",
680 "xml":"<set>\n<parameter name='tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.' \nvalue=\"`$tx-ar-assignments.`\" />\n\n\n",
682 "x":1208.8624572753906,
683 "y":1068.6246919631958,
684 "z":"6d778d5b.c45f64",
690 "id":"cfb78668.00cd08",
692 "name":"Handle tx-ar-assignments",
693 "xml":"<set>\n<parameter name='tx-ar-assignments.vni' value='`$tmp.vni`'/>\n<parameter name='tx-ar-assignments.vgmux-bearer-ip' value='`$tmp.vgmux-bearer-ip'/>\n<parameter name='tx-ar-assignments.vgmux-lan-ip' value='`$tmp.vgmux-lan-ip`'/>\n\n",
695 "x":1192.529052734375,
696 "y":1014.0530395507812,
697 "z":"6d778d5b.c45f64",
703 "id":"4da8a0e3.f9391",
705 "name":"for cidx..service-data.consumed-allotted-resources.consumed-allotted-resource[]",
706 "xml":"<for index='cidx' start='0' end='`$service-data.consumed-allotted-resources.consumed-allotted-resource_length`' >\n",
709 "x":2226.8155822753906,
710 "y":1342.0411586761475,
711 "z":"6d778d5b.c45f64",
719 "id":"a8b2172e.cd4e48",
721 "name":"switch service-data.consumed-allotted-resources_length",
722 "xml":"<switch test='`$service-data.consumed-allotted-resources.consumed-allotted-resource_length`'>\n",
725 "x":1255.8148498535156,
726 "y":1230.505145072937,
727 "z":"6d778d5b.c45f64",
736 "id":"a50704cf.c04048",
738 "name":"outcome Null",
739 "xml":"<outcome value=''>\n",
742 "x":1633.2077865600586,
743 "y":1234.1124458312988,
744 "z":"6d778d5b.c45f64",
752 "id":"85ec2af5.2058c8",
755 "xml":"<outcome value='Other'>\n",
758 "x":1631.9577865600586,
759 "y":1324.1124477386475,
760 "z":"6d778d5b.c45f64",
768 "id":"501bbf27.3dc73",
770 "name":"switch allotted-resource-id",
771 "xml":"<switch test=\"`$service-data.consumed-allotted-resources.consumed-allotted-resource[$cidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",
774 "x":2661.4106826782227,
775 "y":1343.85085105896,
776 "z":"6d778d5b.c45f64",
784 "id":"b8d3fff1.f08f7",
785 "type":"outcomeTrue",
787 "xml":"<outcome value='true'>\n",
790 "x":2868.220375061035,
791 "y":1347.064962387085,
792 "z":"6d778d5b.c45f64",
800 "id":"c7832c3d.51fd4",
802 "name":"block : atomic",
803 "xml":"<block atomic=\"true\">",
806 "x":1789.834976196289,
807 "y":1330.4885501861572,
808 "z":"6d778d5b.c45f64",
817 "id":"a18e2528.73b4b8",
819 "name":"block : atomic",
820 "xml":"<block atomic=\"true\">",
823 "x":3036.4817276000977,
824 "y":1351.9222631454468,
825 "z":"6d778d5b.c45f64",
834 "id":"529a9ced.1689c4",
837 "xml":"<set>\n<parameter name='tmp.cidx' value=\"`0`\" />\n<parameter name='service-data.consumed-allotted-resources.consumed-allotted-resource_length' value=\"1\" />\n\n\n",
839 "x":1812.0647735595703,
840 "y":1236.3266830444336,
841 "z":"6d778d5b.c45f64",
847 "id":"1499010f.83f3cf",
849 "name":"set tmp.cidx and ctx.consumed-ar",
850 "xml":"<set>\n<parameter name='tmp.cidx' value='`$cidx`' />\n<parameter name='ctx.consumed-ar.' value='`$service-data.consumed-allotted-resources.consumed-allotted-resource[$cidx].`' />\n<parameter name='tmp.found-cidx' value='true' />",
852 "x":3282.3391876220703,
853 "y":1346.4937419891357,
854 "z":"6d778d5b.c45f64",
860 "id":"ba9689e8.b0eb18",
862 "name":"set consumed allotted resources",
863 "xml":"<set>\n<parameter name='service-data.consumed-allotted-resources.consumed-allotted-resource[$tmp.cidx].allotted-resource-id' value=\"`$tmp.ar.allotted-resource-id` \" />\n<parameter name='service-data.consumed-allotted-resources.consumed-allotted-resource[$tmp.cidx].allotted-resource-type' value=\"`$tunnelxconn-topology-operation-input.allotted-resource-information.allotted-resource-type` \" />\n<parameter name='service-data.consumed-allotted-resources.consumed-allotted-resource[$tmp.cidx].allotted-resource-pointer' value=\"`$tmp.ar.self-link` \" />\n<parameter name='service-data.consumed-allotted-resources.consumed-allotted-resource_length' value='`$tmp.cidx + 1`' />\n\n",
865 "x":1168.6720123291016,
866 "y":1394.826681137085,
867 "z":"6d778d5b.c45f64",
873 "id":"bfc770a.039b39",
880 "x":1568.910057067871,
881 "y":1755.4815347194672,
882 "z":"6d778d5b.c45f64",
890 "id":"6d9885bf.82560c",
892 "name":"Add SZ AR to mdsal",
895 "x":1093.148208618164,
896 "y":1730.1957080364227,
897 "z":"6d778d5b.c45f64",
903 "id":"bfbe7bd4.d6c658",
905 "name":"execute getTime",
906 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
909 "x":1109.4814224243164,
910 "y":1468.671986579895,
911 "z":"6d778d5b.c45f64",
919 "id":"9216b08d.5fd83",
922 "xml":"<outcome value='Other'>\n",
927 "z":"6d778d5b.c45f64",
935 "id":"371cd2ba.38774e",
937 "name":"block: atomic",
938 "xml":"<block atomic=\"true\">\n",
943 "y":908.2908325195312,
944 "z":"6d778d5b.c45f64",
972 "id":"2a2df6fc.2dabba",
975 "xml":"<set>\n<parameter name='tx-ar.allotted-resource-id' value=\"`$tmp.ar.allotted-resource-id` \" />\n<parameter name='tx-ar.allotted-resource-status.action' value=\"`$tunnelxconn-topology-operation-input.request-information.request-action` \" />\n<parameter name='tx-ar.allotted-resource-status.rpc-name' value=\"tunnelxconn-topology-operation\" />\n<parameter name='tx-ar.allotted-resource-status.rpc-action' value=\"`$tunnelxconn-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$tunnelxconn-topology-operation-input.request-information.` \" />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$tunnelxconn-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$tunnelxconn-topology-operation-input.service-information.` \" />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value=\"`$tunnelxconn-topology-operation-input.allotted-resource-information.` \" />\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-operation-information.tunnelxconn-request-input.' value=\"`$tunnelxconn-topology-operation-input.tunnelxconn-request-input.` \" />",
977 "x":1148.2434387207031,
978 "y":418.433837890625,
979 "z":"6d778d5b.c45f64",
985 "id":"d48a17c0.cf0328",
987 "name":"update AAI allotted-resource",
988 "xml":"<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $service-data.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $service-data.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $service-data.service-information.service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"description\" value=\"`$tunnelxconn-topology-operation-input.allotted-resource-information.allotted-resource-type`\" />\n\t<parameter name=\"selflink\" value=\"`$tmp.ar.self-link`\" />\n\t<parameter name=\"model-invariant-id\" value=\"`$ar-model.invariant-uuid`\" />\n\t<parameter name=\"model-version-id\" value=\"`$ar-model.uuid`\" />\n\t<parameter name=\"operational-status\" value=\"null\" />\n",
991 "x":1130.0529327392578,
992 "y":1636.5767517089844,
993 "z":"6d778d5b.c45f64",
1002 "id":"79fa545.87748ac",
1005 "xml":"<outcome value='failure'>\n",
1008 "x":1385.814842224121,
1009 "y":1619.5292553901672,
1010 "z":"6d778d5b.c45f64",
1018 "id":"35f0ebf7.475e14",
1019 "type":"returnFailure",
1020 "name":"return failure",
1021 "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"AAI failed\" />\n",
1023 "x":1552.338722229004,
1024 "y":1631.1483263969421,
1025 "z":"6d778d5b.c45f64",
1031 "id":"4d20b9c0.a03f48",
1034 "xml":"<outcome value='not-found'>\n",
1037 "x":1392.9101295471191,
1038 "y":1652.2912230491638,
1039 "z":"6d778d5b.c45f64",
1047 "id":"cf052f96.b8566",
1048 "type":"switchNode",
1049 "name":"switch tmp.found-cidx",
1050 "xml":"<switch test='`$tmp.found-cidx`'>\n",
1053 "x":2041.743423461914,
1054 "y":1588.2315921783447,
1055 "z":"6d778d5b.c45f64",
1063 "id":"8bf3422f.2b157",
1064 "type":"outcomeTrue",
1066 "xml":"<outcome value='false'>\n",
1069 "x":2231.743377685547,
1070 "y":1588.2315292358398,
1071 "z":"6d778d5b.c45f64",
1079 "id":"9c6522bb.3d0d8",
1081 "name":"block : atomic",
1082 "xml":"<block atomic=\"true\">",
1085 "x":2397.743377685547,
1086 "y":1588.2315292358398,
1087 "z":"6d778d5b.c45f64",
1095 "id":"7050f1b9.4b61d",
1097 "name":"set tmp.cidx ",
1098 "xml":"<set>\n<parameter name='tmp.cidx' value='`$service-data.consumed-allotted-resources.consumed-allotted-resource_length`' />\n",
1100 "x":2643.600706100464,
1101 "y":1588.8030033111572,
1102 "z":"6d778d5b.c45f64",
1108 "id":"9c256baa.9a73c8",
1113 "x":3201.243408203125,
1114 "y":1391.731689453125,
1115 "z":"6d778d5b.c45f64",
1121 "id":"16086eb5.0d69c1",
1123 "name":"execute RestApiCallNode - Update parent provided service AR",
1124 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.parentsvc.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.parent-ar-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='DELETE' />\n <parameter name=\"responsePrefix\" value=\"parent\" />\n\n",
1127 "x":1919.9521980285645,
1128 "y":1755.1904199123383,
1129 "z":"6d778d5b.c45f64",
1139 "id":"a5553221.c0fd3",
1141 "name":"Rollback parent",
1144 "x":1763.9521255493164,
1145 "y":1724.8570504188538,
1146 "z":"6d778d5b.c45f64",
1152 "id":"86e0d6.1ae8cf28",
1155 "xml":"<outcome value='not-found'>\n",
1158 "x":2291.2602462768555,
1159 "y":1815.8553862571716,
1160 "z":"6d778d5b.c45f64",
1168 "id":"75544fc8.6352b",
1171 "xml":"<outcome value='failure'>\n",
1174 "x":2282.26029586792,
1175 "y":1784.3554120063782,
1176 "z":"6d778d5b.c45f64",
1184 "id":"57a8706f.ba354",
1187 "xml":"<outcome value='success'>\n",
1190 "x":2286.0103340148926,
1191 "y":1754.7125168815255,
1192 "z":"6d778d5b.c45f64",
1200 "id":"caf797d4.f6d228",
1207 "x":2427.666301727295,
1208 "y":1750.9046860709786,
1209 "z":"6d778d5b.c45f64",
1217 "id":"9ff8826d.6bd4a",
1219 "name":"Generate naming",
1222 "x":1184.3862762451172,
1223 "y":765.7672252655029,
1224 "z":"6d778d5b.c45f64",
1230 "id":"979614.a2bff9f",
1231 "type":"get-resource",
1232 "name":"get-resource tunnelxconn-allotted-resource",
1233 "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='tunnelxconn-allotted-resources/tunnelxconn-allotted-resource/$tunnelxconn-topology-operation-input.alloted-resource-information.allotted-resource-id' pfx='mdsal-ar' >\n",
1238 "z":"6d778d5b.c45f64",
1247 "id":"d949a905.c1bea8",
1249 "name":"execute Properties",
1250 "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",
1255 "z":"6d778d5b.c45f64",
1263 "id":"e846c57.b684038",
1264 "type":"get-resource",
1265 "name":"get-resource parent service instance",
1266 "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='services/service/$tmp.ar.parent-service-instance-id' pfx='mdsal-parent-service-instance' >\n",
1271 "z":"6d778d5b.c45f64",
1280 "id":"a2470c46.eb9cf",
1283 "xml":"<outcome value='success'>\n",
1288 "z":"6d778d5b.c45f64",
1296 "id":"62985d2c.2792b4",
1299 "xml":"<outcome value='Other'>\n",
1304 "z":"6d778d5b.c45f64",
1312 "id":"b1afedee.bd87b",
1313 "type":"returnFailure",
1314 "name":"return failure - tunnelxconn already exists",
1315 "xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" \n value=\"`'No entry found for parent service instance id ' + $tmp.ar.parent-service-instance-id + '.'`\" />\n",
1319 "z":"6d778d5b.c45f64",
1325 "id":"f9fa039a.8b5e4",
1327 "name":"for vf module parameters",
1328 "xml":"<for index='curparm' start='0' end='`$parent-service-instance.service-data.vnfs.vnf[0].vnf-data.vf-modules.vf-module[0].vf-module-data.vf-module-topology.vf-module-parameter.param_length`' >\n",
1333 "z":"6d778d5b.c45f64",
1341 "id":"92171d5f.d4722",
1342 "type":"switchNode",
1343 "name":"switch parameter name",
1344 "xml":"<switch test='$parent-service-instance.service-data.vnfs.vnf[0].vnf-data.vf-modules.vf-module[0].vf-module-data.vf-module-topology.vf-module-parameter.param[$curparm].name'>\n",
1349 "z":"6d778d5b.c45f64",
1358 "id":"56162789.d15ac8",
1360 "name":"vGMUX_Bearer_IP",
1361 "xml":"<outcome value='vGMUX_Bearer_IP'>\n",
1366 "z":"6d778d5b.c45f64",
1374 "id":"d653d93c.35b268",
1376 "name":"set tmp.vgmux-bearer-ip",
1377 "xml":"<set>\n<parameter name='tmp.vgmux-bearer-ip' value='`$parent-service-instance.service-data.vnfs.vnf[0].vnf-data.vf-modules.vf-module[0].vf-module-data.vf-module-topology.vf-module-parameter.param[$curparm].value`'/>\n",
1379 "x":1917.999984741211,
1380 "y":965.0000286102295,
1381 "z":"6d778d5b.c45f64",
1387 "id":"15568e39.5cb232",
1389 "name":"vGMUX_LAN_IP",
1390 "xml":"<outcome value='vGMUX_LAN_IP'>\n",
1395 "z":"6d778d5b.c45f64",
1403 "id":"2e8b39e3.6a9606",
1405 "name":"set tmp.vgmux-lan-ip",
1406 "xml":"<set>\n<parameter name='tmp.vgmux-lan-ip' value='`$parent-service-instance.service-data.vnfs.vnf[0].vnf-data.vf-modules.vf-module[0].vf-module-data.vf-module-topology.vf-module-parameter.param[$curparm].value`'/>\n",
1410 "z":"6d778d5b.c45f64",
1416 "id":"34f814bd.9517ec",
1418 "name":"set default assignments",
1419 "xml":"<set>\n<parameter name='tmp.vni' value='123' />\n<parameter name='tmp.vgmux-bearer-ip' value='127.0.0.1' />\n<parameter name='tmp.vgmux-lan-ip' value='127.0.0.1' />",
1423 "z":"6d778d5b.c45f64",
1429 "id":"ad83edc9.9f4e2",
1431 "name":"generate allotted-resource url",
1432 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.tx-allottedresource`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-url\"/>\n <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.ar.allotted-resource-id`\"/>\n",
1437 "z":"6d778d5b.c45f64",