update on exec-multi-sls-DG for appc integration 18/125518/1
authorGanesh <ganesh.c@samsung.com>
Tue, 2 Nov 2021 12:13:25 +0000 (17:43 +0530)
committerGanesh <ganesh.c@samsung.com>
Tue, 2 Nov 2021 12:13:29 +0000 (17:43 +0530)
Signed-off-by: Ganesh <ganesh.c@samsung.com>
Change-Id: I90ed8c6f67ec805869513c1bbef98a1208e61abd
Issue-ID: CCSDK-3499

adaptors/saltstack-adaptor/saltstack-directed-graphs-sample/reqExecCommand/APPC_saltstack-adaptor-1.0-exec-multi-sls.json

index 274adee..93fa6f3 100644 (file)
 [\r
-    {\r
-      "id":"65f5c0d6.9c4ce",\r
-      "type":"method",\r
-      "name":"saltstack-adaptor-1.0",\r
-      "xml":"<method rpc='saltstack-adaptor-1.0-exec-multi-sls' mode='sync'>\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":615,\r
-      "y":273,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "c332cb01.51a3e8"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"bf71bd6e.1be5b",\r
-      "type":"service-logic",\r
-      "name":"APPC 2.0.1",\r
-      "module":"APPC",\r
-      "version":"2.0.1",\r
-      "comments":"",\r
-      "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='2.0.1'>",\r
-      "outputs":1,\r
-      "x":406,\r
-      "y":351,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "65f5c0d6.9c4ce"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"40ce8a6.5f7d174",\r
-      "type":"returnFailure",\r
-      "name":"return failure",\r
-      "xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$org.openecomp.appc.adaptor.saltstack.message`' />\n<parameter name='output.status.results' value='`$org.openecomp.appc.adaptor.saltstack.results`' />\n",\r
-      "comments":"",\r
-      "x":1325,\r
-      "y":455,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-\r
-      ]\r
-    },\r
-    {\r
-      "id":"c332cb01.51a3e8",\r
-      "type":"execute",\r
-      "name":"execute",\r
-      "xml":"<execute plugin='org.openecomp.appc.adaptor.saltstack.SaltstackAdaptor' method='reqExecCommand' >\n                        <parameter name='HostName' value='`$AgentUrl`'/>\n                        <parameter name='Port' value='`$Port`'/>\n                        <parameter name='User' value='`$User`'/>\n                        <parameter name='Password' value='`$Password`'/>\n                        <parameter name='Id' value='test1'/>\n                        <parameter name='Cmd' value='salt &apos;*&apos; test.ping --out=json --static'/>\n                        <parameter name='SlsExec' value='false'/>\n                        <parameter name='Timeout' value='`$Timeout`'/>\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":824,\r
-      "y":275,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "5b387684.e51be8",\r
-          "4bb6b32e.adfc2c"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"16dfbd4f.b6da73",\r
-      "type":"switchNode",\r
-      "name":"switch",\r
-      "xml":"<switch test=\"`$org.onap.appc.adaptor.saltstack.result.code`\">\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":607,\r
-      "y":435,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "24d22f52.ef59a",\r
-          "ac765880.a6c548"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"24d22f52.ef59a",\r
-      "type":"other",\r
-      "name":"other",\r
-      "xml":"<outcome value='Other'>\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":798,\r
-      "y":433,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "40ce8a6.5f7d174"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"5b387684.e51be8",\r
-      "type":"failure",\r
-      "name":"failure",\r
-      "xml":"<outcome value='failure'>\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":1074,\r
-      "y":272,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "40ce8a6.5f7d174"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"4bb6b32e.adfc2c",\r
-      "type":"other",\r
-      "name":"other",\r
-      "xml":"<outcome value='Other'>\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":429,\r
-      "y":433,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "16dfbd4f.b6da73"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"ac765880.a6c548",\r
-      "type":"success",\r
-      "name":"success",\r
-      "xml":"<outcome value='200'>\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":414,\r
-      "y":549,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "2dda30fc.8747"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"e45accfe.91615",\r
-      "type":"returnSuccess",\r
-      "name":"return success",\r
-      "xml":"<return status='success'>\n<parameter name='output.status.code' value='`$org.openecomp.appc.adaptor.saltstack.result.code`' />\n<parameter name='output.status.message' value='`$org.openecomp.appc.adaptor.saltstack.message`'/>\n<parameter name='output.status.results' value = '`$org.openecomp.appc.adaptor.saltstack.results`'/>\n",\r
-      "comments":"",\r
-      "x":1345,\r
-      "y":757,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-\r
-      ]\r
-    },\r
-    {\r
-      "id":"11a891ad.55bc1e",\r
-      "type":"dgstart",\r
-      "name":"DGSTART",\r
-      "outputs":1,\r
-      "x":384,\r
-      "y":251,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "bf71bd6e.1be5b"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"a56383b.496c48",\r
-      "type":"comment",\r
-      "name":"SaltStack Adaptor DG",\r
-      "info":"",\r
-      "comments":"",\r
-      "x":756,\r
-      "y":134,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-\r
-      ]\r
-    },\r
-    {\r
-      "id":"cfda30b5.5e166",\r
-      "type":"comment",\r
-      "name":"request-method = reqExecCommand, req-action = \"execute multiple SLS commands\"",\r
-      "info":"Here we basically test if minion1 is active by pinging to it, then install vim package to it. \n",\r
-      "comments":"",\r
-      "x":773,\r
-      "y":217,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-\r
-      ]\r
-    },\r
-    {\r
-      "id":"a8efb922.f23ce8",\r
-      "type":"other",\r
-      "name":"other",\r
-      "xml":"<outcome value='Other'>\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":459,\r
-      "y":751,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "3ff32215.20cd0e"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"df0c0907.d17838",\r
-      "type":"execute",\r
-      "name":"execute",\r
-      "xml":"<execute plugin='org.openecomp.appc.adaptor.saltstack.SaltstackAdaptor' method='reqExecCommand' >\n                        <parameter name='HostName' value='`$AgentUrl`'/>\n                        <parameter name='Port' value='`$Port`'/>\n                        <parameter name='User' value='`$User`'/>\n                        <parameter name='Password' value='`$Password`'/>\n                        <parameter name='Id' value='test2'/>\n                        <parameter name='Cmd' value='salt &apos;minion1&apos; pkg.install vim --out=json --static'/>\n                        <parameter name='SlsExec' value='false'/>\n                        <parameter name='Timeout' value='`$Timeout`'/>\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":836,\r
-      "y":638,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "1e5bbe2e.9cbb82",\r
-          "a8efb922.f23ce8"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"1e5bbe2e.9cbb82",\r
-      "type":"failure",\r
-      "name":"failure",\r
-      "xml":"<outcome value='failure'>\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":1054,\r
-      "y":644,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "40ce8a6.5f7d174"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"3ff32215.20cd0e",\r
-      "type":"switchNode",\r
-      "name":"switch",\r
-      "xml":"<switch test=\"`$org.onap.appc.adaptor.saltstack.result.code`\">\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":647,\r
-      "y":745,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "8e2c712b.784b4",\r
-          "3d74cfe5.d41f5"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"8e2c712b.784b4",\r
-      "type":"other",\r
-      "name":"other",\r
-      "xml":"<outcome value='Other'>\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":830,\r
-      "y":823,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "40ce8a6.5f7d174"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"3d74cfe5.d41f5",\r
-      "type":"success",\r
-      "name":"success",\r
-      "xml":"<outcome value='200'>\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":829,\r
-      "y":758,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "8313564b.004798"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"2dda30fc.8747",\r
-      "type":"switchNode",\r
-      "name":"switch",\r
-      "xml":"<switch test=\"`$test1.minion1`\">\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":586,\r
-      "y":549,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "e0133af5.2ca028",\r
-          "7f28f521.cf47cc"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"7f28f521.cf47cc",\r
-      "type":"other",\r
-      "name":"outcome",\r
-      "xml":"<outcome value='true'>\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":656,\r
-      "y":640,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "df0c0907.d17838"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"e0133af5.2ca028",\r
-      "type":"other",\r
-      "name":"other",\r
-      "xml":"<outcome value='Other'>\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":780,\r
-      "y":549,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "40ce8a6.5f7d174"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"8313564b.004798",\r
-      "type":"switchNode",\r
-      "name":"switch",\r
-      "xml":"<switch test=\"`$test2.minion1.retcode`\">\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":986,\r
-      "y":752,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "13d18d2d.71fbf3",\r
-          "2e940add.522a36"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"13d18d2d.71fbf3",\r
-      "type":"other",\r
-      "name":"other",\r
-      "xml":"<outcome value='Other'>\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":1165,\r
-      "y":825,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "40ce8a6.5f7d174"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"2e940add.522a36",\r
-      "type":"success",\r
-      "name":"success",\r
-      "xml":"<outcome value='0'>\n",\r
-      "comments":"",\r
-      "outputs":1,\r
-      "x":1156,\r
-      "y":754,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-        [\r
-          "e45accfe.91615"\r
-        ]\r
-      ]\r
-    },\r
-    {\r
-      "id":"6d6678d2.6a9bd8",\r
-      "type":"comment",\r
-      "name":"Assumptions for this DG (example-server)",\r
-      "info":"Here we assume, the saltstack server is the example-vagrant based server. Where, the master saltstact controlls minion1 and minion2. ",\r
-      "comments":"",\r
-      "x":756,\r
-      "y":173,\r
-      "z":"6df02477.0463cc",\r
-      "wires":[\r
-\r
-      ]\r
-    }\r
+       {\r
+               "id": "928e0dce.402f",\r
+               "type": "method",\r
+               "name": "saltstack-adaptor-1.0",\r
+               "xml": "<method rpc='saltstack-adaptor-1.0-exec-multi-sls' mode='sync'>\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 321,\r
+               "y": 7068.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "62d8cc0b.aa7dd4"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "64557b1d.fb9fc4",\r
+               "type": "service-logic",\r
+               "name": "APPC 2.0.1",\r
+               "module": "APPC",\r
+               "version": "2.0.1",\r
+               "comments": "",\r
+               "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='2.0.1'>",\r
+               "outputs": 1,\r
+               "x": 112,\r
+               "y": 7146.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "928e0dce.402f"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "30b2fec.9d39602",\r
+               "type": "returnFailure",\r
+               "name": "return failure",\r
+               "xml": "<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$org.openecomp.appc.adaptor.saltstack.message`' />\n<parameter name='output.status.results' value='`$org.openecomp.appc.adaptor.saltstack.results`' />\n",\r
+               "comments": "",\r
+               "x": 1031,\r
+               "y": 7250.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": []\r
+       },\r
+       {\r
+               "id": "62d8cc0b.aa7dd4",\r
+               "type": "execute",\r
+               "name": "execute",\r
+               "xml": "<execute plugin='org.openecomp.appc.adaptor.saltstack.SaltstackAdaptor' method='reqExecCommand' >\n                        <parameter name='HostName' value='`$AgentUrl`'/>\n                        <parameter name='Port' value='`$Port`'/>\n                        <parameter name='User' value='`$User`'/>\n                        <parameter name='Password' value='`$Password`'/>\n                        <parameter name='Id' value='test1'/>\n                        <parameter name='Cmd' value='salt &apos;*&apos; test.ping --out=json --static'/>\n                        <parameter name='SlsExec' value='false'/>\n                        <parameter name='Timeout' value='`$Timeout`'/>\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 530,\r
+               "y": 7070.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "76a4f341.d89c9c",\r
+                               "7cc55c8b.69d364"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "9911c7f1.eb17f8",\r
+               "type": "switchNode",\r
+               "name": "switch",\r
+               "xml": "<switch test=\"`$org.onap.appc.adaptor.saltstack.result.code`\">\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 313,\r
+               "y": 7230.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "4f12ff6a.67ffa",\r
+                               "6e81d4ca.527a7c"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "4f12ff6a.67ffa",\r
+               "type": "other",\r
+               "name": "other",\r
+               "xml": "<outcome value='Other'>\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 504,\r
+               "y": 7228.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "30b2fec.9d39602"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "76a4f341.d89c9c",\r
+               "type": "failure",\r
+               "name": "failure",\r
+               "xml": "<outcome value='failure'>\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 780,\r
+               "y": 7067.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "30b2fec.9d39602"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "7cc55c8b.69d364",\r
+               "type": "other",\r
+               "name": "other",\r
+               "xml": "<outcome value='Other'>\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 135,\r
+               "y": 7228.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "9911c7f1.eb17f8"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "6e81d4ca.527a7c",\r
+               "type": "success",\r
+               "name": "success",\r
+               "xml": "<outcome value='200'>\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 120,\r
+               "y": 7344.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "dc820ee4.c97b9"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "9ff7171b.c735a8",\r
+               "type": "returnSuccess",\r
+               "name": "return success",\r
+               "xml": "<return status='success'>\n<parameter name='output.status.code' value='`$org.openecomp.appc.adaptor.saltstack.result.code`' />\n<parameter name='output.status.message' value='`$org.openecomp.appc.adaptor.saltstack.message`'/>\n<parameter name='output.status.results' value = '`$org.openecomp.appc.adaptor.saltstack.results`'/>\n",\r
+               "comments": "",\r
+               "x": 1051,\r
+               "y": 7552.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": []\r
+       },\r
+       {\r
+               "id": "c1232260.ea0f3",\r
+               "type": "dgstart",\r
+               "name": "DGSTART",\r
+               "outputs": 1,\r
+               "x": 90,\r
+               "y": 7046.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "64557b1d.fb9fc4"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "fea43940.e1a288",\r
+               "type": "comment",\r
+               "name": "SaltStack Adaptor DG",\r
+               "info": "",\r
+               "comments": "",\r
+               "x": 462,\r
+               "y": 6929.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": []\r
+       },\r
+       {\r
+               "id": "6e590ea4.4dbbe",\r
+               "type": "comment",\r
+               "name": "request-method = reqExecCommand, req-action = \"execute multiple SLS commands\"",\r
+               "info": "Here we basically test if minion1 is active by pinging to it, then install vim package to it. \n",\r
+               "comments": "",\r
+               "x": 479,\r
+               "y": 7012.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": []\r
+       },\r
+       {\r
+               "id": "f81cd6d1.cb35c8",\r
+               "type": "other",\r
+               "name": "other",\r
+               "xml": "<outcome value='Other'>\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 165,\r
+               "y": 7546.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "dfa8d33d.40cb1"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "e0cb131.8437ff",\r
+               "type": "execute",\r
+               "name": "execute",\r
+               "xml": "<execute plugin='org.openecomp.appc.adaptor.saltstack.SaltstackAdaptor' method='reqExecCommand' >\n                        <parameter name='HostName' value='`$AgentUrl`'/>\n                        <parameter name='Port' value='`$Port`'/>\n                        <parameter name='User' value='`$User`'/>\n                        <parameter name='Password' value='`$Password`'/>\n                        <parameter name='Id' value='test2'/>\n                        <parameter name='Cmd' value='salt &apos;minion1&apos; pkg.install vim --out=json --static'/>\n                        <parameter name='SlsExec' value='false'/>\n                        <parameter name='Timeout' value='`$Timeout`'/>\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 542,\r
+               "y": 7433.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "4f347b72.f99ab4",\r
+                               "f81cd6d1.cb35c8"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "4f347b72.f99ab4",\r
+               "type": "failure",\r
+               "name": "failure",\r
+               "xml": "<outcome value='failure'>\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 760,\r
+               "y": 7439.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "30b2fec.9d39602"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "dfa8d33d.40cb1",\r
+               "type": "switchNode",\r
+               "name": "switch",\r
+               "xml": "<switch test=\"`$org.onap.appc.adaptor.saltstack.result.code`\">\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 353,\r
+               "y": 7540.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "520ee985.d20478",\r
+                               "fcde4ee2.f386e"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "520ee985.d20478",\r
+               "type": "other",\r
+               "name": "other",\r
+               "xml": "<outcome value='Other'>\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 536,\r
+               "y": 7618.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "30b2fec.9d39602"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "fcde4ee2.f386e",\r
+               "type": "success",\r
+               "name": "success",\r
+               "xml": "<outcome value='200'>\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 535,\r
+               "y": 7553.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "f04ba6e5.9e7f18"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "dc820ee4.c97b9",\r
+               "type": "switchNode",\r
+               "name": "switch",\r
+               "xml": "<switch test=\"`$test1.minion1`\">\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 292,\r
+               "y": 7344.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "8c2d58bc.919cc8",\r
+                               "ea1da5e.ec72a58"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "ea1da5e.ec72a58",\r
+               "type": "other",\r
+               "name": "outcome",\r
+               "xml": "<outcome value='true'>\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 362,\r
+               "y": 7435.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "e0cb131.8437ff"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "8c2d58bc.919cc8",\r
+               "type": "other",\r
+               "name": "other",\r
+               "xml": "<outcome value='Other'>\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 486,\r
+               "y": 7344.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "30b2fec.9d39602"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "f04ba6e5.9e7f18",\r
+               "type": "switchNode",\r
+               "name": "switch",\r
+               "xml": "<switch test=\"`$test2.minion1.retcode`\">\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 692,\r
+               "y": 7547.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "de6d2144.3955",\r
+                               "e878d18c.d4094"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "de6d2144.3955",\r
+               "type": "other",\r
+               "name": "other",\r
+               "xml": "<outcome value='Other'>\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 871,\r
+               "y": 7620.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "30b2fec.9d39602"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "e878d18c.d4094",\r
+               "type": "success",\r
+               "name": "success",\r
+               "xml": "<outcome value='0'>\n",\r
+               "comments": "",\r
+               "outputs": 1,\r
+               "x": 862,\r
+               "y": 7549.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": [\r
+                       [\r
+                               "9ff7171b.c735a8"\r
+                       ]\r
+               ]\r
+       },\r
+       {\r
+               "id": "d76f2fc3.1e194",\r
+               "type": "comment",\r
+               "name": "Assumptions for this DG (example-server)",\r
+               "info": "Here we assume, the saltstack server is the example-vagrant based server. Where, the master saltstact controlls minion1 and minion2. ",\r
+               "comments": "",\r
+               "x": 462,\r
+               "y": 6968.2001953125,\r
+               "z": "c817b245.e1acf",\r
+               "wires": []\r
+       }\r
 ]
\ No newline at end of file