4716e8ab3af26417440389297a586013c41c5332
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / Dispatcher-DG / APPC-API_2.0.0_SSH_VNF_CONFIGURE.json
1 [
2     {
3         "id": "aaf4237b.4a939",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 163.66666158040363,
8         "y": 140.33332824707028,
9         "z": "95fc7c0a.f0bc9",
10         "wires": [
11             [
12                 "de0ac7d0.e14e98"
13             ]
14         ]
15     },
16     {
17         "id": "de0ac7d0.e14e98",
18         "type": "service-logic",
19         "name": "APPC-API 2.0.0",
20         "module": "APPC-API",
21         "version": "2.0.0",
22         "comments": "",
23         "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-API' version='2.0.0'>",
24         "outputs": 1,
25         "x": 361.99999237060547,
26         "y": 140.33332061767578,
27         "z": "95fc7c0a.f0bc9",
28         "wires": [
29             [
30                 "e81270a0.727e8"
31             ]
32         ]
33     },
34     {
35         "id": "e81270a0.727e8",
36         "type": "method",
37         "name": "SSH_VNF_Configure",
38         "xml": "<method rpc='VNF_Configure' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 607.9524536132812,
42         "y": 139.61906337738037,
43         "z": "95fc7c0a.f0bc9",
44         "wires": [
45             [
46                 "63ff76d8.f656f8"
47             ]
48         ]
49     },
50     {
51         "id": "4c02a583.c4889c",
52         "type": "success",
53         "name": "success",
54         "xml": "<outcome value='success'>\n",
55         "comments": "",
56         "outputs": 1,
57         "x": 484.14294052124023,
58         "y": 280.45239639282227,
59         "z": "95fc7c0a.f0bc9",
60         "wires": [
61             [
62                 "86035845.07e918"
63             ]
64         ]
65     },
66     {
67         "id": "86035845.07e918",
68         "type": "returnSuccess",
69         "name": "return success",
70         "xml": "<return status='success'>\n<parameter name='status' value='`$status`' />\n<parameter name='stdout' value='`$stdout`' />\n<parameter name='stderr' value='`$stderr`' />\n",
71         "comments": "",
72         "x": 761.4049072265625,
73         "y": 278.9880847930908,
74         "z": "95fc7c0a.f0bc9",
75         "wires": []
76     },
77     {
78         "id": "2b985227.d5b28e",
79         "type": "other",
80         "name": "other",
81         "xml": "<outcome value='Other'>\n",
82         "comments": "",
83         "outputs": 1,
84         "x": 482.85715103149414,
85         "y": 421.3571548461914,
86         "z": "95fc7c0a.f0bc9",
87         "wires": [
88             [
89                 "ffcc42ac.b88d7"
90             ]
91         ]
92     },
93     {
94         "id": "ffcc42ac.b88d7",
95         "type": "returnFailure",
96         "name": "return failure",
97         "xml": "<return status='failure'>\n<parameter name='status' value='$status`' />\n<parameter name='stdout' value='`$stdout`' />\n<parameter name='stderr' value='`$stderr`' />\n",
98         "comments": "",
99         "x": 764.0000877380371,
100         "y": 420.9643087387085,
101         "z": "95fc7c0a.f0bc9",
102         "wires": []
103     },
104     {
105         "id": "63ff76d8.f656f8",
106         "type": "execute",
107         "name": "execute ssh command",
108         "xml": "<execute plugin='org.onap.appc.dg.ssh.SshService' method='execWithStatusCheck' >\n<parameter name='host' value='`$host`' />\n<parameter name='port' value='`$port`' />\n<parameter name='username' value='`$username`' />\n<parameter name='password' value='`$password`' />\n<parameter name='command' value='`$command`' />\n\n",
109         "comments": "",
110         "outputs": 1,
111         "x": 189.17861938476562,
112         "y": 346.67860412597656,
113         "z": "95fc7c0a.f0bc9",
114         "wires": [
115             [
116                 "4c02a583.c4889c",
117                 "2b985227.d5b28e"
118             ]
119         ]
120     }
121 ]