Merge "Allow sub directories for graphs"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-deactivate.json
1 [
2   {
3     "id": "6b385e45.7a3f5",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 139.57137298583984,
8     "y": 40,
9     "z": "757466fd.415308",
10     "wires": [
11       [
12         "1dde2ff0.4c745"
13       ]
14     ]
15   },
16   {
17     "id": "1dde2ff0.4c745",
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": 214.8570785522461,
26     "y": 80.23811149597168,
27     "z": "757466fd.415308",
28     "wires": [
29       [
30         "ea4d719e.008e2"
31       ]
32     ]
33   },
34   {
35     "id": "ea4d719e.008e2",
36     "type": "method",
37     "name": "method sdwan-vnf-topology-operation-device-deactivate",
38     "xml": "<method rpc='sdwan-vnf-topology-operation-device-deactivate' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 208,
42     "y": 119.9999942779541,
43     "z": "757466fd.415308",
44     "wires": [
45       [
46         "8022f97f.a9e9c8"
47       ]
48     ]
49   },
50   {
51     "id": "8022f97f.a9e9c8",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 232.73810195922852,
58     "y": 310.69354248046875,
59     "z": "757466fd.415308",
60     "wires": [
61       [
62         "fe2f71f.5a0549",
63         "90ac7c05.1df59",
64         "62c2b68c.cb8668",
65         "2f2e6d66.de0b42",
66         "499b8fd4.89df6",
67         "60947bb5.977bb4",
68         "e2cd50c2.c2f0d",
69         "b764369b.fbe158",
70         "5d47732a.38d94c",
71         "58377091.27285",
72         "dac79818.50d828",
73         "744539f4.efb448",
74         "560d559f.36474c",
75         "d89f363a.ca5158"
76       ]
77     ]
78   },
79   {
80     "id": "fe2f71f.5a0549",
81     "type": "set",
82     "name": "set vnf in service-data",
83     "xml": "<set>\n<!--parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' /-->\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.sdnc-request-header.' value='`$vnf-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.request-information.' value='`$vnf-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.' value='`$vnf-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-information.' value='`$vnf-topology-operation-input.vnf-information.`' />",
84     "comments": "",
85     "x": 488.57144927978516,
86     "y": 733.0002317428589,
87     "z": "757466fd.415308",
88     "wires": []
89   },
90   {
91     "id": "90ac7c05.1df59",
92     "type": "set",
93     "name": "set vnfId and vnf-object-path",
94     "xml": "<set>\n<parameter name='vnfId' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name=\"vnf-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vnf-topology-operation-input.service-information.service-instance-id  + '/service-data/vnfs/vnf/'  + $vnf-topology-operation-input.vnf-information.vnf-id  + '/vnf-data/'` \" />",
95     "comments": "",
96     "x": 510.12699127197266,
97     "y": 775.2224426269531,
98     "z": "757466fd.415308",
99     "wires": []
100   },
101   {
102     "id": "2f2e6d66.de0b42",
103     "type": "returnSuccess",
104     "name": "return success",
105     "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",
106     "comments": "",
107     "x": 468.90482330322266,
108     "y": 937.7777910232544,
109     "z": "757466fd.415308",
110     "wires": []
111   },
112   {
113     "id": "560d559f.36474c",
114     "type": "update",
115     "name": "update SDWAN DeviceInstance status to AAI",
116     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='device' \n      key='device.device-id = $vnf-topology-operation-input.vnf-information.vnf-id' >\n<parameter name='device-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='operational-status' value='PendingDelete' />",
117     "comments": "",
118     "outputs": 1,
119     "x": 559.2344131469727,
120     "y": 878.1478223800659,
121     "z": "757466fd.415308",
122     "wires": [
123       []
124     ]
125   },
126   {
127     "id": "62c2b68c.cb8668",
128     "type": "set",
129     "name": "set vnf-level-oper-status to PendingDelete",
130     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status' value='PendingDelete' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",
131     "comments": "",
132     "x": 548.5714797973633,
133     "y": 832.0001993179321,
134     "z": "757466fd.415308",
135     "wires": []
136   },
137   {
138     "id": "58377091.27285",
139     "type": "get-resource",
140     "name": "get-resource esr-thirdparty-sdnc",
141     "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 = SDWANController AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
142     "comments": "",
143     "outputs": 1,
144     "x": 515.1269454956055,
145     "y": 359.99996280670166,
146     "z": "757466fd.415308",
147     "wires": [
148       [
149         "8b902f30.1edc8",
150         "b3b7e1bd.bb3c3",
151         "92ad4991.dcb358"
152       ]
153     ]
154   },
155   {
156     "id": "8b902f30.1edc8",
157     "type": "success",
158     "name": "success",
159     "xml": "<outcome value='success'>\n",
160     "comments": "",
161     "outputs": 1,
162     "x": 742.126953125,
163     "y": 287.99996185302734,
164     "z": "757466fd.415308",
165     "wires": [
166       [
167         "59a1f255.7388fc"
168       ]
169     ]
170   },
171   {
172     "id": "59a1f255.7388fc",
173     "type": "set",
174     "name": "set controller data",
175     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\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",
176     "comments": "",
177     "x": 940.627067565918,
178     "y": 278.999960899353,
179     "z": "757466fd.415308",
180     "wires": []
181   },
182   {
183     "id": "b3b7e1bd.bb3c3",
184     "type": "not-found",
185     "name": "not-found",
186     "xml": "<outcome value='not-found'>\n",
187     "comments": "",
188     "outputs": 1,
189     "x": 744.6178817749023,
190     "y": 320.573974609375,
191     "z": "757466fd.415308",
192     "wires": [
193       [
194         "ed08291.4824fd8"
195       ]
196     ]
197   },
198   {
199     "id": "ed08291.4824fd8",
200     "type": "returnFailure",
201     "name": "return failure",
202     "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",
203     "comments": "",
204     "x": 921.1893501281738,
205     "y": 317.85972690582275,
206     "z": "757466fd.415308",
207     "wires": []
208   },
209   {
210     "id": "92ad4991.dcb358",
211     "type": "other",
212     "name": "other",
213     "xml": "<outcome value='Other'>\n",
214     "comments": "",
215     "outputs": 1,
216     "x": 736.9508895874023,
217     "y": 361.90728759765625,
218     "z": "757466fd.415308",
219     "wires": [
220       [
221         "67ab99c4.008378"
222       ]
223     ]
224   },
225   {
226     "id": "67ab99c4.008378",
227     "type": "returnFailure",
228     "name": "return failure",
229     "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",
230     "comments": "",
231     "x": 924.723445892334,
232     "y": 357.34648036956787,
233     "z": "757466fd.415308",
234     "wires": []
235   },
236   {
237     "id": "dac79818.50d828",
238     "type": "execute",
239     "name": "execute RestApiCallNode Get token",
240     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
241     "comments": "",
242     "outputs": 1,
243     "x": 538.0155982971191,
244     "y": 426.1111717224121,
245     "z": "757466fd.415308",
246     "wires": [
247       [
248         "4b92ddae.b11014",
249         "be0fd00e.58fcb"
250       ]
251     ]
252   },
253   {
254     "id": "4b92ddae.b11014",
255     "type": "success",
256     "name": "success",
257     "xml": "<outcome value='success'>\n",
258     "comments": "",
259     "outputs": 1,
260     "x": 773.0155982971191,
261     "y": 404.1111717224121,
262     "z": "757466fd.415308",
263     "wires": [
264       [
265         "3d2c2dc.5e83ed2"
266       ]
267     ]
268   },
269   {
270     "id": "be0fd00e.58fcb",
271     "type": "failure",
272     "name": "failure",
273     "xml": "<outcome value='failure'>\n",
274     "comments": "",
275     "outputs": 1,
276     "x": 765.2655982971191,
277     "y": 457.75405502319336,
278     "z": "757466fd.415308",
279     "wires": [
280       [
281         "4aad0852.c2e288"
282       ]
283     ]
284   },
285   {
286     "id": "3d2c2dc.5e83ed2",
287     "type": "set",
288     "name": "set token-id",
289     "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
290     "comments": "",
291     "x": 927.0155982971191,
292     "y": 405.1111717224121,
293     "z": "757466fd.415308",
294     "wires": []
295   },
296   {
297     "id": "6cd389a6.9d2038",
298     "type": "success",
299     "name": "success",
300     "xml": "<outcome value='success'>\n",
301     "comments": "",
302     "outputs": 1,
303     "x": 874.1268157958984,
304     "y": 641.1112051010132,
305     "z": "757466fd.415308",
306     "wires": [
307       [
308         "dbb22ce5.43a74"
309       ]
310     ]
311   },
312   {
313     "id": "dbb22ce5.43a74",
314     "type": "block",
315     "name": "block : atomic",
316     "xml": "<block atomic=\"true\">",
317     "atomic": "true",
318     "comments": "",
319     "outputs": 1,
320     "x": 1045.2378311157227,
321     "y": 639.8890256881714,
322     "z": "757466fd.415308",
323     "wires": [
324       []
325     ]
326   },
327   {
328     "id": "4aad0852.c2e288",
329     "type": "block",
330     "name": "block",
331     "xml": "<block>\n",
332     "atomic": "false",
333     "comments": "",
334     "outputs": 1,
335     "x": 913.1266403198242,
336     "y": 454.00000381469727,
337     "z": "757466fd.415308",
338     "wires": [
339       []
340     ]
341   },
342   {
343     "id": "2c8ab183.9108ce",
344     "type": "comment",
345     "name": "Do Nothing",
346     "info": "",
347     "comments": "",
348     "x": 1048.6822141011553,
349     "y": 452.88887956407336,
350     "z": "757466fd.415308",
351     "wires": []
352   },
353   {
354     "id": "532a6f26.ee36",
355     "type": "failure",
356     "name": "failure",
357     "xml": "<outcome value='failure'>\n",
358     "comments": "",
359     "outputs": 1,
360     "x": 870.6823692321777,
361     "y": 694.4444913864136,
362     "z": "757466fd.415308",
363     "wires": [
364       [
365         "e576dd47.e4d2d"
366       ]
367     ]
368   },
369   {
370     "id": "e576dd47.e4d2d",
371     "type": "returnFailure",
372     "name": "return failure",
373     "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 executing Create vpn rest api\" />\n",
374     "comments": "",
375     "x": 1015.6823692321777,
376     "y": 697.4444913864136,
377     "z": "757466fd.415308",
378     "wires": []
379   },
380   {
381     "id": "39a32b24.2df714",
382     "type": "comment",
383     "name": "deviceId need to provide here?",
384     "info": "",
385     "comments": "",
386     "x": 543.9046936035156,
387     "y": 520.0000066757202,
388     "z": "757466fd.415308",
389     "wires": []
390   },
391   {
392     "id": "8d34776a.67e9e8",
393     "type": "comment",
394     "name": "tmp.thirdparty-sdnc-id to be hardcoded here?",
395     "info": "",
396     "comments": "",
397     "x": 563.9047393798828,
398     "y": 279.0000591278076,
399     "z": "757466fd.415308",
400     "wires": []
401   },
402   {
403     "id": "be71552d.8c5378",
404     "type": "returnSuccess",
405     "name": "return success",
406     "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",
407     "comments": "",
408     "x": 803.904655456543,
409     "y": 1682.3333358764648,
410     "z": "757466fd.415308",
411     "wires": []
412   },
413   {
414     "id": "499b8fd4.89df6",
415     "type": "for",
416     "name": "for vidx..service-data.vnfs.vnf_length[]",
417     "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
418     "comments": "",
419     "outputs": 1,
420     "x": 547.6026229858398,
421     "y": 208.03125,
422     "z": "757466fd.415308",
423     "wires": [
424       [
425         "fbacdb2a.2187b8"
426       ]
427     ]
428   },
429   {
430     "id": "fbacdb2a.2187b8",
431     "type": "block",
432     "name": "block",
433     "xml": "<block>\n",
434     "atomic": "false",
435     "comments": "",
436     "outputs": 1,
437     "x": 795.9522171020508,
438     "y": 208.5713176727295,
439     "z": "757466fd.415308",
440     "wires": [
441       [
442         "14a96fbf.04e25"
443       ]
444     ]
445   },
446   {
447     "id": "14a96fbf.04e25",
448     "type": "switchNode",
449     "name": "switch vnfid found",
450     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
451     "comments": "",
452     "outputs": 1,
453     "x": 950.0318145751953,
454     "y": 208.28139972686768,
455     "z": "757466fd.415308",
456     "wires": [
457       [
458         "f8b23c28.656e4"
459       ]
460     ]
461   },
462   {
463     "id": "decdca7b.a91d08",
464     "type": "block",
465     "name": "block : atomic",
466     "xml": "<block atomic=\"true\">",
467     "atomic": "true",
468     "outputs": 1,
469     "x": 1243.6293258666992,
470     "y": 209.58171272277832,
471     "z": "757466fd.415308",
472     "wires": [
473       [
474         "fd53ee3f.07fb6",
475         "d1d20e74.92e38",
476         "ca9cc0c9.c9a05"
477       ]
478     ]
479   },
480   {
481     "id": "f8b23c28.656e4",
482     "type": "outcomeTrue",
483     "name": "true",
484     "xml": "<outcome value='true'>\n",
485     "comments": "",
486     "outputs": 1,
487     "x": 1104.9838066101074,
488     "y": 209.17407894134521,
489     "z": "757466fd.415308",
490     "wires": [
491       [
492         "decdca7b.a91d08"
493       ]
494     ]
495   },
496   {
497     "id": "d1d20e74.92e38",
498     "type": "set",
499     "name": "set vnf-request-input.",
500     "xml": "<set>\n<parameter name='vnf-request-input.' value='`$ctx.vnf-data.vnf-data.vnf-request-input.`' />\n\n",
501     "comments": "",
502     "x": 1484.9621810913086,
503     "y": 165.58177280426025,
504     "z": "757466fd.415308",
505     "wires": []
506   },
507   {
508     "id": "fd53ee3f.07fb6",
509     "type": "set",
510     "name": "set tmp.vidx and ctx.vnf-data",
511     "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
512     "comments": "",
513     "x": 1512.5158920288086,
514     "y": 118.92413711547852,
515     "z": "757466fd.415308",
516     "wires": []
517   },
518   {
519     "id": "ca9cc0c9.c9a05",
520     "type": "call",
521     "name": "call sdwan-get-device-param",
522     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-device-param' mode='sync' >\n",
523     "comments": "",
524     "outputs": 1,
525     "x": 1489.6026306152344,
526     "y": 228.03124332427979,
527     "z": "757466fd.415308",
528     "wires": [
529       []
530     ]
531   },
532   {
533     "id": "60947bb5.977bb4",
534     "type": "switchNode",
535     "name": "switch tmp.vidx ",
536     "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
537     "comments": "",
538     "outputs": 1,
539     "x": 464.60262298583984,
540     "y": 250.03125,
541     "z": "757466fd.415308",
542     "wires": [
543       [
544         "b9a00e35.ec566"
545       ]
546     ]
547   },
548   {
549     "id": "b9a00e35.ec566",
550     "type": "outcome",
551     "name": "NULL",
552     "xml": "<outcome value=''>\n",
553     "comments": "",
554     "outputs": 1,
555     "x": 612.0312652587891,
556     "y": 249.60266017913818,
557     "z": "757466fd.415308",
558     "wires": [
559       [
560         "32fbaa62.824b86"
561       ]
562     ]
563   },
564   {
565     "id": "32fbaa62.824b86",
566     "type": "returnFailure",
567     "name": "return failure",
568     "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
569     "comments": "",
570     "x": 761.4599914550781,
571     "y": 250.74557781219482,
572     "z": "757466fd.415308",
573     "wires": []
574   },
575   {
576     "id": "744539f4.efb448",
577     "type": "execute",
578     "name": "execute RestApiCallNode delete Devcie Instance",
579     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-device-del.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v3/devices'`\" />\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=\"deviceResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
580     "comments": "",
581     "outputs": 1,
582     "x": 580.6026992797852,
583     "y": 664.0313568115234,
584     "z": "757466fd.415308",
585     "wires": [
586       [
587         "6cd389a6.9d2038",
588         "532a6f26.ee36"
589       ]
590     ]
591   },
592   {
593     "id": "e2cd50c2.c2f0d",
594     "type": "execute",
595     "name": "execute Properties",
596     "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",
597     "comments": "",
598     "outputs": 1,
599     "x": 488.60262298583984,
600     "y": 314.03125,
601     "z": "757466fd.415308",
602     "wires": [
603       []
604     ]
605   },
606   {
607     "id": "b764369b.fbe158",
608     "type": "set",
609     "name": "set device Id length and deviceId",
610     "xml": "<set>\n<parameter name='prop.devices[0]' value='`$prop.device.deviceId`' />\n\n\n",
611     "comments": "",
612     "x": 520.6026458740234,
613     "y": 601.0312871932983,
614     "z": "757466fd.415308",
615     "wires": []
616   },
617   {
618     "id": "5d47732a.38d94c",
619     "type": "set",
620     "name": "set device Id length and deviceId",
621     "xml": "<set>\n<parameter name='prop.devices_length' value='1' />\n\n\n",
622     "comments": "",
623     "x": 524.6026229858398,
624     "y": 559.03125,
625     "z": "757466fd.415308",
626     "wires": []
627   },
628   {
629     "id": "d89f363a.ca5158",
630     "type": "call",
631     "name": "call sdwan-get-tenant-auth",
632     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",
633     "comments": "",
634     "outputs": 1,
635     "x": 531.00390625,
636     "y": 476.00390625,
637     "z": "757466fd.415308",
638     "wires": [
639       []
640     ]
641   }
642 ]