2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
23 "id": "f7fa8fff.f2db5",
25 "name": "VSRX_GetConfig",
26 "xml": "<method rpc='VSRX_GetConfig' mode='sync'>\n",
31 "z": "39664169.9c031e",
39 "id": "a5b12ccd.9b5d2",
40 "type": "service-logic",
45 "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>",
49 "z": "39664169.9c031e",
57 "id": "acf8d85c.a64e78",
63 "z": "39664169.9c031e",
71 "id": "d4b59933.d26998",
73 "name": "execute_getVNF_Hierarchy",
74 "xml": "<execute plugin='org.openecomp.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$org.openecomp.appc.vfid`\" />\n<parameter name=\"nodeName\" value=\"execute_getVNF_Hierarchy\" />",
79 "z": "39664169.9c031e",
88 "id": "5c563fba.47402",
91 "xml": "<outcome value='success'>\n",
96 "z": "39664169.9c031e",
104 "id": "2a0a328f.13910e",
106 "name": "block : atomic",
107 "xml": "<block atomic='true'>\n",
113 "z": "39664169.9c031e",
121 "id": "2daebecc.b36232",
123 "name": "for_each_VMs",
124 "xml": "<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >",
129 "z": "39664169.9c031e",
137 "id": "c06a4341.ec82f",
139 "name": "block : atomic",
140 "xml": "<block atomic='true'>\n",
146 "z": "39664169.9c031e",
154 "id": "2c2a06fe.98ddba",
156 "name": "retrieveVMSSHConfiguration",
157 "xml": "<execute plugin='org.openecomp.appc.dg.util.NetconfDBPlugin' method='retrieveVMDSConfiguration' >\n<parameter name=\"resourceKey\" value=\"`$VNF.VM[$i].vserver.vserver-name`\" />\n<parameter name=\"nodeName\" value=\"retrieveVMSSHConfiguration\" />",
162 "z": "39664169.9c031e",
171 "id": "498ff39f.be3cfc",
174 "xml": "<outcome value='success'>\n",
179 "z": "39664169.9c031e",
187 "id": "9d84d01f.ffef4",
188 "type": "returnSuccess",
189 "name": "return success",
190 "xml": "<return status='success'>\n",
194 "z": "39664169.9c031e",
198 "id": "8266b647.8b0a88",
201 "xml": "<outcome value='failure'>\n",
206 "z": "39664169.9c031e",
214 "id": "d7069cc8.15349",
215 "type": "returnFailure",
216 "name": "return failure",
217 "xml": "<return status='failure'>\n",
221 "z": "39664169.9c031e",
225 "id": "7c4f9f57.eb4e4",
228 "xml": "<outcome value='failure'>\n",
233 "z": "39664169.9c031e",
241 "id": "46cc0481.73e78c",
242 "type": "switchNode",
244 "xml": "<switch test='`$VNF.VMCount`'>\n",
249 "z": "39664169.9c031e",
258 "id": "1e28c6f9.bbc059",
261 "xml": "<outcome value='0'>\n",
266 "z": "39664169.9c031e",
274 "id": "18cc64bd.c146cb",
277 "xml": "<outcome value='Other'>\n",
282 "z": "39664169.9c031e",
290 "id": "8ba9ec90.9c794",
292 "name": "block : atomic",
293 "xml": "<block atomic='true'>",
299 "z": "39664169.9c031e",
308 "id": "1342848b.10b68b",
310 "name": "execute_DCAEReporterPlugin",
311 "xml": "<execute plugin='org.openecomp.appc.dg.util.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$org.openecomp.appc.apiversion`\"/>\n<parameter name=\"eventId\" value=\"`$org.openecomp.appc.vfid`\" />\n<parameter name=\"org.openecomp.appc.dg.error\" value=\"`$org.openecomp.appc.dg.error`\" />",
316 "z": "39664169.9c031e",
324 "id": "504bb6d6.3bc128",
327 "xml": "<outcome value='success'>\n",
332 "z": "39664169.9c031e",
338 "id": "7b04e7f0.163648",
340 "name": "get_Configuration",
341 "xml": "<execute plugin='org.openecomp.appc.dg.util.NetconfClientPlugin' method='getConfig' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"conf-id\" value=\"`$org.openecomp.appc.confid`\" />\n<parameter name=\"nodeName\" value=\"get_Configuration\" />\n\n",
346 "z": "39664169.9c031e",
355 "id": "d3f8ad27.db631",
358 "xml": "<outcome value='success'>\n",
363 "z": "39664169.9c031e",
371 "id": "bfab5b6b.b57008",
374 "xml": "<outcome value='failure'>\n",
379 "z": "39664169.9c031e",
387 "id": "558c56db.194258",
388 "type": "switchNode",
390 "xml": "<switch test='`$retrieveVMDSConfiguration_Result`'>\n",
395 "z": "39664169.9c031e",
404 "id": "3416bac7.a684e6",
407 "xml": "<outcome value='success'>\n",
412 "z": "39664169.9c031e",
420 "id": "8be5c519.3532f8",
423 "xml": "<outcome value='failure'>\n",
428 "z": "39664169.9c031e",
436 "id": "e21b57a4.5ea998",
437 "type": "switchNode",
439 "xml": "<switch test='`$getConfig_Result`'>\n",
444 "z": "39664169.9c031e",
453 "id": "cce84fd0.a0f22",
456 "xml": "<outcome value='Success'>\n",
461 "z": "39664169.9c031e",
469 "id": "c2e06562.032b08",
472 "xml": "<outcome value='failure'>\n",
477 "z": "39664169.9c031e",
485 "id": "82e0381.f53dac8",
487 "name": "registerPayload",
488 "xml": "<execute plugin='org.openecomp.appc.dg.util.DGPayloadCleanupPlugin' method='registerPayload' >\n<parameter name=\"resourceKey\" value=\"`$org.openecomp.appc.confid+'.Configuration'`\" />",
493 "z": "39664169.9c031e",
501 "id": "7e05eae7.3d7694",
504 "xml": "<outcome value='success'>\n",
509 "z": "39664169.9c031e",
515 "id": "b81740d5.22bfe",
518 "xml": "<outcome value='success'>\n",
523 "z": "39664169.9c031e",
531 "id": "c8e36592.453328",
540 "z": "39664169.9c031e",
548 "id": "72ff50ec.62143",
549 "type": "switchNode",
551 "xml": "<switch test=\"`$org.openecomp.appc.confid`\">",
556 "z": "39664169.9c031e",
565 "id": "d42cb172.bd7b8",
567 "name": "outcome_current",
568 "xml": "<outcome value='current'>\n",
573 "z": "39664169.9c031e",
581 "id": "d8b98ebe.3e41",
584 "xml": "<outcome value='Other'>\n",
589 "z": "39664169.9c031e",
597 "id": "3b2964a3.c85eac",
599 "name": "getConfiguration",
600 "xml": "<execute plugin='org.openecomp.appc.dg.util.ConfigurationManagerPlugin' method='getConfig' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"conf-id\" value=\"`$org.openecomp.appc.confid`\" />\n<parameter name=\"nodeName\" value=\"getConfiguration\" />",
605 "z": "39664169.9c031e",
614 "id": "848e0abf.ad4068",
616 "name": "block : atomic",
617 "xml": "<block atomic='true'>",
623 "z": "39664169.9c031e",
632 "id": "f10ec3da.6e759",
634 "name": "ctxCleanup",
635 "xml": "<execute plugin='org.openecomp.appc.dg.util.DGPayloadCleanupPlugin' method='cleanup' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"conf-id\" value=\"`$org.openecomp.appc.confid`\" />\n",
640 "z": "39664169.9c031e",
648 "id": "50e44062.8a63f",
650 "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID",
655 "z": "39664169.9c031e",
659 "id": "1d012da5.7898b2",
662 "xml": "<outcome value='success'>\n",
667 "z": "39664169.9c031e",
675 "id": "bde7e151.2a23e",
676 "type": "switchNode",
678 "xml": "<switch test='`$getConfig_Result`'>\n",
683 "z": "39664169.9c031e",
692 "id": "735df4fd.90402c",
695 "xml": "<outcome value='Success'>\n",
700 "z": "39664169.9c031e",
708 "id": "f02c82b2.f3509",
711 "xml": "<outcome value='failure'>\n",
716 "z": "39664169.9c031e",
724 "id": "fcbe0c1c.11c7d",
726 "name": "registerPayload",
727 "xml": "<execute plugin='org.openecomp.appc.dg.util.DGPayloadCleanupPlugin' method='registerPayload' >\n<parameter name=\"resourceKey\" value=\"`$VNF.VM[$i].vserver.vserver-name+'.Configuration'`\" />",
732 "z": "39664169.9c031e",
740 "id": "b0e981e3.4f6fb",
743 "xml": "<outcome value='success'>\n",
748 "z": "39664169.9c031e",
754 "id": "a55afee1.a9ca1",
763 "z": "39664169.9c031e",
771 "id": "e0e065cf.da6938",
774 "xml": "<outcome value='failure'>\n",
779 "z": "39664169.9c031e",
787 "id": "c7d75190.228fd",
790 "xml": "<outcome value='Other'>\n",
795 "z": "39664169.9c031e",
803 "id": "f0554fe0.4816e",
805 "name": "ctxCleanup",
806 "xml": "<execute plugin='org.openecomp.appc.dg.util.DGPayloadCleanupPlugin' method='cleanup' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"conf-id\" value=\"`$org.openecomp.appc.confid`\" />\n",
811 "z": "39664169.9c031e",