update on multi-sls-DG for appc integration 63/125063/1
authorGanesh <ganesh.c@samsung.com>
Mon, 18 Oct 2021 08:12:45 +0000 (13:42 +0530)
committerGanesh <ganesh.c@samsung.com>
Mon, 18 Oct 2021 08:12:50 +0000 (13:42 +0530)
Signed-off-by: Ganesh <ganesh.c@samsung.com>
Change-Id: I5a35346bf163a18d1d925dc18593345d4126b382
Issue-ID: CCSDK-3499

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

index 6b465c4..274adee 100644 (file)
-[
-  {
-    "id": "65f5c0d6.9c4ce",
-    "type": "method",
-    "name": "saltstack-adaptor-1.0",
-    "xml": "<method rpc='saltstack-adaptor-1.0-exec-multi-sls' mode='sync'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 615,
-    "y": 273,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "c332cb01.51a3e8"
-      ]
-    ]
-  },
-  {
-    "id": "bf71bd6e.1be5b",
-    "type": "service-logic",
-    "name": "APPC 2.0.1",
-    "module": "APPC",
-    "version": "2.0.1",
-    "comments": "",
-    "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'>",
-    "outputs": 1,
-    "x": 406,
-    "y": 351,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "65f5c0d6.9c4ce"
-      ]
-    ]
-  },
-  {
-    "id": "40ce8a6.5f7d174",
-    "type": "returnFailure",
-    "name": "return failure",
-    "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",
-    "comments": "",
-    "x": 1325,
-    "y": 455,
-    "z": "6df02477.0463cc",
-    "wires": []
-  },
-  {
-    "id": "c332cb01.51a3e8",
-    "type": "execute",
-    "name": "execute",
-    "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",
-    "comments": "",
-    "outputs": 1,
-    "x": 824,
-    "y": 275,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "5b387684.e51be8",
-        "4bb6b32e.adfc2c"
-      ]
-    ]
-  },
-  {
-    "id": "16dfbd4f.b6da73",
-    "type": "switchNode",
-    "name": "switch",
-    "xml": "<switch test=\"`$org.onap.appc.adaptor.saltstack.result.code`\">\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 607,
-    "y": 435,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "24d22f52.ef59a",
-        "ac765880.a6c548"
-      ]
-    ]
-  },
-  {
-    "id": "24d22f52.ef59a",
-    "type": "other",
-    "name": "other",
-    "xml": "<outcome value='Other'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 798,
-    "y": 433,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "40ce8a6.5f7d174"
-      ]
-    ]
-  },
-  {
-    "id": "5b387684.e51be8",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1074,
-    "y": 272,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "40ce8a6.5f7d174"
-      ]
-    ]
-  },
-  {
-    "id": "4bb6b32e.adfc2c",
-    "type": "other",
-    "name": "other",
-    "xml": "<outcome value='Other'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 429,
-    "y": 433,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "16dfbd4f.b6da73"
-      ]
-    ]
-  },
-  {
-    "id": "ac765880.a6c548",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='200'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 414,
-    "y": 549,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "2dda30fc.8747"
-      ]
-    ]
-  },
-  {
-    "id": "e45accfe.91615",
-    "type": "returnSuccess",
-    "name": "return success",
-    "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",
-    "comments": "",
-    "x": 1345,
-    "y": 757,
-    "z": "6df02477.0463cc",
-    "wires": []
-  },
-  {
-    "id": "11a891ad.55bc1e",
-    "type": "dgstart",
-    "name": "DGSTART",
-    "outputs": 1,
-    "x": 384,
-    "y": 251,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "bf71bd6e.1be5b"
-      ]
-    ]
-  },
-  {
-    "id": "a56383b.496c48",
-    "type": "comment",
-    "name": "SaltStack Adaptor DG",
-    "info": "",
-    "comments": "",
-    "x": 756,
-    "y": 134,
-    "z": "6df02477.0463cc",
-    "wires": []
-  },
-  {
-    "id": "cfda30b5.5e166",
-    "type": "comment",
-    "name": "request-method = reqExecCommand, req-action = \"execute multiple SLS commands\"",
-    "info": "Here we basically test if minion1 is active by pinging to it, then install vim package to it. \n",
-    "comments": "",
-    "x": 773,
-    "y": 217,
-    "z": "6df02477.0463cc",
-    "wires": []
-  },
-  {
-    "id": "a8efb922.f23ce8",
-    "type": "other",
-    "name": "other",
-    "xml": "<outcome value='Other'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 459,
-    "y": 751,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "3ff32215.20cd0e"
-      ]
-    ]
-  },
-  {
-    "id": "df0c0907.d17838",
-    "type": "execute",
-    "name": "execute",
-    "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",
-    "comments": "",
-    "outputs": 1,
-    "x": 836,
-    "y": 638,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "1e5bbe2e.9cbb82",
-        "a8efb922.f23ce8"
-      ]
-    ]
-  },
-  {
-    "id": "1e5bbe2e.9cbb82",
-    "type": "failure",
-    "name": "failure",
-    "xml": "<outcome value='failure'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1054,
-    "y": 644,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "40ce8a6.5f7d174"
-      ]
-    ]
-  },
-  {
-    "id": "3ff32215.20cd0e",
-    "type": "switchNode",
-    "name": "switch",
-    "xml": "<switch test=\"`$org.onap.appc.adaptor.saltstack.result.code`\">\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 647,
-    "y": 745,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "8e2c712b.784b4",
-        "3d74cfe5.d41f5"
-      ]
-    ]
-  },
-  {
-    "id": "8e2c712b.784b4",
-    "type": "other",
-    "name": "other",
-    "xml": "<outcome value='Other'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 830,
-    "y": 823,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "40ce8a6.5f7d174"
-      ]
-    ]
-  },
-  {
-    "id": "3d74cfe5.d41f5",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='200'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 829,
-    "y": 758,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "8313564b.004798"
-      ]
-    ]
-  },
-  {
-    "id": "2dda30fc.8747",
-    "type": "switchNode",
-    "name": "switch",
-    "xml": "<switch test=\"`$test1.minion1`\">\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 586,
-    "y": 549,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "e0133af5.2ca028",
-        "7f28f521.cf47cc"
-      ]
-    ]
-  },
-  {
-    "id": "7f28f521.cf47cc",
-    "type": "other",
-    "name": "outcome",
-    "xml": "<outcome value='true'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 656,
-    "y": 640,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "df0c0907.d17838"
-      ]
-    ]
-  },
-  {
-    "id": "e0133af5.2ca028",
-    "type": "other",
-    "name": "other",
-    "xml": "<outcome value='Other'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 780,
-    "y": 549,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "40ce8a6.5f7d174"
-      ]
-    ]
-  },
-  {
-    "id": "8313564b.004798",
-    "type": "switchNode",
-    "name": "switch",
-    "xml": "<switch test=\"`$test2.minion1.retcode`\">\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 986,
-    "y": 752,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "13d18d2d.71fbf3",
-        "2e940add.522a36"
-      ]
-    ]
-  },
-  {
-    "id": "13d18d2d.71fbf3",
-    "type": "other",
-    "name": "other",
-    "xml": "<outcome value='Other'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1165,
-    "y": 825,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "40ce8a6.5f7d174"
-      ]
-    ]
-  },
-  {
-    "id": "2e940add.522a36",
-    "type": "success",
-    "name": "success",
-    "xml": "<outcome value='0'>\n",
-    "comments": "",
-    "outputs": 1,
-    "x": 1156,
-    "y": 754,
-    "z": "6df02477.0463cc",
-    "wires": [
-      [
-        "e45accfe.91615"
-      ]
-    ]
-  },
-  {
-    "id": "6d6678d2.6a9bd8",
-    "type": "comment",
-    "name": "Assumptions for this DG (example-server)",
-    "info": "Here we assume, the saltstack server is the example-vagrant based server. Where, the master saltstact controlls minion1 and minion2. ",
-    "comments": "",
-    "x": 756,
-    "y": 173,
-    "z": "6df02477.0463cc",
-    "wires": []
-  }
+[\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
 ]
\ No newline at end of file