3 "id":"bd0f1105.ff214",
\r
5 "name":"saltstack-adaptor-1.0",
\r
6 "xml":"<method rpc='saltstack-adaptor-1.0-exec-single-SLSComm' mode='sync'>\n",
\r
11 "z":"c053ae12.4067b",
\r
19 "id":"26f2a2b8.90f58e",
\r
20 "type":"service-logic",
\r
21 "name":"APPC 2.0.1",
\r
25 "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
29 "z":"c053ae12.4067b",
\r
37 "id":"55a7736.2789e8c",
\r
38 "type":"returnFailure",
\r
39 "name":"return failure",
\r
40 "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
44 "z":"c053ae12.4067b",
\r
50 "id":"f4e59dd0.ee45f",
\r
53 "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
58 "z":"c053ae12.4067b",
\r
67 "id":"2ceb37d9.a8ba18",
\r
68 "type":"switchNode",
\r
70 "xml":"<switch test=\"`$org.onap.appc.adaptor.saltstack.result.code`\">\n",
\r
75 "z":"c053ae12.4067b",
\r
84 "id":"cd89356c.279678",
\r
87 "xml":"<outcome value='Other'>\n",
\r
92 "z":"c053ae12.4067b",
\r
100 "id":"93fca622.05ad58",
\r
103 "xml":"<outcome value='failure'>\n",
\r
108 "z":"c053ae12.4067b",
\r
116 "id":"7ce4a659.44c828",
\r
119 "xml":"<outcome value='Other'>\n",
\r
124 "z":"c053ae12.4067b",
\r
132 "id":"781026e2.01d498",
\r
135 "xml":"<outcome value='200'>\n",
\r
140 "z":"c053ae12.4067b",
\r
148 "id":"ce510062.8dcc7",
\r
149 "type":"returnSuccess",
\r
150 "name":"return success",
\r
151 "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
155 "z":"c053ae12.4067b",
\r
161 "id":"593bd7fb.675368",
\r
167 "z":"c053ae12.4067b",
\r
175 "id":"901c8408.5fecb8",
\r
177 "name":"SaltStack Adaptor DG",
\r
182 "z":"c053ae12.4067b",
\r
188 "id":"cc449713.a1be88",
\r
190 "name":"request-method = reqExecCommand, req-action = \"execute a single SLS command\"",
\r
191 "info":"Here we just ping to all the minions, and we dont even check if the minions are active. ",
\r
195 "z":"c053ae12.4067b",
\r
201 "id":"c07fa80e.7f3ac8",
\r
203 "name":"Assumptions for this DG (example-server)",
\r
204 "info":"Here we assume, the saltstack server is the example-vagrant based server. Where, the master saltstact controlls minion1 and minion2. ",
\r
208 "z":"c053ae12.4067b",
\r