Update underlay DGs for VoLTE use case
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_network-topology-operation-delete.json
1 [
2   {
3     "id": "5b1da5a1.42a48c",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 84,
8     "y": 118.11099243164062,
9     "z": "cb78d918.7fc128",
10     "wires": [
11       [
12         "93750cf9.1f2d78"
13       ]
14     ]
15   },
16   {
17     "id": "93750cf9.1f2d78",
18     "type": "service-logic",
19     "name": "GENERIC-RESOURCE-API ${project.version}",
20     "module": "GENERIC-RESOURCE-API",
21     "version": "${project.version}",
22     "comments": "",
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}'>",
24     "outputs": 1,
25     "x": 296.00000381469727,
26     "y": 190.11100959777832,
27     "z": "cb78d918.7fc128",
28     "wires": [
29       [
30         "86c0b848.b39ba"
31       ]
32     ]
33   },
34   {
35     "id": "86c0b848.b39ba",
36     "type": "method",
37     "name": "method network-topology-operation-delete",
38     "xml": "<method rpc='network-topology-operation-delete' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 284.0001220703125,
42     "y": 278.1109924316406,
43     "z": "cb78d918.7fc128",
44     "wires": [
45       [
46         "77e3cc35.7d7cd4"
47       ]
48     ]
49   },
50   {
51     "id": "77e3cc35.7d7cd4",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 560.0000305175781,
59     "y": 286.11100578308105,
60     "z": "cb78d918.7fc128",
61     "wires": [
62       [
63         "be2e1456.227648",
64         "a1897ab9.0fe448",
65         "b9226511.aff8f8",
66         "bac94eb6.f12e88",
67         "d9cb698f.15b1f",
68         "4f7bc968.61f5a",
69         "af92894.71fa378",
70         "4a75daf.1521ba4"
71       ]
72     ]
73   },
74   {
75     "id": "be2e1456.227648",
76     "type": "call",
77     "name": "call GENERIC-RESOURCE-API:validate-network-input-parameters",
78     "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input-parameters' mode='sync' >\n",
79     "comments": "",
80     "outputs": 1,
81     "x": 881,
82     "y": 69.11099243164062,
83     "z": "cb78d918.7fc128",
84     "wires": [
85       []
86     ]
87   },
88   {
89     "id": "a1897ab9.0fe448",
90     "type": "get-resource",
91     "name": "get-resource esr-thirdparty-sdnc",
92     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.thirdparty-sdnc-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
93     "comments": "",
94     "outputs": 1,
95     "x": 825,
96     "y": 514.1109619140625,
97     "z": "cb78d918.7fc128",
98     "wires": [
99       [
100         "75e7b934.cb3dd8",
101         "796a59b1.8d0548",
102         "5c8d6866.b859a"
103       ]
104     ]
105   },
106   {
107     "id": "75e7b934.cb3dd8",
108     "type": "success",
109     "name": "success",
110     "xml": "<outcome value='success'>\n",
111     "comments": "",
112     "outputs": 1,
113     "x": 1063,
114     "y": 470.1109924316406,
115     "z": "cb78d918.7fc128",
116     "wires": [
117       [
118         "cf00d60e.b98ae8"
119       ]
120     ]
121   },
122   {
123     "id": "796a59b1.8d0548",
124     "type": "not-found",
125     "name": "not-found",
126     "xml": "<outcome value='not-found'>\n",
127     "comments": "",
128     "outputs": 1,
129     "x": 1067.490966796875,
130     "y": 511.68505859375,
131     "z": "cb78d918.7fc128",
132     "wires": [
133       [
134         "b91067cd.af8e68"
135       ]
136     ]
137   },
138   {
139     "id": "5c8d6866.b859a",
140     "type": "other",
141     "name": "other",
142     "xml": "<outcome value='Other'>\n",
143     "comments": "",
144     "outputs": 1,
145     "x": 1060.823974609375,
146     "y": 563.018310546875,
147     "z": "cb78d918.7fc128",
148     "wires": [
149       [
150         "977f0d12.35997"
151       ]
152     ]
153   },
154   {
155     "id": "b91067cd.af8e68",
156     "type": "returnFailure",
157     "name": "return failure",
158     "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=\"Network model is_bound_to_vpn=true but no vpn_binding is present\" />\n\n",
159     "comments": "",
160     "x": 1243.0623779296875,
161     "y": 509.97076416015625,
162     "z": "cb78d918.7fc128",
163     "wires": []
164   },
165   {
166     "id": "977f0d12.35997",
167     "type": "returnFailure",
168     "name": "return failure",
169     "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=\"Unexpected error retrieving vpn binding\" />\n\n",
170     "comments": "",
171     "x": 1221.5965576171875,
172     "y": 561.45751953125,
173     "z": "cb78d918.7fc128",
174     "wires": []
175   },
176   {
177     "id": "b9226511.aff8f8",
178     "type": "for",
179     "name": "for each network-input-parameters",
180     "xml": "<for index='idx' start='0' end='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param_length`' >\n",
181     "comments": "",
182     "outputs": 1,
183     "x": 843,
184     "y": 247.11099243164062,
185     "z": "cb78d918.7fc128",
186     "wires": [
187       [
188         "1203f51d.6f9be3"
189       ]
190     ]
191   },
192   {
193     "id": "1203f51d.6f9be3",
194     "type": "block",
195     "name": "block",
196     "xml": "<block>\n",
197     "atomic": "false",
198     "comments": "",
199     "outputs": 1,
200     "x": 1124.8333740234375,
201     "y": 225.4443359375,
202     "z": "cb78d918.7fc128",
203     "wires": [
204       [
205         "f23590e3.3d3e",
206         "9c473946.08b4",
207         "634e4197.82f778"
208       ]
209     ]
210   },
211   {
212     "id": "f23590e3.3d3e",
213     "type": "switchNode",
214     "name": "switch name",
215     "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
216     "comments": "",
217     "outputs": 1,
218     "x": 1333,
219     "y": 186.11099243164062,
220     "z": "cb78d918.7fc128",
221     "wires": [
222       [
223         "722e293e.27d6a8"
224       ]
225     ]
226   },
227   {
228     "id": "722e293e.27d6a8",
229     "type": "outcomeTrue",
230     "name": "true",
231     "xml": "<outcome value='true'>\n",
232     "comments": "",
233     "outputs": 1,
234     "x": 1520,
235     "y": 186.11099243164062,
236     "z": "cb78d918.7fc128",
237     "wires": [
238       [
239         "ed3016dc.763f5"
240       ]
241     ]
242   },
243   {
244     "id": "ed3016dc.763f5",
245     "type": "set",
246     "name": "set name",
247     "xml": "<set>\n<parameter name='prop.l3vpn.name' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
248     "comments": "",
249     "x": 1688,
250     "y": 186.71099853515625,
251     "z": "cb78d918.7fc128",
252     "wires": []
253   },
254   {
255     "id": "9c473946.08b4",
256     "type": "switchNode",
257     "name": "switch service-type",
258     "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'service-type'`\">\n",
259     "comments": "",
260     "outputs": 1,
261     "x": 1338,
262     "y": 240.71096801757812,
263     "z": "cb78d918.7fc128",
264     "wires": [
265       [
266         "406e37de.0fb498"
267       ]
268     ]
269   },
270   {
271     "id": "406e37de.0fb498",
272     "type": "outcomeTrue",
273     "name": "true",
274     "xml": "<outcome value='true'>\n",
275     "comments": "",
276     "outputs": 1,
277     "x": 1521.9999389648438,
278     "y": 245.71096801757812,
279     "z": "cb78d918.7fc128",
280     "wires": [
281       [
282         "3e9c73.d1f31b8e"
283       ]
284     ]
285   },
286   {
287     "id": "3e9c73.d1f31b8e",
288     "type": "set",
289     "name": "set service-type",
290     "xml": "<set>\n<parameter name='prop.l3vpn.service-type' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
291     "comments": "",
292     "x": 1690.9999389648438,
293     "y": 243.71096801757812,
294     "z": "cb78d918.7fc128",
295     "wires": []
296   },
297   {
298     "id": "cf00d60e.b98ae8",
299     "type": "set",
300     "name": "set controller data",
301     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].serviceUrl`\" />\n<parameter name='prop.sdncRestApi.templateDir' value='/opt/onap/sdnc/data' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",
302     "comments": "",
303     "x": 1249,
304     "y": 467.1109619140625,
305     "z": "cb78d918.7fc128",
306     "wires": []
307   },
308   {
309     "id": "91ceb00c.aa0fd",
310     "type": "execute",
311     "name": "execute REST DELETE VPN",
312     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.sdncRestApi.tempDir +'/l3smvpntemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/huawei-ac-net-l3vpn-svc:l3vpn-svc-cfg/vpn-services/vpnservice=' + $prop.l3vpn.name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\"/>\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>",
313     "comments": "",
314     "outputs": 1,
315     "x": 1314,
316     "y": 600.1109924316406,
317     "z": "cb78d918.7fc128",
318     "wires": [
319       []
320     ]
321   },
322   {
323     "id": "bac94eb6.f12e88",
324     "type": "switchNode",
325     "name": "switch service-type",
326     "xml": "<switch test=\"`$prop.l3vpn.service-type`\">\n",
327     "comments": "",
328     "outputs": 1,
329     "x": 784,
330     "y": 618.1109924316406,
331     "z": "cb78d918.7fc128",
332     "wires": [
333       [
334         "31607169.f993a6"
335       ]
336     ]
337   },
338   {
339     "id": "31607169.f993a6",
340     "type": "outcomeTrue",
341     "name": "l3vpn-ipwan",
342     "xml": "<outcome value='l3vpn-ipwan'>\n",
343     "comments": "",
344     "outputs": 1,
345     "x": 1034,
346     "y": 602.1109924316406,
347     "z": "cb78d918.7fc128",
348     "wires": [
349       [
350         "91ceb00c.aa0fd"
351       ]
352     ]
353   },
354   {
355     "id": "d9cb698f.15b1f",
356     "type": "switchNode",
357     "name": "switch service-data.networks.network_length",
358     "xml": "<switch test='`$service-data.networks.network_length`'>\n",
359     "comments": "",
360     "outputs": 1,
361     "x": 823,
362     "y": 142.11099243164062,
363     "z": "cb78d918.7fc128",
364     "wires": [
365       [
366         "652472f9.d0128c",
367         "2b9737f2.ff2e58"
368       ]
369     ]
370   },
371   {
372     "id": "652472f9.d0128c",
373     "type": "other",
374     "name": "outcome Null",
375     "xml": "<outcome value=''>\n",
376     "comments": "",
377     "outputs": 1,
378     "x": 1268,
379     "y": 68.11105346679688,
380     "z": "cb78d918.7fc128",
381     "wires": [
382       [
383         "56dffac.74ce404"
384       ]
385     ]
386   },
387   {
388     "id": "56dffac.74ce404",
389     "type": "returnFailure",
390     "name": "return failure",
391     "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
392     "comments": "",
393     "x": 1458.7774658203125,
394     "y": 55,
395     "z": "cb78d918.7fc128",
396     "wires": []
397   },
398   {
399     "id": "2b9737f2.ff2e58",
400     "type": "other",
401     "name": "other",
402     "xml": "<outcome value='Other'>\n",
403     "comments": "",
404     "outputs": 1,
405     "x": 1152.0003662109375,
406     "y": 133.11106872558594,
407     "z": "cb78d918.7fc128",
408     "wires": [
409       [
410         "5d39d6e3.de1a58"
411       ]
412     ]
413   },
414   {
415     "id": "5d39d6e3.de1a58",
416     "type": "block",
417     "name": "block : atomic",
418     "xml": "<block atomic=\"true\">",
419     "atomic": "true",
420     "outputs": 1,
421     "x": 1323.2698974609375,
422     "y": 116.66560363769531,
423     "z": "cb78d918.7fc128",
424     "wires": [
425       [
426         "2ac08a71.09b5de",
427         "9c86a373.825778"
428       ]
429     ]
430   },
431   {
432     "id": "2ac08a71.09b5de",
433     "type": "for",
434     "name": "for nidx..service-data.networks.network[]",
435     "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
436     "comments": "",
437     "outputs": 1,
438     "x": 1621.285888671875,
439     "y": 97.53961181640625,
440     "z": "cb78d918.7fc128",
441     "wires": [
442       [
443         "5db8c267.915c24"
444       ]
445     ]
446   },
447   {
448     "id": "9c86a373.825778",
449     "type": "switchNode",
450     "name": "switch tmp.nidx ",
451     "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
452     "comments": "",
453     "outputs": 1,
454     "x": 1542.5872802734375,
455     "y": 140.52279663085938,
456     "z": "cb78d918.7fc128",
457     "wires": [
458       [
459         "3d81dbd3.1a6114"
460       ]
461     ]
462   },
463   {
464     "id": "3d81dbd3.1a6114",
465     "type": "outcome",
466     "name": "NULL",
467     "xml": "<outcome value=''>\n",
468     "comments": "",
469     "outputs": 1,
470     "x": 1743.015869140625,
471     "y": 146.09420776367188,
472     "z": "cb78d918.7fc128",
473     "wires": [
474       [
475         "75e88bb1.8a62cc"
476       ]
477     ]
478   },
479   {
480     "id": "5db8c267.915c24",
481     "type": "switchNode",
482     "name": "switch networkid found",
483     "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
484     "comments": "",
485     "outputs": 1,
486     "x": 1931.7144775390625,
487     "y": 95.78970336914062,
488     "z": "cb78d918.7fc128",
489     "wires": [
490       [
491         "e928a560.5b1c7"
492       ]
493     ]
494   },
495   {
496     "id": "75e88bb1.8a62cc",
497     "type": "returnFailure",
498     "name": "return failure",
499     "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
500     "comments": "",
501     "x": 1914.4443359375,
502     "y": 146.237060546875,
503     "z": "cb78d918.7fc128",
504     "wires": []
505   },
506   {
507     "id": "e928a560.5b1c7",
508     "type": "outcomeTrue",
509     "name": "true",
510     "xml": "<outcome value='true'>\n",
511     "comments": "",
512     "outputs": 1,
513     "x": 2137.666748046875,
514     "y": 94.68243408203125,
515     "z": "cb78d918.7fc128",
516     "wires": [
517       [
518         "4ba4d636.a30d6"
519       ]
520     ]
521   },
522   {
523     "id": "4ba4d636.a30d6",
524     "type": "set",
525     "name": "set tmp.nidx and ctx.network-data",
526     "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
527     "comments": "",
528     "x": 2376.198486328125,
529     "y": 90.43243408203125,
530     "z": "cb78d918.7fc128",
531     "wires": []
532   },
533   {
534     "id": "4f7bc968.61f5a",
535     "type": "block",
536     "name": "block : saveNetworkData",
537     "xml": "<block atomic=\"true\">",
538     "atomic": "true",
539     "comments": "",
540     "outputs": 1,
541     "x": 802,
542     "y": 708.1109924316406,
543     "z": "cb78d918.7fc128",
544     "wires": [
545       [
546         "79d9aff3.77d7a8",
547         "7c1ac8d9.cf4248",
548         "305a1978.b12f4e",
549         "93b679b.6a51508"
550       ]
551     ]
552   },
553   {
554     "id": "af92894.71fa378",
555     "type": "returnSuccess",
556     "name": "return success",
557     "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",
558     "comments": "",
559     "x": 762.6665802001953,
560     "y": 841.4442739486694,
561     "z": "cb78d918.7fc128",
562     "wires": []
563   },
564   {
565     "id": "305a1978.b12f4e",
566     "type": "set",
567     "name": "copy input to service-data",
568     "xml": "<set>\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.sdnc-request-header.' value='`$network-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.request-information.' value='`$network-topology-operation-input.request-information.`' />\n",
569     "comments": "",
570     "x": 1095.0000076293945,
571     "y": 688.4443044662476,
572     "z": "cb78d918.7fc128",
573     "wires": []
574   },
575   {
576     "id": "79d9aff3.77d7a8",
577     "type": "set",
578     "name": "set networkId",
579     "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n",
580     "comments": "",
581     "x": 1059.2895622253418,
582     "y": 732.1621513366699,
583     "z": "cb78d918.7fc128",
584     "wires": []
585   },
586   {
587     "id": "7c1ac8d9.cf4248",
588     "type": "set",
589     "name": "set object-path",
590     "xml": "<set>\n<parameter name='network-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $network-topology-operation-input.service-information.service-instance-id\n + '/service-data/networks/network/'\n + $networkId\n + '/network-data/'` \" />\n \n",
591     "comments": "",
592     "x": 1065.0039291381836,
593     "y": 769.30504322052,
594     "z": "cb78d918.7fc128",
595     "wires": []
596   },
597   {
598     "id": "93b679b.6a51508",
599     "type": "set",
600     "name": "set network-level-oper-status",
601     "xml": "<set>\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status' value='Deleted' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />\n",
602     "comments": "",
603     "x": 1108.9999389648438,
604     "y": 816.4442625045776,
605     "z": "cb78d918.7fc128",
606     "wires": []
607   },
608   {
609     "id": "4a75daf.1521ba4",
610     "type": "get-resource",
611     "name": "get-resource pnf",
612     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $prop.l3vpn.pe1_id AND \n\t\t     depth = '0'\"\n        pfx='tmp.aai.pnf' local-only='false' >\n\n",
613     "comments": "",
614     "outputs": 1,
615     "x": 781,
616     "y": 392,
617     "z": "cb78d918.7fc128",
618     "wires": [
619       [
620         "b89fb093.0489a8",
621         "6b28b3fc.71f09c",
622         "6a884f6a.df82b8"
623       ]
624     ]
625   },
626   {
627     "id": "b89fb093.0489a8",
628     "type": "success",
629     "name": "success",
630     "xml": "<outcome value='success'>\n",
631     "comments": "",
632     "outputs": 1,
633     "x": 975,
634     "y": 330,
635     "z": "cb78d918.7fc128",
636     "wires": [
637       [
638         "af6e1f5.d3f8c6"
639       ]
640     ]
641   },
642   {
643     "id": "6b28b3fc.71f09c",
644     "type": "not-found",
645     "name": "not-found",
646     "xml": "<outcome value='not-found'>\n",
647     "comments": "",
648     "outputs": 1,
649     "x": 984.490966796875,
650     "y": 372.57403564453125,
651     "z": "cb78d918.7fc128",
652     "wires": [
653       [
654         "f8931666.61247"
655       ]
656     ]
657   },
658   {
659     "id": "6a884f6a.df82b8",
660     "type": "other",
661     "name": "other",
662     "xml": "<outcome value='Other'>\n",
663     "comments": "",
664     "outputs": 1,
665     "x": 977.823974609375,
666     "y": 420.9073486328125,
667     "z": "cb78d918.7fc128",
668     "wires": [
669       [
670         "d28c6955.33e8f"
671       ]
672     ]
673   },
674   {
675     "id": "f8931666.61247",
676     "type": "returnFailure",
677     "name": "return failure",
678     "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=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
679     "comments": "",
680     "x": 1170.0623779296875,
681     "y": 373.8597717285156,
682     "z": "cb78d918.7fc128",
683     "wires": []
684   },
685   {
686     "id": "d28c6955.33e8f",
687     "type": "returnFailure",
688     "name": "return failure",
689     "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=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
690     "comments": "",
691     "x": 1166.5965576171875,
692     "y": 424.3465270996094,
693     "z": "cb78d918.7fc128",
694     "wires": []
695   },
696   {
697     "id": "af6e1f5.d3f8c6",
698     "type": "set",
699     "name": "set tmp.thirdparty-sdnc-id",
700     "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
701     "comments": "",
702     "x": 1189,
703     "y": 326,
704     "z": "cb78d918.7fc128",
705     "wires": []
706   },
707   {
708     "id": "634e4197.82f778",
709     "type": "switchNode",
710     "name": "switch pe1_id",
711     "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'pe1_id'`\">\n",
712     "comments": "",
713     "outputs": 1,
714     "x": 1340,
715     "y": 287,
716     "z": "cb78d918.7fc128",
717     "wires": [
718       [
719         "5329ae02.4dab98"
720       ]
721     ]
722   },
723   {
724     "id": "5329ae02.4dab98",
725     "type": "outcomeTrue",
726     "name": "true",
727     "xml": "<outcome value='true'>\n",
728     "comments": "",
729     "outputs": 1,
730     "x": 1526,
731     "y": 296,
732     "z": "cb78d918.7fc128",
733     "wires": [
734       [
735         "19f03810.34cf68"
736       ]
737     ]
738   },
739   {
740     "id": "19f03810.34cf68",
741     "type": "set",
742     "name": "set pe1_id",
743     "xml": "<set>\n<parameter name='prop.l3vpn.pe1_id' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
744     "comments": "",
745     "x": 1709,
746     "y": 300,
747     "z": "cb78d918.7fc128",
748     "wires": []
749   }
750 ]