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