3 "id": "5f50727e.7a0a6c",
9 "z": "aaa9f907.0834a8",
17 "id": "2b40968d.ab629a",
19 "name": "method: GetDeviceRunningConfig",
20 "xml": "<method rpc='GetDeviceRunningConfig' mode='sync'>\n",
23 "x": 598.4285430908203,
24 "y": 107.42857456207275,
25 "z": "aaa9f907.0834a8",
33 "id": "e654bc3d.74fbb",
34 "type": "service-logic",
39 "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'>",
43 "z": "aaa9f907.0834a8",
51 "id": "35a488e.66b5c78",
53 "name": "set Request Parameters",
54 "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",
56 "x": 524.3334197998047,
57 "y": 185.99999570846558,
58 "z": "aaa9f907.0834a8",
62 "id": "df8c5a7b.dd26a8",
64 "name": "execute: Get Rest Configuration",
65 "xml": "<execute plugin=\"org.onap.sdnc.restconf.RestConfCallNode\" method=\"getConfiguration\">\n<parameter name=\"hostIpAddress\" value=\"`$hostIpAddress`\" />\n<parameter name=\"protocol\" value=\"`$protocol`\" />\n<parameter name=\"responsePrefix\" value=\"restconf\" />\n",
70 "z": "aaa9f907.0834a8",
80 "id": "6d6d9155.81b31",
81 "type": "returnFailure",
82 "name": "return failure",
83 "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"Unable to Get the Configuration\"/>\n",
85 "x": 1959.0000381469727,
86 "y": 641.0000162124634,
87 "z": "aaa9f907.0834a8",
91 "id": "1ef3f92e.77bee7",
94 "xml": "<outcome value='Other'>\n",
99 "z": "aaa9f907.0834a8",
107 "id": "da46d5b4.c39698",
116 "z": "aaa9f907.0834a8",
124 "id": "8743fbd8.ed0748",
125 "type": "returnSuccess",
126 "name": "return success",
127 "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$restconf.config`\" />\n",
131 "z": "aaa9f907.0834a8",
135 "id": "b15369f7.e71488",
138 "xml": "<outcome value='success'>\n",
143 "z": "aaa9f907.0834a8",
151 "id": "68f17483.13477c",
158 "x": 1746.0000343322754,
159 "y": 631.0000648498535,
160 "z": "aaa9f907.0834a8",
168 "id": "959facc2.b56d1",
177 "z": "aaa9f907.0834a8",
186 "id": "a37300e4.819ff",
188 "name": "RESTCONF-XML",
189 "xml": "<outcome value='RESTCONF-XML'>\n",
194 "z": "aaa9f907.0834a8",
202 "id": "a8ce2a40.6697c8",
205 "xml": "<block atomic=\"true\">\n",
211 "z": "aaa9f907.0834a8",
219 "id": "6bc3503b.3f789",
220 "type": "switchNode",
221 "name": "switch : Protocol",
222 "xml": "<switch test=\"`$protocol`\">\n",
227 "z": "aaa9f907.0834a8",
241 "id": "1b94eb1a.378b65",
244 "xml": "<outcome value='CLI'>\n",
249 "z": "aaa9f907.0834a8",
257 "id": "f9f576ad.2c49c8",
258 "type": "get-resource",
259 "name": "get-resource GET_CONFIG_TEMPLATE",
260 "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",
263 "x": 707.9999694824219,
265 "z": "aaa9f907.0834a8",
274 "id": "88b20ed9.99e4c",
277 "xml": "<block atomic=\"true\">\n",
281 "x": 463.9999694824219,
283 "z": "aaa9f907.0834a8",
292 "id": "5f4ce45b.77a3dc",
293 "type": "returnFailure",
294 "name": "return failure",
295 "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"Unable to Read Config Template\"/>\n\t",
297 "x": 1284.9999694824219,
299 "z": "aaa9f907.0834a8",
303 "id": "faf02c25.d5151",
306 "xml": "<block atomic=\"true\">\n",
310 "x": 1113.9999694824219,
312 "z": "aaa9f907.0834a8",
320 "id": "cb69479b.80e9c8",
321 "type": "returnSuccess",
322 "name": "return success",
323 "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$cliOutput`\" />\n",
326 "y": 509.00004863739014,
327 "z": "aaa9f907.0834a8",
331 "id": "df74b79d.a64fe8",
333 "name": "execute: Get CLI RunningConfig",
334 "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",
337 "x": 673.0000152587891,
338 "y": 355.0000123977661,
339 "z": "aaa9f907.0834a8",
349 "id": "cc7baf11.3e467",
357 "y": 454.00006103515625,
358 "z": "aaa9f907.0834a8",
366 "id": "71cb18ca.264698",
369 "xml": "<outcome value='failure'>\n",
372 "x": 960.9999694824219,
374 "z": "aaa9f907.0834a8",
382 "id": "8e7da4ab.4d4868",
385 "xml": "<outcome value='success'>\n",
389 "y": 452.00006103515625,
390 "z": "aaa9f907.0834a8",
398 "id": "afa3c121.5b7f1",
401 "xml": "<outcome value='failure'>\n",
406 "z": "aaa9f907.0834a8",
414 "id": "6d16099a.f50a08",
417 "xml": "<outcome value='not-found'>\n",
420 "x": 959.9999694824219,
422 "z": "aaa9f907.0834a8",
430 "id": "e71d0c2d.af144",
433 "xml": "<outcome value='failure'>\n",
436 "x": 943.0000076293945,
437 "y": 369.9999933242798,
438 "z": "aaa9f907.0834a8",
446 "id": "5469adb9.e96f84",
449 "xml": "<outcome value='Other'>\n",
454 "z": "aaa9f907.0834a8",
462 "id": "4937716.990be9",
467 "x": 840.9999694824219,
469 "z": "aaa9f907.0834a8",
473 "id": "935a8242.99721",
475 "name": "NETCONF-XML",
476 "xml": "<outcome value='NETCONF-XML'>\n",
481 "z": "aaa9f907.0834a8",
489 "id": "bd0cb1b.7ea3d5",
492 "xml": "<block atomic=\"true\">\n",
498 "z": "aaa9f907.0834a8",
506 "id": "940d203d.4c356",
508 "name": "execute: Get XML RunningConfig",
509 "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",
512 "x": 663.0000305175781,
513 "y": 722.7143230438232,
514 "z": "aaa9f907.0834a8",
524 "id": "c22d359b.d6e578",
527 "xml": "<outcome value='failure'>\n",
532 "z": "aaa9f907.0834a8",
540 "id": "41dcdfec.eae44",
543 "xml": "<outcome value='Other'>\n",
548 "z": "aaa9f907.0834a8",
556 "id": "47f59f7d.0d21c",
559 "xml": "<outcome value='RESTCONF'>\n",
564 "z": "aaa9f907.0834a8",
572 "id": "fe26a5fb.5fcbe8",
575 "xml": "<outcome value='success'>\n",
580 "z": "aaa9f907.0834a8",
588 "id": "a376462d.7ca1f8",
597 "z": "aaa9f907.0834a8",
605 "id": "557c146c.01703c",
606 "type": "returnSuccess",
607 "name": "return success",
608 "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$xmlRunningConfigOutput `\" />\n",
610 "x": 1164.6669387817383,
611 "y": 800.0000133514404,
612 "z": "aaa9f907.0834a8",
616 "id": "2855e5f.b0a0a1a",
619 "xml": "<outcome value='CHEF'>\n",
624 "z": "aaa9f907.0834a8",
632 "id": "243be507.25590a",
635 "xml": "<block atomic=\"true\">\n",
639 "x": 418.99999237060547,
640 "y": 839.6666603088379,
641 "z": "aaa9f907.0834a8",
649 "id": "b34a875c.2ef438",
651 "name": "execute: getChefRunningConfig",
652 "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",
655 "x": 655.1428680419922,
656 "y": 883.8572664260864,
657 "z": "aaa9f907.0834a8",
667 "id": "8c7a764a.a11bd8",
670 "xml": "<outcome value='success'>\n",
673 "x": 849.7142944335938,
674 "y": 980.14284324646,
675 "z": "aaa9f907.0834a8",
683 "id": "a0f13048.149d4",
690 "x": 1148.6667976379395,
691 "y": 1014.6666450500488,
692 "z": "aaa9f907.0834a8",
700 "id": "e23ac302.4d2ed",
703 "xml": "<outcome value='Other'>\n",
706 "x": 957.000129699707,
707 "y": 916.0000658035278,
708 "z": "aaa9f907.0834a8",
714 "id": "1bc03f81.ad7c",
717 "xml": "<outcome value='failure'>\n",
720 "x": 956.000129699707,
721 "y": 867.0000658035278,
722 "z": "aaa9f907.0834a8",
730 "id": "199a89c0.534d86",
731 "type": "returnSuccess",
732 "name": "return success",
733 "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n",
735 "x": 1385.000144958496,
736 "y": 1018.33331823349,
737 "z": "aaa9f907.0834a8",
741 "id": "a0d0193b.c46688",
748 "x": 1132.000129699707,
749 "y": 871.0000658035278,
750 "z": "aaa9f907.0834a8",
758 "id": "87af55fa.73a128",
759 "type": "returnFailure",
760 "name": "return failure",
761 "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n",
763 "x": 1282.3334503173828,
764 "y": 851.1429662704468,
765 "z": "aaa9f907.0834a8",
769 "id": "a39ef07c.ac9ad",
770 "type": "returnFailure",
771 "name": "return failure",
772 "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$error-message`\"/>\n",
776 "z": "aaa9f907.0834a8",
780 "id": "ee5dec67.04732",
789 "z": "aaa9f907.0834a8",
797 "id": "5c3f7224.e7bfdc",
800 "xml": "<outcome value='Ansible'>\n",
803 "x": 180.44049835205078,
804 "y": 909.7263145446777,
805 "z": "aaa9f907.0834a8",
813 "id": "e548945.c96db68",
816 "xml": "<block atomic=\"true\">\n",
820 "x": 366.58331298828125,
821 "y": 971.583251953125,
822 "z": "aaa9f907.0834a8",
830 "id": "6a9b0e78.b7d2e",
832 "name": "call GetTemplateConfig_Chef",
833 "xml": "<call module='APPC' rpc='GetTemplateConfig_Chef' mode='sync' >\n",
836 "x": 585.3928527832031,
837 "y": 1016.5835304260254,
838 "z": "aaa9f907.0834a8",
848 "id": "8a50e153.0677f",
850 "name": "call GetTemplateConfig_Ansible",
851 "xml": "<call module='APPC' rpc='GetTemplateConfig_Ansible' mode='sync' >\n",
854 "x": 551.107063293457,
855 "y": 1253.726152420044,
856 "z": "aaa9f907.0834a8",
866 "id": "27133a0f.123c56",
869 "xml": "<outcome value='Other'>\n",
872 "x": 675.8690185546875,
873 "y": 1113.9643206596375,
874 "z": "aaa9f907.0834a8",
882 "id": "8b28adda.36ce8",
885 "xml": "<outcome value='failure'>\n",
888 "x": 674.8690185546875,
889 "y": 1064.9643206596375,
890 "z": "aaa9f907.0834a8",
898 "id": "116c0671.d0a36a",
905 "x": 850.8690185546875,
906 "y": 1068.9643206596375,
907 "z": "aaa9f907.0834a8",
915 "id": "850ccc0e.dd65a",
916 "type": "returnFailure",
917 "name": "return failure",
918 "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$error-message`\"/>\n\n",
920 "x": 1090.8690185546875,
921 "y": 1061.9643206596375,
922 "z": "aaa9f907.0834a8",
926 "id": "ed43cd16.7a39f",
929 "xml": "<outcome value='success'>\n",
932 "x": 614.2023315429688,
933 "y": 1187.297694683075,
934 "z": "aaa9f907.0834a8",
942 "id": "6c819002.b9a78",
949 "x": 777.2023315429688,
950 "y": 1187.297694683075,
951 "z": "aaa9f907.0834a8",
959 "id": "e5c182da.8fd39",
960 "type": "returnSuccess",
961 "name": "return success",
962 "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",
964 "x": 927.3451843261719,
965 "y": 1166.4403648376465,
966 "z": "aaa9f907.0834a8",
970 "id": "1778d67d.1f811a",
973 "xml": "<block atomic=\"true\">\n",
977 "x": 362.77384185791016,
978 "y": 1168.7260665893555,
979 "z": "aaa9f907.0834a8",
987 "id": "b68f0106.b83e1",
990 "xml": "<outcome value='Other'>\n",
993 "x": 784.4403610229492,
994 "y": 1318.7261695861816,
995 "z": "aaa9f907.0834a8",
1003 "id": "18a59cfe.11d2a3",
1006 "xml": "<outcome value='failure'>\n",
1009 "x": 783.4403610229492,
1010 "y": 1269.7261695861816,
1011 "z": "aaa9f907.0834a8",
1019 "id": "7b309971.2eec98",
1026 "x": 959.4403610229492,
1027 "y": 1273.7261695861816,
1028 "z": "aaa9f907.0834a8",
1036 "id": "ac37b56e.16a288",
1037 "type": "returnFailure",
1038 "name": "return failure",
1039 "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$error-message`\"/>\n\n",
1041 "x": 1151.4403381347656,
1042 "y": 1266.7261772155762,
1043 "z": "aaa9f907.0834a8",
1047 "id": "4a3b5fbe.b99de",
1050 "xml": "<outcome value='success'>\n",
1053 "x": 722.7736740112305,
1054 "y": 1392.0595436096191,
1055 "z": "aaa9f907.0834a8",
1063 "id": "b7eb4e19.d63b1",
1070 "x": 885.7736740112305,
1071 "y": 1392.0595436096191,
1072 "z": "aaa9f907.0834a8",
1080 "id": "abbdcc7f.094e2",
1081 "type": "returnSuccess",
1082 "name": "return success",
1083 "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",
1085 "x": 1074.7736282348633,
1086 "y": 1394.059624671936,
1087 "z": "aaa9f907.0834a8",
1091 "id": "cf6bb3bf.5613b",
1093 "name": " Saltstack",
1094 "xml": "<outcome value='Saltstack'>\n",
1099 "z": "aaa9f907.0834a8",
1107 "id": "d62e6f66.3a077",
1110 "xml": "<block atomic=\"true\">\n",
1114 "x": 322.3333435058594,
1115 "y": 1398.9997520446777,
1116 "z": "aaa9f907.0834a8",
1124 "id": "c742f77a.7a9c08",
1126 "name": "call GetTemplateConfig_Ansible",
1127 "xml": "<call module='APPC' rpc='GetTemplateConfig_Saltstack' mode='sync' >\n",
1130 "x": 510.66656494140625,
1131 "y": 1483.9998378753662,
1132 "z": "aaa9f907.0834a8",
1142 "id": "626090db.398aa",
1145 "xml": "<outcome value='failure'>\n",
1148 "x": 742.9998626708984,
1149 "y": 1499.999855041504,
1150 "z": "aaa9f907.0834a8",
1158 "id": "585a3384.af8cac",
1161 "xml": "<outcome value='Other'>\n",
1164 "x": 734.9998779296875,
1165 "y": 1550.9998779296875,
1166 "z": "aaa9f907.0834a8",
1174 "id": "98a218c8.7bc388",
1177 "xml": "<outcome value='success'>\n",
1180 "x": 682.3331756591797,
1181 "y": 1622.3332290649414,
1182 "z": "aaa9f907.0834a8",
1190 "id": "42419a01.ee0414",
1197 "x": 845.3331756591797,
1198 "y": 1622.3332290649414,
1199 "z": "aaa9f907.0834a8",
1207 "id": "59822d97.07a334",
1214 "x": 918.9998626708984,
1215 "y": 1503.999855041504,
1216 "z": "aaa9f907.0834a8",
1224 "id": "d4cbb126.4bbaa",
1225 "type": "returnFailure",
1226 "name": "return failure",
1227 "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$error-message`\"/>\n\n",
1229 "x": 1110.9998397827148,
1230 "y": 1496.9998626708984,
1231 "z": "aaa9f907.0834a8",
1235 "id": "a54aa26b.886d8",
1236 "type": "returnSuccess",
1237 "name": "return success",
1238 "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",
1240 "x": 1034.3331298828125,
1241 "y": 1624.3333101272583,
1242 "z": "aaa9f907.0834a8",