From 15926e89c324b3b4ca2ac3252af204548adc371b Mon Sep 17 00:00:00 2001 From: kusuma kumari M Date: Mon, 22 Jan 2018 12:36:00 -0500 Subject: code fix for OS attach volumes and dettach volumes Issue-ID: APPC-448 Change-Id: I348108a8fb49a42c79039975e8470442a0f80dd2 Signed-off-by: kusuma kumari M --- .../resources/json/APPC/APPC_DetachVolumeVM.json | 524 ++++++++++----------- .../src/main/resources/json/dg_activate.txt | 170 +++---- 2 files changed, 347 insertions(+), 347 deletions(-) (limited to 'appc-directed-graph/appc-dgraph/provider/src') diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DetachVolumeVM.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DetachVolumeVM.json index 0e6504779..32fe9c2e1 100644 --- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DetachVolumeVM.json +++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DetachVolumeVM.json @@ -1,262 +1,262 @@ -[ - { - "id": "eeae9def.4d566", - "type": "dgstart", - "name": "DGSTART", - "outputs": 1, - "x": 93, - "y": 92, - "z": "65f0ae97.bfd7e8", - "wires": [ - [ - "f51d1b93.7d168" - ] - ] - }, - { - "id": "f51d1b93.7d168", - "type": "service-logic", - "name": "APPC 4.0.0", - "module": "APPC", - "version": "4.0.0", - "comments": "", - "xml": "", - "outputs": 1, - "x": 250, - "y": 92, - "z": "65f0ae97.bfd7e8", - "wires": [ - [ - "10439b1c.b0fbc5" - ] - ] - }, - { - "id": "10439b1c.b0fbc5", - "type": "method", - "name": "DetachVolume", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 448, - "y": 94, - "z": "65f0ae97.bfd7e8", - "wires": [ - [ - "cf4fac38.3b932" - ] - ] - }, - { - "id": "6f1b4f51.cab76", - "type": "success", - "name": "success", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 815.9999694824219, - "y": 303.9999694824219, - "z": "65f0ae97.bfd7e8", - "wires": [ - [ - "f6364905.533518" - ] - ] - }, - { - "id": "eda3e619.a190e", - "type": "other", - "name": "other", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 824.9999694824219, - "y": 182.99996948242188, - "z": "65f0ae97.bfd7e8", - "wires": [ - [ - "b81aef23.ced6e8" - ] - ] - }, - { - "id": "361abfaa.ca34b8", - "type": "returnSuccess", - "name": "return success", - "xml": "", - "comments": "", - "x": 1371.9999694824219, - "y": 275.9999694824219, - "z": "65f0ae97.bfd7e8", - "wires": [] - }, - { - "id": "5b028b69.7d6af4", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\n", - "comments": "", - "x": 1132.9999694824219, - "y": 182.99996948242188, - "z": "65f0ae97.bfd7e8", - "wires": [] - }, - { - "id": "f6364905.533518", - "type": "switchNode", - "name": "switch error-code", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1008.9999694824219, - "y": 304.9999694824219, - "z": "65f0ae97.bfd7e8", - "wires": [ - [ - "567026e7.afed6", - "ee60ee08.fb232" - ] - ] - }, - { - "id": "567026e7.afed6", - "type": "success", - "name": "SUCCESS 200", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1190.9999694824219, - "y": 274.9999694824219, - "z": "65f0ae97.bfd7e8", - "wires": [ - [ - "361abfaa.ca34b8" - ] - ] - }, - { - "id": "ee60ee08.fb232", - "type": "outcome", - "name": "ERROR", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1182.9999694824219, - "y": 433.9999694824219, - "z": "65f0ae97.bfd7e8", - "wires": [ - [ - "285baaf0.7d06de" - ] - ] - }, - { - "id": "285baaf0.7d06de", - "type": "block", - "name": "block", - "xml": "\n", - "atomic": "false", - "comments": "", - "outputs": 1, - "x": 1315.9999694824219, - "y": 434.9999694824219, - "z": "65f0ae97.bfd7e8", - "wires": [ - [ - "44fe2b94.9c5d94", - "961f42bf.beb62" - ] - ] - }, - { - "id": "44fe2b94.9c5d94", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\n\n", - "comments": "", - "x": 1450.9999694824219, - "y": 476, - "z": "65f0ae97.bfd7e8", - "wires": [] - }, - { - "id": "b81aef23.ced6e8", - "type": "block", - "name": "block", - "xml": "\n", - "atomic": "false", - "comments": "", - "outputs": 1, - "x": 980.9999694824219, - "y": 182.99996948242188, - "z": "65f0ae97.bfd7e8", - "wires": [ - [ - "5b028b69.7d6af4" - ] - ] - }, - { - "id": "34472fd1.b14ab", - "type": "record", - "name": "record", - "xml": "\n\n\n\n\n\n\n\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 652.9999694824219, - "y": 238, - "z": "65f0ae97.bfd7e8", - "wires": [ - [ - "eda3e619.a190e", - "6f1b4f51.cab76" - ] - ] - } -] +[ + { + "id": "eeae9def.4d566", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 93, + "y": 92, + "z": "65f0ae97.bfd7e8", + "wires": [ + [ + "f51d1b93.7d168" + ] + ] + }, + { + "id": "f51d1b93.7d168", + "type": "service-logic", + "name": "APPC 4.0.0", + "module": "APPC", + "version": "4.0.0", + "comments": "", + "xml": "", + "outputs": 1, + "x": 250, + "y": 92, + "z": "65f0ae97.bfd7e8", + "wires": [ + [ + "10439b1c.b0fbc5" + ] + ] + }, + { + "id": "10439b1c.b0fbc5", + "type": "method", + "name": "DetachVolume", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 448, + "y": 94, + "z": "65f0ae97.bfd7e8", + "wires": [ + [ + "cf4fac38.3b932" + ] + ] + }, + { + "id": "6f1b4f51.cab76", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 815.9999694824219, + "y": 303.9999694824219, + "z": "65f0ae97.bfd7e8", + "wires": [ + [ + "f6364905.533518" + ] + ] + }, + { + "id": "eda3e619.a190e", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 824.9999694824219, + "y": 182.99996948242188, + "z": "65f0ae97.bfd7e8", + "wires": [ + [ + "b81aef23.ced6e8" + ] + ] + }, + { + "id": "361abfaa.ca34b8", + "type": "returnSuccess", + "name": "return success", + "xml": "", + "comments": "", + "x": 1371.9999694824219, + "y": 275.9999694824219, + "z": "65f0ae97.bfd7e8", + "wires": [] + }, + { + "id": "5b028b69.7d6af4", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n", + "comments": "", + "x": 1132.9999694824219, + "y": 182.99996948242188, + "z": "65f0ae97.bfd7e8", + "wires": [] + }, + { + "id": "f6364905.533518", + "type": "switchNode", + "name": "switch error-code", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1008.9999694824219, + "y": 304.9999694824219, + "z": "65f0ae97.bfd7e8", + "wires": [ + [ + "567026e7.afed6", + "ee60ee08.fb232" + ] + ] + }, + { + "id": "567026e7.afed6", + "type": "success", + "name": "SUCCESS 200", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1190.9999694824219, + "y": 274.9999694824219, + "z": "65f0ae97.bfd7e8", + "wires": [ + [ + "361abfaa.ca34b8" + ] + ] + }, + { + "id": "ee60ee08.fb232", + "type": "outcome", + "name": "ERROR", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1182.9999694824219, + "y": 433.9999694824219, + "z": "65f0ae97.bfd7e8", + "wires": [ + [ + "285baaf0.7d06de" + ] + ] + }, + { + "id": "285baaf0.7d06de", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1315.9999694824219, + "y": 434.9999694824219, + "z": "65f0ae97.bfd7e8", + "wires": [ + [ + "44fe2b94.9c5d94", + "961f42bf.beb62" + ] + ] + }, + { + "id": "44fe2b94.9c5d94", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1450.9999694824219, + "y": 476, + "z": "65f0ae97.bfd7e8", + "wires": [] + }, + { + "id": "b81aef23.ced6e8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 980.9999694824219, + "y": 182.99996948242188, + "z": "65f0ae97.bfd7e8", + "wires": [ + [ + "5b028b69.7d6af4" + ] + ] + }, + { + "id": "34472fd1.b14ab", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 652.9999694824219, + "y": 238, + "z": "65f0ae97.bfd7e8", + "wires": [ + [ + "eda3e619.a190e", + "6f1b4f51.cab76" + ] + ] + } +] diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/dg_activate.txt b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/dg_activate.txt index 4ebbfa0c0..76d66bc49 100644 --- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/dg_activate.txt +++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/dg_activate.txt @@ -1,86 +1,86 @@ -# MODULE NAME:RPC NAME:VERSION:MODE -# Example -> APPC:GetDeviceRunningConfiguration:3.0.0:sync -APPC:CheckConfigStatus:4.0.0:sync -APPC:CommonConfiguration:4.0.0:sync -APPC:Configure:4.0.0:sync -APPC:DownloadCliConfig:4.0.0:sync -APPC:DownloadIsbcConfig:4.0.0:sync -APPC:DownloadRestconfConfig:4.0.0:sync -APPC:DownloadSBGConfig:4.0.0:sync -APPC:DownloadvIRCChefConfig:4.0.0:sync -APPC:DownloadXmlConfig:4.0.0:sync -APPC:GenerateTemplateConfig:4.0.0:sync -APPC:GetConfigParams:4.0.0:sync -APPC:GetDeviceRunningConfig:4.0.0:sync -APPC:GenerateConfig:4.0.0:sync -APPC:SaveRunningConfig:4.0.0:sync -APPC:SetStatus:4.0.0:sync -APPC:UpdateAaiInfo:4.0.0:sync -APPC:GetAaiInfo:4.0.0:sync -APPC:GetVfModuleInfo:4.0.0:sync -APPC:ProcessParameterDefinition:4.0.0:sync -APPC:PublishConfiguration:4.0.0:sync -APPC:topology-operation-all:2.0.0:sync -SDC-MESSAGE:configuration-document-request:3.0.0:sync - -Appc-API:service-configuration-operation:4.0.0:sync -Appc-API:service-configuration-prepare:4.0.0:sync -Appc-API:service-configuration-activate:4.0.0:sync -Appc-API:service-configuration-backup:4.0.0:sync -Appc-API:service-configuration-notification:4.0.0:sync -Appc-API:audit-configuration-operation:4.0.0:sync -Appc-API:audit-configuration-notification:4.0.0:sync -Appc-API:update-aai:4.0.0:sync -Appc-API:update-aai-sbg:4.0.0:sync -Appc-API:update-vserver-info:4.0.0:sync -Appc-API:update-vnfc-info:4.0.0:sync - -Appc-API:Generic_Evacuate:2.0.0:sync - -# -APPC:GetRunningConfig:2.0.0:sync -APPC:Restart-Active-Active_VNFC:2.0.0:sync -APPC:Restart-Active-Passive_VNFC:2.0.0:sync -APPC:Check-Active_VNFC_vSCP:2.0.0:sync -APPC:HealthCheck_VNF_vSCP:2.0.0:sync -APPC:Restart_VNF:2.0.0:sync -APPC:Restart_VNFC:2.0.0:sync -APPC:Restart_VM:2.0.0:sync -APPC:Stop_VNFC:2.0.2:sync -APPC:Stop_VNF:2.0.2:sync -APPC:StopVM_VM:2.0.0:sync -APPC:Stop_VM:2.0.0:sync -APPC:StopApplication_VM_vSCP:2.0.0:sync -APPC:Generic_Sync:2.0.0:sync -APPC:Generic_Audit:2.0.0:sync -APPC:Start_VNF:2.0.0:sync -APPC:Start_VNFC:2.0.0:sync -APPC:Start_VM:2.0.0:sync -APPC:StartApplication_VM_vSCP:2.0.0:sync -APPC:RestartVM_VM:2.0.0:sync -APPC:Rebuild_VM:2.0.0:sync - -APPC:EvacuateVM:2.0.0:sync -APPC:RebuildVM:2.0.0:sync -APPC:CreateSnapShotVM:2.0.0:sync -APPC:MigrateVM:2.0.0:sync -APPC:RestartVMCommonFlow:2.0.0:sync -APPC:RestartVMVNFCommonFlow:2.0.0:sync - -APPC:setInputParams:4.0.0:sync -APPC:healthcheck:4.0.0:sync -APPC:chef:3.0.0:sync -APPC:ansible-adapter-1.0:2.0.1:sync -APPC:Generic_AnsibleDG:4.0.0:sync -APPC:GetTemplateConfig_Ansible:4.0.0:sync -APPC:GetTemplateConfig_Chef:4.0.0:sync -APPC:Generic_ChefDG:4.0.0:sync -APPC:loadTeamplate:4.0.0:sync -APPC:MergeTemplateData:4.0.0:sync -APPC:UpdateAaiforPayloadInput:4.0.0:sync -APPC:UpdateAaiforReferenceData:4.0.0:sync -APPC:DGOrchestrator:4.0.0:sync -APPC:VM_Start:2.0.0:sync -APPC:VM_Stop:2.0.0:sync -APPC:AttachVolumeVM:4.0.0:sync +# MODULE NAME:RPC NAME:VERSION:MODE +# Example -> APPC:GetDeviceRunningConfiguration:3.0.0:sync +APPC:CheckConfigStatus:4.0.0:sync +APPC:CommonConfiguration:4.0.0:sync +APPC:Configure:4.0.0:sync +APPC:DownloadCliConfig:4.0.0:sync +APPC:DownloadIsbcConfig:4.0.0:sync +APPC:DownloadRestconfConfig:4.0.0:sync +APPC:DownloadSBGConfig:4.0.0:sync +APPC:DownloadvIRCChefConfig:4.0.0:sync +APPC:DownloadXmlConfig:4.0.0:sync +APPC:GenerateTemplateConfig:4.0.0:sync +APPC:GetConfigParams:4.0.0:sync +APPC:GetDeviceRunningConfig:4.0.0:sync +APPC:GenerateConfig:4.0.0:sync +APPC:SaveRunningConfig:4.0.0:sync +APPC:SetStatus:4.0.0:sync +APPC:UpdateAaiInfo:4.0.0:sync +APPC:GetAaiInfo:4.0.0:sync +APPC:GetVfModuleInfo:4.0.0:sync +APPC:ProcessParameterDefinition:4.0.0:sync +APPC:PublishConfiguration:4.0.0:sync +APPC:topology-operation-all:2.0.0:sync +SDC-MESSAGE:configuration-document-request:3.0.0:sync + +Appc-API:service-configuration-operation:4.0.0:sync +Appc-API:service-configuration-prepare:4.0.0:sync +Appc-API:service-configuration-activate:4.0.0:sync +Appc-API:service-configuration-backup:4.0.0:sync +Appc-API:service-configuration-notification:4.0.0:sync +Appc-API:audit-configuration-operation:4.0.0:sync +Appc-API:audit-configuration-notification:4.0.0:sync +Appc-API:update-aai:4.0.0:sync +Appc-API:update-aai-sbg:4.0.0:sync +Appc-API:update-vserver-info:4.0.0:sync +Appc-API:update-vnfc-info:4.0.0:sync +Appc-API:legacy_operation:2.0.0.0:sync +Appc-API:Generic_Evacuate:2.0.0:sync + +# +APPC:GetRunningConfig:2.0.0:sync +APPC:Restart-Active-Active_VNFC:2.0.0:sync +APPC:Restart-Active-Passive_VNFC:2.0.0:sync +APPC:Check-Active_VNFC_vSCP:2.0.0:sync +APPC:HealthCheck_VNF_vSCP:2.0.0:sync +APPC:Restart_VNF:2.0.0:sync +APPC:Restart_VNFC:2.0.0:sync +APPC:Restart_VM:2.0.0:sync +APPC:Stop_VNFC:2.0.2:sync +APPC:Stop_VNF:2.0.2:sync +APPC:StopVM_VM:2.0.0:sync +APPC:Stop_VM:2.0.0:sync +APPC:StopApplication_VM_vSCP:2.0.0:sync +APPC:Generic_Sync:2.0.0:sync +APPC:Generic_Audit:2.0.0:sync +APPC:Start_VNF:2.0.0:sync +APPC:Start_VNFC:2.0.0:sync +APPC:Start_VM:2.0.0:sync +APPC:StartApplication_VM_vSCP:2.0.0:sync +APPC:RestartVM_VM:2.0.0:sync +APPC:Rebuild_VM:2.0.0:sync + +APPC:EvacuateVM:2.0.0:sync +APPC:RebuildVM:2.0.0:sync +APPC:CreateSnapShotVM:2.0.0:sync +APPC:MigrateVM:2.0.0:sync +APPC:RestartVMCommonFlow:2.0.0:sync +APPC:RestartVMVNFCommonFlow:2.0.0:sync + +APPC:setInputParams:4.0.0:sync +APPC:healthcheck:4.0.0:sync +APPC:chef:3.0.0:sync +APPC:ansible-adapter-1.0:2.0.1:sync +APPC:Generic_AnsibleDG:4.0.0:sync +APPC:GetTemplateConfig_Ansible:4.0.0:sync +APPC:GetTemplateConfig_Chef:4.0.0:sync +APPC:Generic_ChefDG:4.0.0:sync +APPC:loadTeamplate:4.0.0:sync +APPC:MergeTemplateData:4.0.0:sync +APPC:UpdateAaiforPayloadInput:4.0.0:sync +APPC:UpdateAaiforReferenceData:4.0.0:sync +APPC:DGOrchestrator:4.0.0:sync +APPC:VM_Start:2.0.0:sync +APPC:VM_Stop:2.0.0:sync +APPC:AttachVolumeVM:4.0.0:sync APPC:DetachVolumeVM:4.0.0:sync \ No newline at end of file -- cgit 1.2.3-korg