3 "id":"4bd5bd37.f86d04",
17 "id":"f4ab63ca.eb92a",
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":223.23807907104492,
26 "y":126.95239067077637,
27 "z":"b012a4c9.78c2f8",
35 "id":"426678bd.cf9e68",
37 "name":"tunnelxconn-topology-operation-create",
38 "xml":"<method rpc='tunnelxconn-topology-operation-create' mode='sync'>\n",
41 "x":269.15485763549805,
42 "y":162.19044589996338,
43 "z":"b012a4c9.78c2f8",
51 "id":"2ec1984d.225ac8",
53 "name":"block : atomic",
54 "xml":"<block atomic=\"true\">",
58 "x":129.97619247436523,
59 "y":898.0238044261932,
60 "z":"b012a4c9.78c2f8",
97 "id":"10ef459.468ceba",
98 "type":"returnSuccess",
99 "name":"return success",
100 "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",
103 "y":2528.548095703125,
104 "z":"b012a4c9.78c2f8",
110 "id":"32cfcb41.379404",
112 "name":"set output to api handler",
113 "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",
116 "y":2449.670654296875,
117 "z":"b012a4c9.78c2f8",
123 "id":"c2739924.e1f078",
125 "name":"set allotted-resource-oper-status",
126 "xml":"<set>\n<parameter name='tx-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='Created' />\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",
128 "x":483.7542190551758,
129 "y":686.0514001846313,
130 "z":"b012a4c9.78c2f8",
136 "id":"488f5b92.19e194",
138 "name":"set tmp.ar.self-link",
139 "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",
141 "x":439.73806381225586,
142 "y":279.33332538604736,
143 "z":"b012a4c9.78c2f8",
149 "id":"b51a0259.f39a2",
151 "name":"set tmp.ar.allotted-resource-id,etc",
152 "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",
154 "x":486.9973258972168,
155 "y":245.59259128570557,
156 "z":"b012a4c9.78c2f8",
162 "id":"787b91d3.6f1fe",
164 "name":"execute Properties",
165 "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",
168 "x":441.9934387207031,
169 "y":315.231538772583,
170 "z":"b012a4c9.78c2f8",
178 "id":"9b64b236.89e9f",
180 "name":"execute RestApiCallNode - Get AR by id",
181 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\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='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
184 "x":508.5187530517578,
185 "y":476.4594917297363,
186 "z":"b012a4c9.78c2f8",
195 "id":"2b0e5257.490a3e",
197 "name":"generate allotted-resource url",
198 "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",
201 "x":474.0648536682129,
202 "y":375.0172290802002,
203 "z":"b012a4c9.78c2f8",
211 "id":"5fdfdba3.dcaa04",
214 "xml":"<outcome value='success'>\n",
217 "x":765.8148918151855,
218 "y":475.26725220680237,
219 "z":"b012a4c9.78c2f8",
227 "id":"9da96735.692f78",
229 "name":"execute RestApiCallNode - PUT AR by id",
230 "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",
233 "x":506.5293273925781,
234 "y":812.7675542831421,
235 "z":"b012a4c9.78c2f8",
245 "id":"78834b98.051174",
248 "xml":"<outcome value='not-found'>\n",
251 "x":814.8373680114746,
252 "y":817.0991821289062,
253 "z":"b012a4c9.78c2f8",
261 "id":"38f6f73f.0e20a8",
264 "xml":"<outcome value='failure'>\n",
267 "x":807.8373947143555,
268 "y":777.5990890488029,
269 "z":"b012a4c9.78c2f8",
277 "id":"1a175827.1c4498",
280 "xml":"<outcome value='success'>\n",
283 "x":811.5874328613281,
284 "y":747.9561939239502,
285 "z":"b012a4c9.78c2f8",
293 "id":"94d3b068.ac6cf",
294 "type":"returnFailure",
295 "name":"return failure",
296 "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",
298 "x":977.5874328613281,
299 "y":778.3491128906608,
300 "z":"b012a4c9.78c2f8",
306 "id":"54ce9aad.792d54",
308 "name":"block: atomic",
309 "xml":"<block atomic=\"true\">\n",
313 "x":946.8148460388184,
314 "y":475.7672016620636,
315 "z":"b012a4c9.78c2f8",
324 "id":"c3db8bf6.53bff8",
326 "name":"switch tx length",
327 "xml":"<switch test='`$mdsal-ar.tunnelxconn-allotted-resource_length`'>\n",
330 "x":1192.6720924377441,
331 "y":510.052964925766,
332 "z":"b012a4c9.78c2f8",
340 "id":"7b9c79d1.b19188",
343 "xml":"<outcome value='1'>\n",
346 "x":1383.6720962524414,
347 "y":510.0529625415802,
348 "z":"b012a4c9.78c2f8",
356 "id":"e04e6dca.76365",
358 "name":"set tx-ar from get",
359 "xml":"<set>\n<parameter name='tx-ar.' value='$mdsal-ar.tunnelxconn-allotted-resource[0].' />\n",
361 "x":1783.5292320251465,
362 "y":510.62438678741455,
363 "z":"b012a4c9.78c2f8",
369 "id":"af9a1a72.a82fe8",
371 "name":"block: atomic",
372 "xml":"<block atomic='true'>\n",
376 "x":1554.5290794372559,
377 "y":510.6244316101074,
378 "z":"b012a4c9.78c2f8",
388 "id":"1983376a.f9c999",
390 "name":"set oper-status",
391 "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",
393 "x":1781.5294761657715,
394 "y":578.0529508590698,
395 "z":"b012a4c9.78c2f8",
401 "id":"6a1ab1f4.45b32",
403 "name":"GET tunnelxconn-allotted-resource from mdsal",
406 "x":533.8148155212402,
407 "y":439.7671926021576,
408 "z":"b012a4c9.78c2f8",
414 "id":"d7aed103.b9628",
416 "name":"switch order-status",
417 "xml":"<switch test='`$tx-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",
420 "x":1791.52925491333,
421 "y":543.6243848800659,
422 "z":"b012a4c9.78c2f8",
431 "id":"c21bad97.2b01b",
433 "name":"outcome PendingCreate",
434 "xml":"<outcome value='PendingCreate'>\n",
437 "x":2003.1292114257812,
438 "y":504.6243848800659,
439 "z":"b012a4c9.78c2f8",
447 "id":"139070ae.43418f",
449 "name":"outcome Other",
450 "xml":"<outcome value='Other'>\n",
453 "x":2028.8435859680176,
454 "y":540.052975654602,
455 "z":"b012a4c9.78c2f8",
463 "id":"36945235.7bd9de",
465 "name":"Set allotted-resource-identifiers",
468 "x":489.33863830566406,
469 "y":530.3386459350586,
470 "z":"b012a4c9.78c2f8",
476 "id":"e928ef80.4dbaf",
478 "name":"save backup copy of mdsal-ar for rollback",
479 "xml":"<set>\n<parameter name='bk-tx-ar' value='$mdsal-ar.' />\n",
481 "x":1272.3864250183105,
482 "y":475.76729369163513,
483 "z":"b012a4c9.78c2f8",
489 "id":"bea8560a.48f358",
491 "name":"Create urls for restapi",
494 "x":444.9576606750488,
495 "y":344.6243562698364,
496 "z":"b012a4c9.78c2f8",
502 "id":"bf19aea.7bd1f5",
509 "x":953.2434005737305,
510 "y":744.1483631134033,
511 "z":"b012a4c9.78c2f8",
519 "id":"d7acef0d.1766d",
521 "name":"TO DO: vnf/put parent",
524 "x":457.2433776855469,
525 "y":751.4815540313718,
526 "z":"b012a4c9.78c2f8",
532 "id":"15d54a99.c0a1e5",
534 "name":"execute getTime",
535 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
538 "x":431.24338150024414,
539 "y":647.4815549850464,
540 "z":"b012a4c9.78c2f8",
548 "id":"157b26bb.b56649",
551 "xml":"<outcome value='Other'>\n",
554 "x":765.5766868591309,
555 "y":511.4814250469208,
556 "z":"b012a4c9.78c2f8",
564 "id":"b6c600ed.7d738",
566 "name":"block: atomic",
567 "xml":"<block atomic=\"true\">\n",
571 "x":945.5766372680664,
572 "y":512.1479756832123,
573 "z":"b012a4c9.78c2f8",
581 "id":"1f4eaef5.3277a1",
584 "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.` \" />",
586 "x":406.24343490600586,
587 "y":569.1481971740723,
588 "z":"b012a4c9.78c2f8",
594 "id":"ebb3aaed.f79098",
601 "x":2217.5997276306152,
602 "y":506.0000190734863,
603 "z":"b012a4c9.78c2f8",
611 "id":"8f7dd07f.e05c5",
613 "name":"execute RestApiCallNode - setup vgMUX-vG vxlan tunnel port",
614 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.vpp.vxlan-tunnel.templatefile`\" />\n <parameter name='restapiUrl' value='`$tmp.honeycomb.url + $tmp.vpp-honeycomb-url`' />\n <parameter name='restapiUser' value='`$prop.honeycomb.user`' />\n <parameter name='restapiPassword' value='`$prop.honeycomb.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"honeycomb-vnf\" />\n\n",
617 "x":568.8331909179688,
618 "y":1527.4521162509918,
619 "z":"b012a4c9.78c2f8",
629 "id":"a14dc204.8d341",
632 "xml":"<outcome value='not-found'>\n",
635 "x":933.1413116455078,
636 "y":1569.783754967153,
637 "z":"b012a4c9.78c2f8",
645 "id":"284ca85d.512f28",
648 "xml":"<outcome value='failure'>\n",
651 "x":924.1413612365723,
652 "y":1538.2837807163596,
653 "z":"b012a4c9.78c2f8",
661 "id":"b3f6249b.426088",
664 "xml":"<outcome value='success'>\n",
667 "x":927.8913993835449,
668 "y":1508.640885591507,
669 "z":"b012a4c9.78c2f8",
677 "id":"e808154c.2623e8",
678 "type":"returnFailure",
679 "name":"return failure",
680 "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",
682 "x":1093.891399383545,
683 "y":1539.0338045582175,
684 "z":"b012a4c9.78c2f8",
690 "id":"9406225.ddaf0e",
697 "x":1069.5473670959473,
698 "y":1504.83305478096,
699 "z":"b012a4c9.78c2f8",
707 "id":"8bba30cc.fe5ba",
709 "name":"set vgMUX-vG VXLAN Tunnel Port Props",
710 "xml":"<set>\n<parameter name='tmp.tunnel-name' value=\"`$tmp.tunnel-vgMUX-vG-name` \" />\n<parameter name='tmp.tunnel-dest-ip' value=\"`$tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vg-ip` \" />\n<parameter name='tmp.tunnel-src-ip' value=\"`$tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vgmux-bearer-ip` \" />\n<parameter name='tmp.tunnel-vni' value=\"`$tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vni` \" />",
712 "x":503.9443817138672,
713 "y":1419.7860252857208,
714 "z":"b012a4c9.78c2f8",
720 "id":"32eb1163.d516be",
722 "name":"generate full vgMUX-vG vpp-honeycomb url",
723 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.vpp-honeycomb`\"/>\n <parameter name=\"outputPath\" value=\"tmp.vpp-honeycomb-url\"/>\n <parameter name=\"target\" value=\"{tunnel-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.tunnel-name`\"/>\n",
726 "x":507.9443817138672,
727 "y":1486.4522392749786,
728 "z":"b012a4c9.78c2f8",
736 "id":"a7ed4806.925918",
738 "name":"generate honeycomb-url to vgMUX",
739 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.honeycomb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.honeycomb.url\"/>\n <parameter name=\"target\" value=\"{honeycomb-instance-ip}\"/>\n <parameter name=\"replacement\" value=\"`$tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vgmux-mgmt-ip`\"/>\n",
742 "x":487.2776794433594,
743 "y":1358.119027376175,
744 "z":"b012a4c9.78c2f8",
752 "id":"cfb5feab.0f438",
754 "name":"execute RestApiCallNode - setup vgMUX-vBRG vxlan tunnel xconnect",
755 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.vpp.xconnect.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$tmp.honeycomb.url + $tmp.vpp-honeycomb-url + '/v3po:l2' `\" />\n <parameter name='restapiUser' value='`$prop.honeycomb.user`' />\n <parameter name='restapiPassword' value='`$prop.honeycomb.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"honeycomb-vnf\" />\n\n",
758 "x":584.5001220703125,
759 "y":1945.000272989273,
760 "z":"b012a4c9.78c2f8",
770 "id":"37d8112.512f9ee",
773 "xml":"<outcome value='not-found'>\n",
776 "x":914.8082027435303,
777 "y":1983.331808231771,
778 "z":"b012a4c9.78c2f8",
786 "id":"d9dbd6bb.b6c748",
789 "xml":"<outcome value='failure'>\n",
792 "x":905.8082523345947,
793 "y":1951.8318339809775,
794 "z":"b012a4c9.78c2f8",
802 "id":"e43b621a.00f7a",
805 "xml":"<outcome value='success'>\n",
808 "x":909.5582904815674,
809 "y":1922.1889388561249,
810 "z":"b012a4c9.78c2f8",
818 "id":"de2f1fde.22f26",
819 "type":"returnFailure",
820 "name":"return failure",
821 "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",
823 "x":1075.5582904815674,
824 "y":1952.5818578228354,
825 "z":"b012a4c9.78c2f8",
831 "id":"4a171ada.482344",
838 "x":1051.2142581939697,
839 "y":1918.381108045578,
840 "z":"b012a4c9.78c2f8",
848 "id":"5842add0.278be4",
850 "name":"set vgMUX to vG and vgMUX to vBRG VXLAN Tunnel Name",
851 "xml":"<set>\n<parameter name='tmp.tunnel-vgMUX-vG-name' value=\"`'vxlanTun' + $tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vg-ip` \" />\n<parameter name='tmp.tunnel-vgMUX-vBRG-name' value=\"`'vxlanTun' + $tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vbrg-wan-ip` \" />\n",
853 "x":561.0001220703125,
854 "y":1003.6667947769165,
855 "z":"b012a4c9.78c2f8",
861 "id":"ea47a00.0f61f6",
863 "name":"set vgMUX-vBRG VXLAN Tunnel Port Props",
864 "xml":"<set>\n<parameter name='tmp.tunnel-name' value=\"`$tmp.tunnel-vgMUX-vBRG-name` \" />\n<parameter name='tmp.tunnel-dest-ip' value=\"`$tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vbrg-wan-ip` \" />\n<parameter name='tmp.tunnel-src-ip' value=\"`$tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vgmux-lan-ip` \" />\n<parameter name='tmp.tunnel-vni' value=\"`$tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vni` \" />",
866 "x":516.0001220703125,
867 "y":1625.3334667682648,
868 "z":"b012a4c9.78c2f8",
874 "id":"4c2c728.25a0a8c",
876 "name":"execute RestApiCallNode - setup vgMUX-vBRG vxlan tunnel port",
877 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.vpp.vxlan-tunnel.templatefile`\" />\n <parameter name='restapiUrl' value='`$tmp.honeycomb.url + $tmp.vpp-honeycomb-url`' />\n <parameter name='restapiUser' value='`$prop.honeycomb.user`' />\n <parameter name='restapiPassword' value='`$prop.honeycomb.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"honeycomb-vnf\" />\n\n",
880 "x":568.0000915527344,
881 "y":1785.3334696292877,
882 "z":"b012a4c9.78c2f8",
892 "id":"996a3cce.097c6",
895 "xml":"<outcome value='not-found'>\n",
898 "x":934.3081817626953,
899 "y":1767.6650616154075,
900 "z":"b012a4c9.78c2f8",
908 "id":"c1448167.bb548",
911 "xml":"<outcome value='failure'>\n",
914 "x":925.3082313537598,
915 "y":1736.165087364614,
916 "z":"b012a4c9.78c2f8",
924 "id":"9df5070b.8acf98",
927 "xml":"<outcome value='success'>\n",
930 "x":929.0582695007324,
931 "y":1706.5221922397614,
932 "z":"b012a4c9.78c2f8",
940 "id":"91cb2799.fe3cb8",
941 "type":"returnFailure",
942 "name":"return failure",
943 "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",
945 "x":1095.0582695007324,
946 "y":1736.915111206472,
947 "z":"b012a4c9.78c2f8",
953 "id":"1ec51b4d.a24c65",
960 "x":1070.7142372131348,
961 "y":1702.7143614292145,
962 "z":"b012a4c9.78c2f8",
970 "id":"d034836c.ceb1a",
972 "name":"generate full vgMUX-vBRG vpp-honeycomb url",
973 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.vpp-honeycomb`\"/>\n <parameter name=\"outputPath\" value=\"tmp.vpp-honeycomb-url\"/>\n <parameter name=\"target\" value=\"{tunnel-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.tunnel-name`\"/>\n",
976 "x":520.0000610351562,
977 "y":1677.3334228992462,
978 "z":"b012a4c9.78c2f8",
986 "id":"5cb177b5.36c428",
988 "name":"set vgMUX-vBG xconnect url",
989 "xml":"<set>\n<parameter name='tmp.tunnel-name' value=\"`$tmp.tunnel-vgMUX-vG-name` \" />",
991 "x":454.0000801086426,
992 "y":2013.3334791660309,
993 "z":"b012a4c9.78c2f8",
999 "id":"2a44f1bf.b73b4e",
1001 "name":"generate full vgMUX-vG xconnect url",
1002 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.vpp-honeycomb`\"/>\n <parameter name=\"outputPath\" value=\"tmp.vpp-honeycomb-url\"/>\n <parameter name=\"target\" value=\"{tunnel-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.tunnel-name`\"/>\n",
1005 "x":482.0000305175781,
1006 "y":2075.333482027054,
1007 "z":"b012a4c9.78c2f8",
1015 "id":"791a374c.f3ff58",
1017 "name":"set xconnect Tunnel target",
1018 "xml":"<set>\n<parameter name='tmp.tunnel-name' value=\"`$tmp.tunnel-vgMUX-vBRG-name` \" />\n",
1020 "x":450.0000762939453,
1021 "y":2143.3334839344025,
1022 "z":"b012a4c9.78c2f8",
1028 "id":"6e72d3ba.6430bc",
1030 "name":"set xconnect Tunnel target",
1031 "xml":"<set>\n<parameter name='tmp.tunnel-name' value=\"`$tmp.tunnel-vgMUX-vG-name` \" />\n",
1033 "x":442.00012969970703,
1034 "y":1849.3334696292877,
1035 "z":"b012a4c9.78c2f8",
1041 "id":"9d5f28a5.d56c08",
1043 "name":"execute RestApiCallNode - setup vgMUX-vG vxlan tunnel xconnect",
1044 "xml":"<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.vpp.xconnect.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$tmp.honeycomb.url + $tmp.vpp-honeycomb-url + '/v3po:l2' `\" />\n <parameter name='restapiUser' value='`$prop.honeycomb.user`' />\n <parameter name='restapiPassword' value='`$prop.honeycomb.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"honeycomb-vnf\" />\n\n",
1047 "x":578.0000915527344,
1048 "y":2231.333485841751,
1049 "z":"b012a4c9.78c2f8",
1059 "id":"22ae7c19.cc9fd4",
1062 "xml":"<outcome value='not-found'>\n",
1065 "x":908.3081722259521,
1066 "y":2269.665021084249,
1067 "z":"b012a4c9.78c2f8",
1075 "id":"3156119c.9e4b7e",
1078 "xml":"<outcome value='failure'>\n",
1081 "x":899.3082218170166,
1082 "y":2238.1650468334556,
1083 "z":"b012a4c9.78c2f8",
1091 "id":"6862ce93.4351f",
1094 "xml":"<outcome value='success'>\n",
1097 "x":903.0582599639893,
1098 "y":2208.522151708603,
1099 "z":"b012a4c9.78c2f8",
1107 "id":"681e50ab.c45c",
1108 "type":"returnFailure",
1109 "name":"return failure",
1110 "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",
1112 "x":1067.0583305358887,
1113 "y":2238.9151890277863,
1114 "z":"b012a4c9.78c2f8",
1120 "id":"62f4ced7.a4af3",
1127 "x":1044.7142276763916,
1128 "y":2204.714320898056,
1129 "z":"b012a4c9.78c2f8",
1137 "id":"88c3d8e8.fd9bf8",
1139 "name":"Get vgmux-mgmt-ip",
1142 "x":251.33342742919922,
1143 "y":1052.0002641677856,
1144 "z":"b012a4c9.78c2f8",
1150 "id":"af6234fd.552b38",
1151 "type":"get-resource",
1152 "name":"get-resource IPADDR from dmaap DHCP_MAP ",
1153 "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='IPADDR' key=\"SELECT min(ip_addr) ip from DHCP_MAP where mac_addr = $tx-ar.allotted-resource-data.allotted-resource-operation-information.tunnelxconn-request-input.brg-wan-mac-address\" pfx=\"tmp.brg-wan-ip\" >\n",
1156 "x":522.0000152587891,
1157 "y":892.6666488647461,
1158 "z":"b012a4c9.78c2f8",
1166 "id":"33869022.a4f21",
1168 "name":"set tunnelxconn-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vbrg-wan-ip",
1169 "xml":"<set>\n<parameter name='tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vbrg-wan-ip' value='`$tmp.brg-wan-ip.ip`' />\n",
1171 "x":693.597412109375,
1172 "y":948.5832824707031,
1173 "z":"b012a4c9.78c2f8",
1179 "id":"88eb2c2f.53683",
1181 "name":"call GENERIC-RESOURCE-API:get-vnf-api-parent-instance",
1182 "xml":"<call module='GENERIC-RESOURCE-API' rpc='get-vnf-api-parent-instance' mode='sync' >\n\n",
1185 "x":558.8182067871094,
1186 "y":1158.8786926269531,
1187 "z":"b012a4c9.78c2f8",
1195 "id":"4524025f.df47bc",
1197 "name":"set tmp.search.parent-service-instance-id to find vgmux-mgmt-ip",
1198 "xml":"<set>\n<parameter name='tmp.search.parent-service-instance-id' value='`$tmp.ar.parent-service-instance-id`' />\n",
1200 "x":567.8485412597656,
1201 "y":1102.9696044921875,
1202 "z":"b012a4c9.78c2f8",
1208 "id":"95dae94.88e3f18",
1210 "name":"set vgmux-mgmt-ip",
1211 "xml":"<set>\n<parameter name='tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vgmux-mgmt-ip' value='`$parent-service-instance.service-data.vnf-topology-information.vnf-parameters[$paramidx].vnf-parameter-value`' />\n<!--\n<parameter name='tx-ar.allotted-resource-data.tunnelxconn-topology.tunnelxconn-assignments.vgmux-mgmt-ip' value='`$parent-service-instance.vnf-topology-information.vnf-parameters[$paramidx].vnf-parameter-value`' />\n\n-->",
1213 "x":1313.666488647461,
1214 "y":1266.000111579895,
1215 "z":"b012a4c9.78c2f8",
1221 "id":"1621ed9e.9cfd52",
1223 "name":"for vnf-parameters in parent-service-instance",
1224 "xml":"<for index='paramidx' start='0' end='`$parent-service-instance.service-data.vnf-topology-information.vnf-parameters_length`' >\n<!--\n<for index='paramidx' start='0' end='`$parent-service-instance.vnf-topology-information.vnf-parameters_length`' >\n-->",
1227 "x":513.666633605957,
1228 "y":1270.9997749328613,
1229 "z":"b012a4c9.78c2f8",
1237 "id":"ee03e253.4d7d6",
1238 "type":"switchNode",
1239 "name":"switch parameter matches vgmux_private_ip_1",
1240 "xml":"<switch test='`$parent-service-instance.service-data.vnf-topology-information.vnf-parameters[$paramidx].vnf-parameter-name == vgmux_private_ip_1`'>\n<!--\n<switch test='`$parent-service-instance.vnf-topology-information.vnf-parameters[$paramidx].vnf-parameter-name == vgmux_private_ip_1`'>\n-->\n\n\n",
1243 "x":885.000114440918,
1244 "y":1269.9997787475586,
1245 "z":"b012a4c9.78c2f8",
1253 "id":"18221f86.51e54",
1256 "xml":"<outcome value='true'>\n",
1259 "x":1143.66646194458,
1260 "y":1267.6665105819702,
1261 "z":"b012a4c9.78c2f8",
1269 "id":"df4b5b2a.cf7c58",
1270 "type":"returnFailure",
1271 "name":"return failure",
1272 "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
1276 "z":"b012a4c9.78c2f8",
1282 "id":"16bf3f62.43de21",
1284 "name":"execute printContext",
1285 "xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/tunnel-xconn-create.log' />\n",
1288 "x":490.3796691894531,
1289 "y":1569.8198165893555,
1290 "z":"b012a4c9.78c2f8",
1298 "id":"af2cb6d9.632eb8",
1299 "type":"returnFailure",
1300 "name":"return failure",
1301 "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
1303 "x":194.7272491455078,
1305 "z":"b012a4c9.78c2f8",
1311 "id":"31198a25.789e76",
1312 "type":"returnFailure",
1313 "name":"return failure",
1314 "xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
1316 "x":1079.272705078125,
1317 "y":916.8181915283203,
1318 "z":"b012a4c9.78c2f8",