Fix for config not able to save in DB
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / APPC / APPC_GetDeviceRunningConfig.json
1 [{
2     "id": "94bfef9f.255",
3     "type": "dgstart",
4     "name": "DGSTART",
5     "outputs": 1,
6     "x": 116.5,
7     "y": 146.28573513031006,
8     "z": "29922cf.42f59d4",
9     "wires": [["497329f9.a0cd78"]]
10 },
11 {
12     "id": "f1358900.5d68d8",
13     "type": "method",
14     "name": "method: GetDeviceRunningConfig",
15     "xml": "<method rpc='GetDeviceRunningConfig' mode='sync'>\n",
16     "comments": "",
17     "outputs": 1,
18     "x": 552.9285430908203,
19     "y": 136.7143096923828,
20     "z": "29922cf.42f59d4",
21     "wires": [["471dcdf0.fc2004"]]
22 },
23 {
24     "id": "497329f9.a0cd78",
25     "type": "service-logic",
26     "name": "APPC 4.0.0",
27     "module": "APPC",
28     "version": "3.1.0",
29     "comments": "",
30     "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='APPC' version='4.0.0'>",
31     "outputs": 1,
32     "x": 307.5,
33     "y": 144.28573513031006,
34     "z": "29922cf.42f59d4",
35     "wires": [["f1358900.5d68d8"]]
36 },
37 {
38     "id": "684c9627.5f6318",
39     "type": "set",
40     "name": "set Request Parameters",
41     "xml": "<set>\n<parameter name='vnf-type' value=\"`$config.vnf-type`\" />\n<parameter name='vnf-name' value=\"`$config.vnf-name`\" />\n<parameter name='protocol' value=\"`$config.protocol`\" />\n<parameter name='hostIpAddress' value=\"`$config.host-ip-address`\" />\n<parameter name='userName' value=\"`$config.user-name`\" />\n<parameter name='password' value=\"`$config.password`\" />\n<parameter name='portNumber' value=\"`$config.port-number`\" />\n",
42     "comments": "",
43     "x": 478.8334197998047,
44     "y": 215.28573083877563,
45     "z": "29922cf.42f59d4",
46     "wires": []
47 },
48 {
49     "id": "26aeca14.cd8d26",
50     "type": "execute",
51     "name": "execute: Get Rest Configuration",
52     "xml": "<execute plugin=\"com.att.sdnctl.restconf.RestConfCallNode\" method=\"getConfiguration\">\n<parameter name=\"hostIpAddress\" value=\"`$hostIpAddress`\" />\n<parameter name=\"protocol\" value=\"`$protocol`\" />\n<parameter name=\"responsePrefix\" value=\"restconf\" />\n",
53     "comments": "",
54     "outputs": 1,
55     "x": 612.5,
56     "y": 560.2857351303101,
57     "z": "29922cf.42f59d4",
58     "wires": [["761073a7.72105c",
59     "53dfa016.9b377",
60     "9d75f86d.fcf6f8"]]
61 },
62 {
63     "id": "d1c68a25.bb7f48",
64     "type": "returnFailure",
65     "name": "return failure",
66     "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"Unable to Get the Configuration\"/>\n",
67     "comments": "",
68     "x": 1913.5000381469727,
69     "y": 670.2857513427734,
70     "z": "29922cf.42f59d4",
71     "wires": []
72 },
73 {
74     "id": "761073a7.72105c",
75     "type": "other",
76     "name": "other",
77     "xml": "<outcome value='Other'>\n",
78     "comments": "",
79     "outputs": 1,
80     "x": 869.5,
81     "y": 628.2857351303101,
82     "z": "29922cf.42f59d4",
83     "wires": [["980ae7de.429418"]]
84 },
85 {
86     "id": "60cadb73.4dfd94",
87     "type": "block",
88     "name": "block",
89     "xml": "<block>\n",
90     "atomic": "false",
91     "comments": "",
92     "outputs": 1,
93     "x": 892.5,
94     "y": 680.2857351303101,
95     "z": "29922cf.42f59d4",
96     "wires": [["acc3d980.4c3ae8"]]
97 },
98 {
99     "id": "acc3d980.4c3ae8",
100     "type": "returnSuccess",
101     "name": "return success",
102     "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$restconf.config`\" />\n",
103     "comments": "",
104     "x": 1121.5,
105     "y": 668.2857351303101,
106     "z": "29922cf.42f59d4",
107     "wires": []
108 },
109 {
110     "id": "53dfa016.9b377",
111     "type": "success",
112     "name": "success",
113     "xml": "<outcome value='success'>\n",
114     "comments": "",
115     "outputs": 1,
116     "x": 708.5,
117     "y": 680.2857351303101,
118     "z": "29922cf.42f59d4",
119     "wires": [["60cadb73.4dfd94"]]
120 },
121 {
122     "id": "980ae7de.429418",
123     "type": "block",
124     "name": "block",
125     "xml": "<block>\n",
126     "atomic": "false",
127     "comments": "",
128     "outputs": 1,
129     "x": 1700.5000343322754,
130     "y": 660.2857999801636,
131     "z": "29922cf.42f59d4",
132     "wires": [["d1c68a25.bb7f48"]]
133 },
134 {
135     "id": "471dcdf0.fc2004",
136     "type": "block",
137     "name": "block",
138     "xml": "<block>\n",
139     "atomic": "false",
140     "comments": "",
141     "outputs": 1,
142     "x": 209.5,
143     "y": 214.28573513031006,
144     "z": "29922cf.42f59d4",
145     "wires": [["684c9627.5f6318",
146     "41b7f9d9.1f5548"]]
147 },
148 {
149     "id": "2b20bd30.589cf2",
150     "type": "outcome",
151     "name": "RESTCONF-XML",
152     "xml": "<outcome value='RESTCONF-XML'>\n",
153     "comments": "",
154     "outputs": 1,
155     "x": 254.5,
156     "y": 561.2857351303101,
157     "z": "29922cf.42f59d4",
158     "wires": [["389980f2.b63a1"]]
159 },
160 {
161     "id": "389980f2.b63a1",
162     "type": "block",
163     "name": "block",
164     "xml": "<block atomic=\"true\">\n",
165     "atomic": "false",
166     "comments": "",
167     "outputs": 1,
168     "x": 414.5,
169     "y": 512.2857351303101,
170     "z": "29922cf.42f59d4",
171     "wires": [["26aeca14.cd8d26"]]
172 },
173 {
174     "id": "41b7f9d9.1f5548",
175     "type": "switchNode",
176     "name": "switch : Protocol",
177     "xml": "<switch test=\"`$protocol`\">\n",
178     "comments": "",
179     "outputs": 1,
180     "x": 84.5,
181     "y": 316.28573513031006,
182     "z": "29922cf.42f59d4",
183     "wires": [["2b20bd30.589cf2",
184     "f73b901b.430dd",
185     "efce9311.3ec9c",
186     "4ba100a2.2d875",
187     "a98dd406.ae1e38",
188     "ecf33fc3.b2ebf"]]
189 },
190 {
191     "id": "f73b901b.430dd",
192     "type": "outcome",
193     "name": "CLI",
194     "xml": "<outcome value='CLI'>\n",
195     "comments": "",
196     "outputs": 1,
197     "x": 278.5,
198     "y": 317.28573513031006,
199     "z": "29922cf.42f59d4",
200     "wires": [["457eeb81.2f69d4"]]
201 },
202 {
203     "id": "f7691378.c379f",
204     "type": "get-resource",
205     "name": "get-resource GET_CONFIG_TEMPLATE",
206     "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE FROM GET_CONFIG_TEMPLATE WHERE vnf_type = $vnf-type ;\"\n    force='true'\n\tpfx='config-template'>\n",
207     "comments": "",
208     "outputs": 1,
209     "x": 662.4999694824219,
210     "y": 295.28573513031006,
211     "z": "29922cf.42f59d4",
212     "wires": [["c3dc6e3.0cd7a9",
213     "e88ef92c.05b908"]]
214 },
215 {
216     "id": "457eeb81.2f69d4",
217     "type": "block",
218     "name": "block",
219     "xml": "<block atomic=\"true\">\n",
220     "atomic": "false",
221     "comments": "",
222     "outputs": 1,
223     "x": 418.4999694824219,
224     "y": 318.28573513031006,
225     "z": "29922cf.42f59d4",
226     "wires": [["f7691378.c379f",
227     "213364e.2f7799c"]]
228 },
229 {
230     "id": "e5ea27da.229d78",
231     "type": "returnFailure",
232     "name": "return failure",
233     "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"Unable to Read Config Template\"/>\n\t",
234     "comments": "",
235     "x": 1239.4999694824219,
236     "y": 322.28573513031006,
237     "z": "29922cf.42f59d4",
238     "wires": []
239 },
240 {
241     "id": "a81acdf3.2286e",
242     "type": "block",
243     "name": "block",
244     "xml": "<block atomic=\"true\">\n",
245     "atomic": "false",
246     "comments": "",
247     "outputs": 1,
248     "x": 1068.4999694824219,
249     "y": 323.28573513031006,
250     "z": "29922cf.42f59d4",
251     "wires": [["e5ea27da.229d78"]]
252 },
253 {
254     "id": "c179e600.916e38",
255     "type": "returnSuccess",
256     "name": "return success",
257     "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$cliOutput`\" />\n",
258     "comments": "",
259     "x": 1115.5,
260     "y": 538.2857837677002,
261     "z": "29922cf.42f59d4",
262     "wires": []
263 },
264 {
265     "id": "213364e.2f7799c",
266     "type": "execute",
267     "name": "execute: Get CLI RunningConfig",
268     "xml": "<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='GetCliRunningConfig'>\n<parameter name=\"Host_ip_address\" value=\"`$hostIpAddress`\" />\n<parameter name=\"User_name\" value=\"`$userName`\" />\n<parameter name=\"Password\" value=\"`$password`\" />\n<parameter name=\"Port_number\" value=\"`$portNumber`\" />\n<parameter name=\"Get_config_template\" value=\"`$config-template.TEMPLATE`\" />\n",
269     "comments": "",
270     "outputs": 1,
271     "x": 627.5000152587891,
272     "y": 384.2857475280762,
273     "z": "29922cf.42f59d4",
274     "wires": [["58c05e0d.ca719",
275     "c2bf0f18.b66bd",
276     "d533b203.44ac2"]]
277 },
278 {
279     "id": "aa72dd53.d34a6",
280     "type": "block",
281     "name": "block",
282     "xml": "<block>\n",
283     "atomic": "false",
284     "comments": "",
285     "outputs": 1,
286     "x": 894.5,
287     "y": 483.2857961654663,
288     "z": "29922cf.42f59d4",
289     "wires": [["c179e600.916e38"]]
290 },
291 {
292     "id": "c3dc6e3.0cd7a9",
293     "type": "failure",
294     "name": "failure",
295     "xml": "<outcome value='failure'>\n",
296     "comments": "",
297     "outputs": 1,
298     "x": 915.4999694824219,
299     "y": 335.28573513031006,
300     "z": "29922cf.42f59d4",
301     "wires": [["a81acdf3.2286e"]]
302 },
303 {
304     "id": "58c05e0d.ca719",
305     "type": "success",
306     "name": "success",
307     "xml": "<outcome value='success'>\n",
308     "comments": "",
309     "outputs": 1,
310     "x": 720.5,
311     "y": 481.2857961654663,
312     "z": "29922cf.42f59d4",
313     "wires": [["aa72dd53.d34a6"]]
314 },
315 {
316     "id": "9d75f86d.fcf6f8",
317     "type": "failure",
318     "name": "failure",
319     "xml": "<outcome value='failure'>\n",
320     "comments": "",
321     "outputs": 1,
322     "x": 878.5,
323     "y": 583.2857351303101,
324     "z": "29922cf.42f59d4",
325     "wires": [["980ae7de.429418"]]
326 },
327 {
328     "id": "e88ef92c.05b908",
329     "type": "not-found",
330     "name": "not-found",
331     "xml": "<outcome value='not-found'>\n",
332     "comments": "",
333     "outputs": 1,
334     "x": 914.4999694824219,
335     "y": 264.28573513031006,
336     "z": "29922cf.42f59d4",
337     "wires": [["a81acdf3.2286e"]]
338 },
339 {
340     "id": "c2bf0f18.b66bd",
341     "type": "failure",
342     "name": "failure",
343     "xml": "<outcome value='failure'>\n",
344     "comments": "",
345     "outputs": 1,
346     "x": 897.5000076293945,
347     "y": 399.28572845458984,
348     "z": "29922cf.42f59d4",
349     "wires": [["468136ac.050fe8"]]
350 },
351 {
352     "id": "d533b203.44ac2",
353     "type": "other",
354     "name": "other",
355     "xml": "<outcome value='Other'>\n",
356     "comments": "",
357     "outputs": 1,
358     "x": 888.5,
359     "y": 438.28573513031006,
360     "z": "29922cf.42f59d4",
361     "wires": [["980ae7de.429418"]]
362 },
363 {
364     "id": "4d537984.fce5b8",
365     "type": "comment",
366     "name": "",
367     "info": "",
368     "comments": "",
369     "x": 795.4999694824219,
370     "y": 76.28573513031006,
371     "z": "29922cf.42f59d4",
372     "wires": []
373 },
374 {
375     "id": "efce9311.3ec9c",
376     "type": "outcome",
377     "name": "NETCONF-XML",
378     "xml": "<outcome value='NETCONF-XML'>\n",
379     "comments": "",
380     "outputs": 1,
381     "x": 189.5,
382     "y": 724.2857351303101,
383     "z": "29922cf.42f59d4",
384     "wires": [["19cc4b03.d7c245"]]
385 },
386 {
387     "id": "19cc4b03.d7c245",
388     "type": "block",
389     "name": "block",
390     "xml": "<block atomic=\"true\">\n",
391     "atomic": "false",
392     "comments": "",
393     "outputs": 1,
394     "x": 361.5,
395     "y": 724.2857351303101,
396     "z": "29922cf.42f59d4",
397     "wires": [["114625c5.4c47da"]]
398 },
399 {
400     "id": "114625c5.4c47da",
401     "type": "execute",
402     "name": "execute: Get XML RunningConfig",
403     "xml": "<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='xml-getrunningconfig'>\n<parameter name=\"Host_ip_address\" value=\"`$hostIpAddress`\" />\n<parameter name=\"User_name\" value=\"`$userName`\" />\n<parameter name=\"Password\" value=\"`$password`\" />\n<parameter name=\"Port_number\" value=\"`$portNumber`\" />\n<parameter name=\"Protocol\" value=\"`$protocol`\" />\n",
404     "comments": "",
405     "outputs": 1,
406     "x": 617.5000305175781,
407     "y": 752.0000581741333,
408     "z": "29922cf.42f59d4",
409     "wires": [["d9933637.fdfbe8",
410     "d8407e19.b2ae5",
411     "8f1de84f.6cbdc8"]]
412 },
413 {
414     "id": "d9933637.fdfbe8",
415     "type": "failure",
416     "name": "failure",
417     "xml": "<outcome value='failure'>\n",
418     "comments": "",
419     "outputs": 1,
420     "x": 917.5,
421     "y": 735.2857351303101,
422     "z": "29922cf.42f59d4",
423     "wires": [["468136ac.050fe8"]]
424 },
425 {
426     "id": "d8407e19.b2ae5",
427     "type": "other",
428     "name": "other",
429     "xml": "<outcome value='Other'>\n",
430     "comments": "",
431     "outputs": 1,
432     "x": 918.5,
433     "y": 784.2857351303101,
434     "z": "29922cf.42f59d4",
435     "wires": [["980ae7de.429418"]]
436 },
437 {
438     "id": "4ba100a2.2d875",
439     "type": "outcome",
440     "name": "RESTCONF",
441     "xml": "<outcome value='RESTCONF'>\n",
442     "comments": "",
443     "outputs": 1,
444     "x": 266.5,
445     "y": 486.28573513031006,
446     "z": "29922cf.42f59d4",
447     "wires": [["389980f2.b63a1"]]
448 },
449 {
450     "id": "8f1de84f.6cbdc8",
451     "type": "success",
452     "name": "success",
453     "xml": "<outcome value='success'>\n",
454     "comments": "",
455     "outputs": 1,
456     "x": 738.5,
457     "y": 832.2857351303101,
458     "z": "29922cf.42f59d4",
459     "wires": [["9b1018a5.1ea1b8"]]
460 },
461 {
462     "id": "9b1018a5.1ea1b8",
463     "type": "block",
464     "name": "block",
465     "xml": "<block>\n",
466     "atomic": "false",
467     "comments": "",
468     "outputs": 1,
469     "x": 914.5,
470     "y": 831.2857351303101,
471     "z": "29922cf.42f59d4",
472     "wires": [["5238f474.e44b5c"]]
473 },
474 {
475     "id": "5238f474.e44b5c",
476     "type": "returnSuccess",
477     "name": "return success",
478     "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$xmlRunningConfigOutput `\" />\n",
479     "comments": "",
480     "x": 1119.1669387817383,
481     "y": 829.2857484817505,
482     "z": "29922cf.42f59d4",
483     "wires": []
484 },
485 {
486     "id": "a98dd406.ae1e38",
487     "type": "outcome",
488     "name": "CHEF",
489     "xml": "<outcome value='CHEF'>\n",
490     "comments": "",
491     "outputs": 1,
492     "x": 160.5,
493     "y": 821.2857351303101,
494     "z": "29922cf.42f59d4",
495     "wires": [["93385fe7.e8392"]]
496 },
497 {
498     "id": "ea521b2b.c10e68",
499     "type": "block",
500     "name": "block",
501     "xml": "<block atomic=\"true\">\n",
502     "atomic": "false",
503     "comments": "",
504     "outputs": 1,
505     "x": 373.49999237060547,
506     "y": 868.952395439148,
507     "z": "29922cf.42f59d4",
508     "wires": [["3ca78413.d1069c"]]
509 },
510 {
511     "id": "3ca78413.d1069c",
512     "type": "execute",
513     "name": "execute: getChefRunningConfig",
514     "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfVmNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfId' value=\"`$config.vnf-id`\" />\n<parameter name='vmName' value=\"`$config.vm-name`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n",
515     "comments": "",
516     "outputs": 1,
517     "x": 609.6428680419922,
518     "y": 913.1430015563965,
519     "z": "29922cf.42f59d4",
520     "wires": [["4c13e30f.d81abc",
521     "6edce4de.9ea51c",
522     "865d288e.79d5d8"]]
523 },
524 {
525     "id": "865d288e.79d5d8",
526     "type": "success",
527     "name": "success",
528     "xml": "<outcome value='success'>\n",
529     "comments": "",
530     "outputs": 1,
531     "x": 804.2142944335938,
532     "y": 1009.42857837677,
533     "z": "29922cf.42f59d4",
534     "wires": [["9bc470b3.2ff51"]]
535 },
536 {
537     "id": "9bc470b3.2ff51",
538     "type": "block",
539     "name": "block",
540     "xml": "<block>\n",
541     "atomic": "false",
542     "comments": "",
543     "outputs": 1,
544     "x": 1103.1667976379395,
545     "y": 1043.952380180359,
546     "z": "29922cf.42f59d4",
547     "wires": [["4cf92959.cfebc8"]]
548 },
549 {
550     "id": "6edce4de.9ea51c",
551     "type": "other",
552     "name": "other",
553     "xml": "<outcome value='Other'>\n",
554     "comments": "",
555     "outputs": 1,
556     "x": 911.500129699707,
557     "y": 945.2858009338379,
558     "z": "29922cf.42f59d4",
559     "wires": [[]]
560 },
561 {
562     "id": "4c13e30f.d81abc",
563     "type": "failure",
564     "name": "failure",
565     "xml": "<outcome value='failure'>\n",
566     "comments": "",
567     "outputs": 1,
568     "x": 910.500129699707,
569     "y": 896.2858009338379,
570     "z": "29922cf.42f59d4",
571     "wires": [["6d388b53.b092e4"]]
572 },
573 {
574     "id": "4cf92959.cfebc8",
575     "type": "returnSuccess",
576     "name": "return success",
577     "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n",
578     "comments": "",
579     "x": 1339.500144958496,
580     "y": 1047.6190533638,
581     "z": "29922cf.42f59d4",
582     "wires": []
583 },
584 {
585     "id": "6d388b53.b092e4",
586     "type": "block",
587     "name": "block",
588     "xml": "<block>\n",
589     "atomic": "false",
590     "comments": "",
591     "outputs": 1,
592     "x": 1086.500129699707,
593     "y": 900.2858009338379,
594     "z": "29922cf.42f59d4",
595     "wires": [["88bb55d0.d73b28"]]
596 },
597 {
598     "id": "88bb55d0.d73b28",
599     "type": "returnFailure",
600     "name": "return failure",
601     "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n",
602     "comments": "",
603     "x": 1236.8334503173828,
604     "y": 880.4287014007568,
605     "z": "29922cf.42f59d4",
606     "wires": []
607 },
608 {
609     "id": "b641b4ab.bd2f58",
610     "type": "returnFailure",
611     "name": "return failure",
612     "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$error-message`\"/>\n",
613     "comments": "",
614     "x": 1425.5,
615     "y": 446.28573513031006,
616     "z": "29922cf.42f59d4",
617     "wires": []
618 },
619 {
620     "id": "468136ac.050fe8",
621     "type": "block",
622     "name": "block",
623     "xml": "<block>\n",
624     "atomic": "false",
625     "comments": "",
626     "outputs": 1,
627     "x": 1253.5,
628     "y": 450.28573513031006,
629     "z": "29922cf.42f59d4",
630     "wires": [["b641b4ab.bd2f58"]]
631 },
632 {
633     "id": "ecf33fc3.b2ebf",
634     "type": "outcome",
635     "name": " Ansible",
636     "xml": "<outcome value='Ansible'>\n",
637     "comments": "",
638     "outputs": 1,
639     "x": 134.94049835205078,
640     "y": 939.0120496749878,
641     "z": "29922cf.42f59d4",
642     "wires": [["36381aaa.232fa6"]]
643 },
644 {
645     "id": "93385fe7.e8392",
646     "type": "block",
647     "name": "block",
648     "xml": "<block atomic=\"true\">\n",
649     "atomic": "false",
650     "comments": "",
651     "outputs": 1,
652     "x": 321.08331298828125,
653     "y": 1000.8689870834351,
654     "z": "29922cf.42f59d4",
655     "wires": [["28a7f80c.1bcbb8"]]
656 },
657 {
658     "id": "28a7f80c.1bcbb8",
659     "type": "call",
660     "name": "call  GetTemplateConfig_Chef",
661     "xml": "<call module='APPC' rpc='GetTemplateConfig_Chef' mode='sync' >\n",
662     "comments": "",
663     "outputs": 1,
664     "x": 539.8928527832031,
665     "y": 1045.8692655563354,
666     "z": "29922cf.42f59d4",
667     "wires": [["9f06d6d9.fb9738",
668     "e0ce4934.759568",
669     "549741e8.f5fc1"]]
670 },
671 {
672     "id": "9129b200.1a41a",
673     "type": "call",
674     "name": "call  GetTemplateConfig_Ansible",
675     "xml": "<call module='APPC' rpc='GetTemplateConfig_Ansible' mode='sync' >\n",
676     "comments": "",
677     "outputs": 1,
678     "x": 505.60706329345703,
679     "y": 1283.011887550354,
680     "z": "29922cf.42f59d4",
681     "wires": [["67887719.98cd58",
682     "2a2ae29d.92c9ce",
683     "883aacc0.c3db4"]]
684 },
685 {
686     "id": "e0ce4934.759568",
687     "type": "other",
688     "name": "other",
689     "xml": "<outcome value='Other'>\n",
690     "comments": "",
691     "outputs": 1,
692     "x": 630.3690185546875,
693     "y": 1143.2500557899475,
694     "z": "29922cf.42f59d4",
695     "wires": [["980ae7de.429418"]]
696 },
697 {
698     "id": "9f06d6d9.fb9738",
699     "type": "failure",
700     "name": "failure",
701     "xml": "<outcome value='failure'>\n",
702     "comments": "",
703     "outputs": 1,
704     "x": 629.3690185546875,
705     "y": 1094.2500557899475,
706     "z": "29922cf.42f59d4",
707     "wires": [["489ea315.c3ed8c"]]
708 },
709 {
710     "id": "489ea315.c3ed8c",
711     "type": "block",
712     "name": "block",
713     "xml": "<block>\n",
714     "atomic": "false",
715     "comments": "",
716     "outputs": 1,
717     "x": 805.3690185546875,
718     "y": 1098.2500557899475,
719     "z": "29922cf.42f59d4",
720     "wires": [["81e09063.6dd78"]]
721 },
722 {
723     "id": "81e09063.6dd78",
724     "type": "returnFailure",
725     "name": "return failure",
726     "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$error-message`\"/>\n\n",
727     "comments": "",
728     "x": 1045.3690185546875,
729     "y": 1091.2500557899475,
730     "z": "29922cf.42f59d4",
731     "wires": []
732 },
733 {
734     "id": "549741e8.f5fc1",
735     "type": "success",
736     "name": "success",
737     "xml": "<outcome value='success'>\n",
738     "comments": "",
739     "outputs": 1,
740     "x": 568.7023315429688,
741     "y": 1216.583429813385,
742     "z": "29922cf.42f59d4",
743     "wires": [["e25f0226.6a041"]]
744 },
745 {
746     "id": "e25f0226.6a041",
747     "type": "block",
748     "name": "block",
749     "xml": "<block>\n",
750     "atomic": "false",
751     "comments": "",
752     "outputs": 1,
753     "x": 731.7023315429688,
754     "y": 1216.583429813385,
755     "z": "29922cf.42f59d4",
756     "wires": [["5e274de2.7cd6a4"]]
757 },
758 {
759     "id": "5e274de2.7cd6a4",
760     "type": "returnSuccess",
761     "name": "return success",
762     "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$APPC.GetRunningConfig`\" />\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n",
763     "comments": "",
764     "x": 881.8451843261719,
765     "y": 1195.7260999679565,
766     "z": "29922cf.42f59d4",
767     "wires": []
768 },
769 {
770     "id": "36381aaa.232fa6",
771     "type": "block",
772     "name": "block",
773     "xml": "<block atomic=\"true\">\n",
774     "atomic": "false",
775     "comments": "",
776     "outputs": 1,
777     "x": 317.27384185791016,
778     "y": 1198.0118017196655,
779     "z": "29922cf.42f59d4",
780     "wires": [["9129b200.1a41a"]]
781 },
782 {
783     "id": "2a2ae29d.92c9ce",
784     "type": "other",
785     "name": "other",
786     "xml": "<outcome value='Other'>\n",
787     "comments": "",
788     "outputs": 1,
789     "x": 738.9403610229492,
790     "y": 1348.0119047164917,
791     "z": "29922cf.42f59d4",
792     "wires": [["980ae7de.429418"]]
793 },
794 {
795     "id": "67887719.98cd58",
796     "type": "failure",
797     "name": "failure",
798     "xml": "<outcome value='failure'>\n",
799     "comments": "",
800     "outputs": 1,
801     "x": 737.9403610229492,
802     "y": 1299.0119047164917,
803     "z": "29922cf.42f59d4",
804     "wires": [["b615152c.d34648"]]
805 },
806 {
807     "id": "b615152c.d34648",
808     "type": "block",
809     "name": "block",
810     "xml": "<block>\n",
811     "atomic": "false",
812     "comments": "",
813     "outputs": 1,
814     "x": 913.9403610229492,
815     "y": 1303.0119047164917,
816     "z": "29922cf.42f59d4",
817     "wires": [["6194ee24.2cc39"]]
818 },
819 {
820     "id": "6194ee24.2cc39",
821     "type": "returnFailure",
822     "name": "return failure",
823     "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$error-message`\"/>\n\n",
824     "comments": "",
825     "x": 1105.9403381347656,
826     "y": 1296.0119123458862,
827     "z": "29922cf.42f59d4",
828     "wires": []
829 },
830 {
831     "id": "883aacc0.c3db4",
832     "type": "success",
833     "name": "success",
834     "xml": "<outcome value='success'>\n",
835     "comments": "",
836     "outputs": 1,
837     "x": 677.2736740112305,
838     "y": 1421.3452787399292,
839     "z": "29922cf.42f59d4",
840     "wires": [["e5cfa4d.8698f58"]]
841 },
842 {
843     "id": "e5cfa4d.8698f58",
844     "type": "block",
845     "name": "block",
846     "xml": "<block>\n",
847     "atomic": "false",
848     "comments": "",
849     "outputs": 1,
850     "x": 840.2736740112305,
851     "y": 1421.3452787399292,
852     "z": "29922cf.42f59d4",
853     "wires": [["18a16323.e5a8ed"]]
854 },
855 {
856     "id": "18a16323.e5a8ed",
857     "type": "returnSuccess",
858     "name": "return success",
859     "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$APPC.GetRunningConfig`\" />\n<parameter name='code' value='`$output.status.code`' />\n<parameter name='message' value='`$output.status.message`'/>\n<parameter name='Status' value = '`$output.status.results`'/>\n",
860     "comments": "",
861     "x": 1029.2736282348633,
862     "y": 1423.345359802246,
863     "z": "29922cf.42f59d4",
864     "wires": []
865 }]