Allow sub directories for graphs
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sdwan / GENERIC-RESOURCE-API_sdwan-get-wan-param.json
1 [
2   {
3     "id": "439a8dde.a54294",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 95,
8     "y": 67,
9     "z": "1a0d2992.253ae6",
10     "wires": [
11       [
12         "885d7f3c.d7635"
13       ]
14     ]
15   },
16   {
17     "id": "885d7f3c.d7635",
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": 307.00000381469727,
26     "y": 139.0000171661377,
27     "z": "1a0d2992.253ae6",
28     "wires": [
29       [
30         "715e2390.5052fc"
31       ]
32     ]
33   },
34   {
35     "id": "715e2390.5052fc",
36     "type": "method",
37     "name": "sdwan-get-wan-param",
38     "xml": "<method rpc='sdwan-get-wan-param' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 295.0001220703125,
42     "y": 227,
43     "z": "1a0d2992.253ae6",
44     "wires": [
45       [
46         "9d4aea5e.ef6f48"
47       ]
48     ]
49   },
50   {
51     "id": "9d4aea5e.ef6f48",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 302.00001525878906,
59     "y": 313.0000581741333,
60     "z": "1a0d2992.253ae6",
61     "wires": [
62       [
63         "6b944277.796b7c"
64       ]
65     ]
66   },
67   {
68     "id": "6b944277.796b7c",
69     "type": "for",
70     "name": "for each sdwan-get-request-input-param",
71     "xml": "<for index='idx' start='0' end='`$vnf-request-input.vnf-input-parameters.param_length`' >\n\n",
72     "comments": "",
73     "outputs": 1,
74     "x": 338.6667785644531,
75     "y": 395.666654586792,
76     "z": "1a0d2992.253ae6",
77     "wires": [
78       [
79         "37470750.b03bb8"
80       ]
81     ]
82   },
83   {
84     "id": "37470750.b03bb8",
85     "type": "block",
86     "name": "block",
87     "xml": "<block>\n",
88     "atomic": "false",
89     "comments": "",
90     "outputs": 1,
91     "x": 603.5002822875977,
92     "y": 305.00004625320435,
93     "z": "1a0d2992.253ae6",
94     "wires": [
95       [
96         "7ac07f9d.deb5a",
97         "f51dc11b.c63d",
98         "390047c.48de9b8",
99         "19863ae8.c2ed05",
100         "a84af135.691bc",
101         "40a2ce76.5acb8",
102         "743ccae1.1d4ed4",
103         "da2a6768.0f1b08",
104         "937e7e7c.abe2b",
105         "d7a63229.55ffb",
106         "52f8113f.08404",
107         "dd33b364.8ca5b",
108         "edbcab35.7a44e8",
109         "d34e678f.eeed98",
110         "54c67966.b6a9c8"
111       ]
112     ]
113   },
114   {
115     "id": "7ac07f9d.deb5a",
116     "type": "returnSuccess",
117     "name": "return success",
118     "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",
119     "comments": "",
120     "x": 837.0006408691406,
121     "y": 671.0003890991211,
122     "z": "1a0d2992.253ae6",
123     "wires": []
124   },
125   {
126     "id": "a84af135.691bc",
127     "type": "switchNode",
128     "name": "switch deviceName",
129     "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'deviceName'`\">\n",
130     "comments": "",
131     "outputs": 1,
132     "x": 836.0000877380371,
133     "y": 220.00005626678467,
134     "z": "1a0d2992.253ae6",
135     "wires": [
136       [
137         "e491e463.e045e8"
138       ]
139     ]
140   },
141   {
142     "id": "e491e463.e045e8",
143     "type": "outcomeTrue",
144     "name": "true",
145     "xml": "<outcome value='true'>\n",
146     "comments": "",
147     "outputs": 1,
148     "x": 1038.000494003296,
149     "y": 221.00012683868408,
150     "z": "1a0d2992.253ae6",
151     "wires": [
152       [
153         "946002ca.03b1f"
154       ]
155     ]
156   },
157   {
158     "id": "946002ca.03b1f",
159     "type": "set",
160     "name": "set deviceName",
161     "xml": "<set>\n<parameter name='prop.wan.deviceName' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
162     "comments": "",
163     "x": 1190.0005569458008,
164     "y": 218.60021209716797,
165     "z": "1a0d2992.253ae6",
166     "wires": []
167   },
168   {
169     "id": "d7a63229.55ffb",
170     "type": "switchNode",
171     "name": "switch vlanId",
172     "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'vlanId'`\">\n",
173     "comments": "",
174     "outputs": 1,
175     "x": 828.8402290344238,
176     "y": 406.00011920928955,
177     "z": "1a0d2992.253ae6",
178     "wires": [
179       [
180         "d3962f14.7c3b3"
181       ]
182     ]
183   },
184   {
185     "id": "d3962f14.7c3b3",
186     "type": "outcomeTrue",
187     "name": "true",
188     "xml": "<outcome value='true'>\n",
189     "comments": "",
190     "outputs": 1,
191     "x": 1013.8403167724609,
192     "y": 404.0001497268677,
193     "z": "1a0d2992.253ae6",
194     "wires": [
195       [
196         "1b718234.ee52ce"
197       ]
198     ]
199   },
200   {
201     "id": "1b718234.ee52ce",
202     "type": "set",
203     "name": "set vlanId",
204     "xml": "<set>\n<parameter name='prop.wan.vlanId' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
205     "comments": "",
206     "x": 1161.1742248535156,
207     "y": 401.4614086151123,
208     "z": "1a0d2992.253ae6",
209     "wires": []
210   },
211   {
212     "id": "390047c.48de9b8",
213     "type": "switchNode",
214     "name": "switch name",
215     "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'name'`\">\n",
216     "comments": "",
217     "outputs": 1,
218     "x": 833.8951606750488,
219     "y": 149.97332763671875,
220     "z": "1a0d2992.253ae6",
221     "wires": [
222       [
223         "eba68f46.eff61"
224       ]
225     ]
226   },
227   {
228     "id": "eba68f46.eff61",
229     "type": "outcomeTrue",
230     "name": "true",
231     "xml": "<outcome value='true'>\n",
232     "comments": "",
233     "outputs": 1,
234     "x": 1021.8952484130859,
235     "y": 150.97335720062256,
236     "z": "1a0d2992.253ae6",
237     "wires": [
238       [
239         "7dfe338e.aacb9c"
240       ]
241     ]
242   },
243   {
244     "id": "7dfe338e.aacb9c",
245     "type": "set",
246     "name": "set name",
247     "xml": "<set>\n<parameter name='prop.wan.name' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
248     "comments": "",
249     "x": 1171.8954982757568,
250     "y": 145.57343292236328,
251     "z": "1a0d2992.253ae6",
252     "wires": []
253   },
254   {
255     "id": "da2a6768.0f1b08",
256     "type": "switchNode",
257     "name": "switch ipAddress",
258     "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'ipAddress'`\">\n",
259     "comments": "",
260     "outputs": 1,
261     "x": 832.8954048156738,
262     "y": 332.37682247161865,
263     "z": "1a0d2992.253ae6",
264     "wires": [
265       [
266         "d6f71f04.c7866"
267       ]
268     ]
269   },
270   {
271     "id": "d6f71f04.c7866",
272     "type": "outcomeTrue",
273     "name": "true",
274     "xml": "<outcome value='true'>\n",
275     "comments": "",
276     "outputs": 1,
277     "x": 1026.895652770996,
278     "y": 333.37677097320557,
279     "z": "1a0d2992.253ae6",
280     "wires": [
281       [
282         "65be0cd2.03f094"
283       ]
284     ]
285   },
286   {
287     "id": "65be0cd2.03f094",
288     "type": "set",
289     "name": "set ipAddress",
290     "xml": "<set>\n<parameter name='prop.wan.ipAddress' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
291     "comments": "",
292     "x": 1179.2295608520508,
293     "y": 331.8380317687988,
294     "z": "1a0d2992.253ae6",
295     "wires": []
296   },
297   {
298     "id": "937e7e7c.abe2b",
299     "type": "switchNode",
300     "name": "switch providerIpAddress",
301     "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'providerIpAddress'`\">\n",
302     "comments": "",
303     "outputs": 1,
304     "x": 864.895565032959,
305     "y": 367.3767442703247,
306     "z": "1a0d2992.253ae6",
307     "wires": [
308       [
309         "d6c02774.fd7328"
310       ]
311     ]
312   },
313   {
314     "id": "d6c02774.fd7328",
315     "type": "outcomeTrue",
316     "name": "true",
317     "xml": "<outcome value='true'>\n",
318     "comments": "",
319     "outputs": 1,
320     "x": 1040.8958168029785,
321     "y": 367.3766899108887,
322     "z": "1a0d2992.253ae6",
323     "wires": [
324       [
325         "86d16286.a90f7"
326       ]
327     ]
328   },
329   {
330     "id": "86d16286.a90f7",
331     "type": "set",
332     "name": "set providerIpAddress",
333     "xml": "<set>\n<parameter name='prop.wan.providerIpAddress' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
334     "comments": "",
335     "x": 1207.2294006347656,
336     "y": 367.8378715515137,
337     "z": "1a0d2992.253ae6",
338     "wires": []
339   },
340   {
341     "id": "dd33b364.8ca5b",
342     "type": "switchNode",
343     "name": "switch inputBandwidth",
344     "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'inputBandwidth'`\">\n",
345     "comments": "",
346     "outputs": 1,
347     "x": 855.8953742980957,
348     "y": 479.3765506744385,
349     "z": "1a0d2992.253ae6",
350     "wires": [
351       [
352         "8c8b118b.1a16e"
353       ]
354     ]
355   },
356   {
357     "id": "8c8b118b.1a16e",
358     "type": "outcomeTrue",
359     "name": "true",
360     "xml": "<outcome value='true'>\n",
361     "comments": "",
362     "outputs": 1,
363     "x": 1032.8955726623535,
364     "y": 478.376615524292,
365     "z": "1a0d2992.253ae6",
366     "wires": [
367       [
368         "52559144.3d725"
369       ]
370     ]
371   },
372   {
373     "id": "52559144.3d725",
374     "type": "set",
375     "name": "set inputBandwidth",
376     "xml": "<set>\n<parameter name='prop.wan.inputBandwidth' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
377     "comments": "",
378     "x": 1240.2293224334717,
379     "y": 472.8377799987793,
380     "z": "1a0d2992.253ae6",
381     "wires": []
382   },
383   {
384     "id": "edbcab35.7a44e8",
385     "type": "switchNode",
386     "name": "switch outputBandwidth",
387     "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'outputBandwidth'`\">\n",
388     "comments": "",
389     "outputs": 1,
390     "x": 861.8953742980957,
391     "y": 518.3765506744385,
392     "z": "1a0d2992.253ae6",
393     "wires": [
394       [
395         "9785a401.84f478"
396       ]
397     ]
398   },
399   {
400     "id": "9785a401.84f478",
401     "type": "outcomeTrue",
402     "name": "true",
403     "xml": "<outcome value='true'>\n",
404     "comments": "",
405     "outputs": 1,
406     "x": 1045.8955707550049,
407     "y": 518.3766593933105,
408     "z": "1a0d2992.253ae6",
409     "wires": [
410       [
411         "29877f00.328f52"
412       ]
413     ]
414   },
415   {
416     "id": "29877f00.328f52",
417     "type": "set",
418     "name": "set outputBandwidth",
419     "xml": "<set>\n<parameter name='prop.wan.outputBandwidth' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
420     "comments": "",
421     "x": 1242.2293453216553,
422     "y": 511.8377628326416,
423     "z": "1a0d2992.253ae6",
424     "wires": []
425   },
426   {
427     "id": "19863ae8.c2ed05",
428     "type": "switchNode",
429     "name": "switch description",
430     "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'description'`\">\n",
431     "comments": "",
432     "outputs": 1,
433     "x": 840.8953132629395,
434     "y": 183.3767032623291,
435     "z": "1a0d2992.253ae6",
436     "wires": [
437       [
438         "c907441.ebe9bb8"
439       ]
440     ]
441   },
442   {
443     "id": "c907441.ebe9bb8",
444     "type": "outcomeTrue",
445     "name": "true",
446     "xml": "<outcome value='true'>\n",
447     "comments": "",
448     "outputs": 1,
449     "x": 1032.8955574035645,
450     "y": 184.3767328262329,
451     "z": "1a0d2992.253ae6",
452     "wires": [
453       [
454         "1126e041.4a24d"
455       ]
456     ]
457   },
458   {
459     "id": "1126e041.4a24d",
460     "type": "set",
461     "name": "set description",
462     "xml": "<set>\n<parameter name='prop.wan.description' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
463     "comments": "",
464     "x": 1183.2295608520508,
465     "y": 183.8379421234131,
466     "z": "1a0d2992.253ae6",
467     "wires": []
468   },
469   {
470     "id": "743ccae1.1d4ed4",
471     "type": "switchNode",
472     "name": "switch portNumber",
473     "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'portNumber'`\">\n",
474     "comments": "",
475     "outputs": 1,
476     "x": 844.228572845459,
477     "y": 291.9943332672119,
478     "z": "1a0d2992.253ae6",
479     "wires": [
480       [
481         "ebcd50b1.0b3d6"
482       ]
483     ]
484   },
485   {
486     "id": "ebcd50b1.0b3d6",
487     "type": "outcomeTrue",
488     "name": "true",
489     "xml": "<outcome value='true'>\n",
490     "comments": "",
491     "outputs": 1,
492     "x": 1035.228744506836,
493     "y": 294.9943628311157,
494     "z": "1a0d2992.253ae6",
495     "wires": [
496       [
497         "a1a449ce.d26a18"
498       ]
499     ]
500   },
501   {
502     "id": "a1a449ce.d26a18",
503     "type": "set",
504     "name": "set portNumber",
505     "xml": "<set>\n<parameter name='prop.wan.portNumber' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
506     "comments": "",
507     "x": 1189.2290725708008,
508     "y": 294.5943775177002,
509     "z": "1a0d2992.253ae6",
510     "wires": []
511   },
512   {
513     "id": "40a2ce76.5acb8",
514     "type": "switchNode",
515     "name": "switch portType",
516     "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'portType'`\">\n",
517     "comments": "",
518     "outputs": 1,
519     "x": 834.1236763000488,
520     "y": 255.96763801574707,
521     "z": "1a0d2992.253ae6",
522     "wires": [
523       [
524         "6ea5c966.7c8868"
525       ]
526     ]
527   },
528   {
529     "id": "6ea5c966.7c8868",
530     "type": "outcomeTrue",
531     "name": "true",
532     "xml": "<outcome value='true'>\n",
533     "comments": "",
534     "outputs": 1,
535     "x": 1029.123764038086,
536     "y": 255.96766757965088,
537     "z": "1a0d2992.253ae6",
538     "wires": [
539       [
540         "f40a6475.4548d8"
541       ]
542     ]
543   },
544   {
545     "id": "f40a6475.4548d8",
546     "type": "set",
547     "name": "set portType",
548     "xml": "<set>\n<parameter name='prop.wan.portType' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
549     "comments": "",
550     "x": 1176.1240921020508,
551     "y": 256.56768226623535,
552     "z": "1a0d2992.253ae6",
553     "wires": []
554   },
555   {
556     "id": "90cd2791.ea5778",
557     "type": "set",
558     "name": "set transportnetworkName",
559     "xml": "<set>\n<parameter name='prop.wan.transportNetworkName' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
560     "comments": "",
561     "x": 1288.9998302459717,
562     "y": 437.38701152801514,
563     "z": "1a0d2992.253ae6",
564     "wires": []
565   },
566   {
567     "id": "c9247859.1c5528",
568     "type": "outcomeTrue",
569     "name": "true",
570     "xml": "<outcome value='true'>\n",
571     "comments": "",
572     "outputs": 1,
573     "x": 1077.6659240722656,
574     "y": 438.92592906951904,
575     "z": "1a0d2992.253ae6",
576     "wires": [
577       [
578         "90cd2791.ea5778"
579       ]
580     ]
581   },
582   {
583     "id": "52f8113f.08404",
584     "type": "switchNode",
585     "name": "switch transportnetworkName",
586     "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'transportNetworkName'`\">\n",
587     "comments": "",
588     "outputs": 1,
589     "x": 878.6657485961914,
590     "y": 442.9256591796875,
591     "z": "1a0d2992.253ae6",
592     "wires": [
593       [
594         "c9247859.1c5528"
595       ]
596     ]
597   },
598   {
599     "id": "f51dc11b.c63d",
600     "type": "switchNode",
601     "name": "switch id",
602     "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'id'`\">\n",
603     "comments": "",
604     "outputs": 1,
605     "x": 825.999340057373,
606     "y": 117.38670539855957,
607     "z": "1a0d2992.253ae6",
608     "wires": [
609       [
610         "ebf6555a.abbb88"
611       ]
612     ]
613   },
614   {
615     "id": "ebf6555a.abbb88",
616     "type": "outcomeTrue",
617     "name": "true",
618     "xml": "<outcome value='true'>\n",
619     "comments": "",
620     "outputs": 1,
621     "x": 1026.9994812011719,
622     "y": 115.3867359161377,
623     "z": "1a0d2992.253ae6",
624     "wires": [
625       [
626         "1a802dda.2caca2"
627       ]
628     ]
629   },
630   {
631     "id": "1a802dda.2caca2",
632     "type": "set",
633     "name": "set id",
634     "xml": "<set>\n<parameter name='prop.wan.id' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
635     "comments": "",
636     "x": 1168.999828338623,
637     "y": 110.98684310913086,
638     "z": "1a0d2992.253ae6",
639     "wires": []
640   },
641   {
642     "id": "d34e678f.eeed98",
643     "type": "switchNode",
644     "name": "switch devicePortId",
645     "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'devicePortId'`\">\n",
646     "comments": "",
647     "outputs": 1,
648     "x": 847.0000610351562,
649     "y": 563.0000381469727,
650     "z": "1a0d2992.253ae6",
651     "wires": [
652       [
653         "67b4d68f.872058"
654       ]
655     ]
656   },
657   {
658     "id": "67b4d68f.872058",
659     "type": "outcomeTrue",
660     "name": "true",
661     "xml": "<outcome value='true'>\n",
662     "comments": "",
663     "outputs": 1,
664     "x": 1046.0002269744873,
665     "y": 557.000114440918,
666     "z": "1a0d2992.253ae6",
667     "wires": [
668       [
669         "8e605ff5.22a2d"
670       ]
671     ]
672   },
673   {
674     "id": "8e605ff5.22a2d",
675     "type": "set",
676     "name": "set devicePortId",
677     "xml": "<set>\n<parameter name='prop.wan.devicePortId' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
678     "comments": "",
679     "x": 1245.3339710235596,
680     "y": 556.4612121582031,
681     "z": "1a0d2992.253ae6",
682     "wires": []
683   },
684   {
685     "id": "54c67966.b6a9c8",
686     "type": "switchNode",
687     "name": "switch wanPortId",
688     "xml": "<switch test=\"`$vnf-request-input.vnf-input-parameters.param[$idx].name == 'wanPortId'`\">\n",
689     "comments": "",
690     "outputs": 1,
691     "x": 837.0000610351562,
692     "y": 599.0000400543213,
693     "z": "1a0d2992.253ae6",
694     "wires": [
695       [
696         "cda45636.504778"
697       ]
698     ]
699   },
700   {
701     "id": "cda45636.504778",
702     "type": "outcomeTrue",
703     "name": "true",
704     "xml": "<outcome value='true'>\n",
705     "comments": "",
706     "outputs": 1,
707     "x": 1048.0002250671387,
708     "y": 592.0001173019409,
709     "z": "1a0d2992.253ae6",
710     "wires": [
711       [
712         "651ea7f2.7fd2a8"
713       ]
714     ]
715   },
716   {
717     "id": "651ea7f2.7fd2a8",
718     "type": "set",
719     "name": "set wanPortId",
720     "xml": "<set>\n<parameter name='prop.wan.wanPortId' value='`$vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
721     "comments": "",
722     "x": 1245.3339710235596,
723     "y": 596.4612121582031,
724     "z": "1a0d2992.253ae6",
725     "wires": []
726   }
727 ]