3 "id": "d86e7ee4.ee3f1",
5 "name": "saltstack-adapter-1.0",
6 "xml": "<method rpc='saltstack-adapter-1.0-exe-nonSLS' mode='sync'>\n",
11 "z": "5945fc3c.78efc4",
19 "id": "9997883e.ec9028",
20 "type": "service-logic",
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'>",
29 "z": "5945fc3c.78efc4",
37 "id": "d40bf650.8338e8",
38 "type": "returnFailure",
39 "name": "return failure",
40 "xml": "<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$org.openecomp.appc.adapter.saltstack.message`' />\n<parameter name='output.status.results' value='`$org.openecomp.appc.adapter.saltstack.results`' />\n",
44 "z": "5945fc3c.78efc4",
48 "id": "38662e01.1d3c22",
51 "xml": "<execute plugin='org.openecomp.appc.adapter.saltstack.SaltstackAdapter' 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='cd /srv/salt; ls -l'/>\n <parameter name='SlsExec' value='false'/>\n <parameter name='Timeout' value='`$Timeout`'/>\n",
56 "z": "5945fc3c.78efc4",
65 "id": "24fb9f79.a6c6c",
68 "xml": "<switch test=\"`$org.onap.appc.adapter.saltstack.result.code`\">\n",
73 "z": "5945fc3c.78efc4",
82 "id": "c526c44.c850738",
85 "xml": "<outcome value='Other'>\n",
90 "z": "5945fc3c.78efc4",
98 "id": "7b75e382.6344dc",
101 "xml": "<outcome value='failure'>\n",
106 "z": "5945fc3c.78efc4",
114 "id": "6f108926.d7baf8",
117 "xml": "<outcome value='Other'>\n",
122 "z": "5945fc3c.78efc4",
130 "id": "9c394980.2a56a8",
133 "xml": "<outcome value='200'>\n",
138 "z": "5945fc3c.78efc4",
146 "id": "1f81a3db.54cd1c",
147 "type": "returnSuccess",
148 "name": "return success",
149 "xml": "<return status='success'>\n<parameter name='output.status.code' value='`$org.openecomp.appc.adapter.saltstack.result.code`' />\n<parameter name='output.status.message' value='`$org.openecomp.appc.adapter.saltstack.message`'/>\n<parameter name='output.status.results' value = '`$org.openecomp.appc.adapter.saltstack.results`'/>\n",
153 "z": "5945fc3c.78efc4",
157 "id": "fcad80f8.ba2d9",
163 "z": "5945fc3c.78efc4",
171 "id": "b86e624d.49f0f",
173 "name": "SaltStack Adaptor DG",
178 "z": "5945fc3c.78efc4",
182 "id": "83c0578d.061f98",
184 "name": "request-method = reqExecCommand, req-action = \"execute a single non SLS command\"",
189 "z": "5945fc3c.78efc4",
193 "id": "f104feb6.558f7",
195 "name": "Assumptions for this DG",
196 "info": "Here we assume, the saltstack server is the example-vagrant based server. Where, the master saltstact controlls minion1 and minion2. ",
200 "z": "5945fc3c.78efc4",