[\r
- {\r
- "id":"bd0f1105.ff214",\r
- "type":"method",\r
- "name":"saltstack-adaptor-1.0",\r
- "xml":"<method rpc='saltstack-adaptor-1.0-exec-single-SLSComm' mode='sync'>\n",\r
- "comments":"",\r
- "outputs":1,\r
- "x":526,\r
- "y":238,\r
- "z":"c053ae12.4067b",\r
- "wires":[\r
- [\r
- "f4e59dd0.ee45f"\r
- ]\r
- ]\r
- },\r
- {\r
- "id":"26f2a2b8.90f58e",\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":317,\r
- "y":316,\r
- "z":"c053ae12.4067b",\r
- "wires":[\r
- [\r
- "bd0f1105.ff214"\r
- ]\r
- ]\r
- },\r
- {\r
- "id":"55a7736.2789e8c",\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":1064,\r
- "y":453,\r
- "z":"c053ae12.4067b",\r
- "wires":[\r
-\r
- ]\r
- },\r
- {\r
- "id":"f4e59dd0.ee45f",\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 '*' 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":735,\r
- "y":240,\r
- "z":"c053ae12.4067b",\r
- "wires":[\r
- [\r
- "93fca622.05ad58",\r
- "7ce4a659.44c828"\r
- ]\r
- ]\r
- },\r
- {\r
- "id":"2ceb37d9.a8ba18",\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":522,\r
- "y":398,\r
- "z":"c053ae12.4067b",\r
- "wires":[\r
- [\r
- "cd89356c.279678",\r
- "781026e2.01d498"\r
- ]\r
- ]\r
- },\r
- {\r
- "id":"cd89356c.279678",\r
- "type":"other",\r
- "name":"other",\r
- "xml":"<outcome value='Other'>\n",\r
- "comments":"",\r
- "outputs":1,\r
- "x":708,\r
- "y":456,\r
- "z":"c053ae12.4067b",\r
- "wires":[\r
- [\r
- "55a7736.2789e8c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id":"93fca622.05ad58",\r
- "type":"failure",\r
- "name":"failure",\r
- "xml":"<outcome value='failure'>\n",\r
- "comments":"",\r
- "outputs":1,\r
- "x":985,\r
- "y":237,\r
- "z":"c053ae12.4067b",\r
- "wires":[\r
- [\r
- "55a7736.2789e8c"\r
- ]\r
- ]\r
- },\r
- {\r
- "id":"7ce4a659.44c828",\r
- "type":"other",\r
- "name":"other",\r
- "xml":"<outcome value='Other'>\n",\r
- "comments":"",\r
- "outputs":1,\r
- "x":332,\r
- "y":405,\r
- "z":"c053ae12.4067b",\r
- "wires":[\r
- [\r
- "2ceb37d9.a8ba18"\r
- ]\r
- ]\r
- },\r
- {\r
- "id":"781026e2.01d498",\r
- "type":"success",\r
- "name":"success",\r
- "xml":"<outcome value='200'>\n",\r
- "comments":"",\r
- "outputs":1,\r
- "x":711,\r
- "y":398,\r
- "z":"c053ae12.4067b",\r
- "wires":[\r
- [\r
- "ce510062.8dcc7"\r
- ]\r
- ]\r
- },\r
- {\r
- "id":"ce510062.8dcc7",\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":893,\r
- "y":399,\r
- "z":"c053ae12.4067b",\r
- "wires":[\r
-\r
- ]\r
- },\r
- {\r
- "id":"593bd7fb.675368",\r
- "type":"dgstart",\r
- "name":"DGSTART",\r
- "outputs":1,\r
- "x":295,\r
- "y":216,\r
- "z":"c053ae12.4067b",\r
- "wires":[\r
- [\r
- "26f2a2b8.90f58e"\r
- ]\r
- ]\r
- },\r
- {\r
- "id":"901c8408.5fecb8",\r
- "type":"comment",\r
- "name":"SaltStack Adaptor DG",\r
- "info":"",\r
- "comments":"",\r
- "x":673,\r
- "y":103,\r
- "z":"c053ae12.4067b",\r
- "wires":[\r
-\r
- ]\r
- },\r
- {\r
- "id":"cc449713.a1be88",\r
- "type":"comment",\r
- "name":"request-method = reqExecCommand, req-action = \"execute a single SLS command\"",\r
- "info":"Here we just ping to all the minions, and we dont even check if the minions are active. ",\r
- "comments":"",\r
- "x":684,\r
- "y":188,\r
- "z":"c053ae12.4067b",\r
- "wires":[\r
-\r
- ]\r
- },\r
- {\r
- "id":"c07fa80e.7f3ac8",\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":676,\r
- "y":144,\r
- "z":"c053ae12.4067b",\r
- "wires":[\r
-\r
- ]\r
- }\r
+ {\r
+ "id": "aeef7d24.424a2",\r
+ "type": "method",\r
+ "name": "saltstack-adaptor-1.0",\r
+ "xml": "<method rpc='saltstack-adaptor-1.0-exec-single-SLSComm' mode='sync'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 360,\r
+ "y": 7086.2001953125,\r
+ "z": "c817b245.e1acf",\r
+ "wires": [\r
+ [\r
+ "df4d8cf4.f519a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8b651be6.3f86b8",\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": 151,\r
+ "y": 7164.2001953125,\r
+ "z": "c817b245.e1acf",\r
+ "wires": [\r
+ [\r
+ "aeef7d24.424a2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2e42f618.62c16a",\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": 898,\r
+ "y": 7301.2001953125,\r
+ "z": "c817b245.e1acf",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "df4d8cf4.f519a",\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 '*' 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": 569,\r
+ "y": 7088.2001953125,\r
+ "z": "c817b245.e1acf",\r
+ "wires": [\r
+ [\r
+ "93ba15e3.3308a8",\r
+ "f8c4d551.a732f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a16856a1.2d4188",\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": 356,\r
+ "y": 7246.2001953125,\r
+ "z": "c817b245.e1acf",\r
+ "wires": [\r
+ [\r
+ "c3b1137b.663b1",\r
+ "a3023991.569708"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c3b1137b.663b1",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 542,\r
+ "y": 7304.2001953125,\r
+ "z": "c817b245.e1acf",\r
+ "wires": [\r
+ [\r
+ "2e42f618.62c16a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "93ba15e3.3308a8",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 819,\r
+ "y": 7085.2001953125,\r
+ "z": "c817b245.e1acf",\r
+ "wires": [\r
+ [\r
+ "2e42f618.62c16a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f8c4d551.a732f8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 166,\r
+ "y": 7253.2001953125,\r
+ "z": "c817b245.e1acf",\r
+ "wires": [\r
+ [\r
+ "a16856a1.2d4188"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a3023991.569708",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='200'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 545,\r
+ "y": 7246.2001953125,\r
+ "z": "c817b245.e1acf",\r
+ "wires": [\r
+ [\r
+ "ba97f3c2.e7cda"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ba97f3c2.e7cda",\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": 727,\r
+ "y": 7247.2001953125,\r
+ "z": "c817b245.e1acf",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "885dab24.087d78",\r
+ "type": "dgstart",\r
+ "name": "DGSTART",\r
+ "outputs": 1,\r
+ "x": 129,\r
+ "y": 7064.2001953125,\r
+ "z": "c817b245.e1acf",\r
+ "wires": [\r
+ [\r
+ "8b651be6.3f86b8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3da5c21f.a161ae",\r
+ "type": "comment",\r
+ "name": "SaltStack Adaptor DG",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 507,\r
+ "y": 6951.2001953125,\r
+ "z": "c817b245.e1acf",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a248d62f.bf82e8",\r
+ "type": "comment",\r
+ "name": "request-method = reqExecCommand, req-action = \"execute a single SLS command\"",\r
+ "info": "Here we just ping to all the minions, and we dont even check if the minions are active. ",\r
+ "comments": "",\r
+ "x": 518,\r
+ "y": 7036.2001953125,\r
+ "z": "c817b245.e1acf",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8b672f0c.3688d",\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": 510,\r
+ "y": 6992.2001953125,\r
+ "z": "c817b245.e1acf",\r
+ "wires": []\r
+ }\r
]
\ No newline at end of file