From bfc501d1ea8d8f5b31b372a5ffc17e415adbd4dc Mon Sep 17 00:00:00 2001 From: mxzhao <mengxuan.zhao@eglobalmark.com> Date: Mon, 5 Nov 2018 17:10:39 +0100 Subject: [PATCH] SOL 003 VNF LCM MGNT request body --- .../changeExtVnfConnectivityRequest.json | 65 ++++++++++++++++ .../jsons/changeVnfFlavourRequest.json | 3 + .../jsons/healVnfRequest.json | 4 + .../jsons/instantiateVnfRequest.json | 77 +++++++++++++++++++ .../jsons/operateVnfRequest.json | 5 ++ .../jsons/patchBodyRequest.json | 4 + .../jsons/scaleVnfRequest.json | 4 + .../jsons/scaleVnfToLevelRequest.json | 3 + .../jsons/terminateVnfRequest.json | 4 + 9 files changed, 169 insertions(+) create mode 100644 SOL003/VNFLifecycleManagement-API_egm/jsons/changeExtVnfConnectivityRequest.json create mode 100644 SOL003/VNFLifecycleManagement-API_egm/jsons/changeVnfFlavourRequest.json create mode 100644 SOL003/VNFLifecycleManagement-API_egm/jsons/healVnfRequest.json create mode 100644 SOL003/VNFLifecycleManagement-API_egm/jsons/instantiateVnfRequest.json create mode 100644 SOL003/VNFLifecycleManagement-API_egm/jsons/operateVnfRequest.json create mode 100644 SOL003/VNFLifecycleManagement-API_egm/jsons/patchBodyRequest.json create mode 100644 SOL003/VNFLifecycleManagement-API_egm/jsons/scaleVnfRequest.json create mode 100644 SOL003/VNFLifecycleManagement-API_egm/jsons/scaleVnfToLevelRequest.json create mode 100644 SOL003/VNFLifecycleManagement-API_egm/jsons/terminateVnfRequest.json diff --git a/SOL003/VNFLifecycleManagement-API_egm/jsons/changeExtVnfConnectivityRequest.json b/SOL003/VNFLifecycleManagement-API_egm/jsons/changeExtVnfConnectivityRequest.json new file mode 100644 index 00000000..b53584ee --- /dev/null +++ b/SOL003/VNFLifecycleManagement-API_egm/jsons/changeExtVnfConnectivityRequest.json @@ -0,0 +1,65 @@ +{ + "extVirtualLinks": [ + { + "id": "string", + "vimConnectionId": "string", + "resourceProviderId": "string", + "resourceId": "string", + "extCps": [ + { + "cpdId": "string", + "cpConfig": [ + { + "cpInstanceId": "string", + "linkPortId": "string", + "cpProtocolData": [ + { + "layerProtocol": "IP_OVER_ETHERNET", + "ipOverEthernet": { + "macAddress": "string", + "ipAddresses": [ + { + "type": "IPV4", + "fixedAddresses": [ + "string" + ], + "numDynamicAddresses": 0, + "addressRange": { + "minAddress": "string", + "maxAddress": "string" + }, + "subnetId": "string" + } + ] + } + } + ] + } + ] + } + ], + "extLinkPorts": [ + { + "id": "string", + "resourceHandle": { + "vimConnectionId": "string", + "resourceProviderId": "string", + "resourceId": "string", + "vimLevelResourceType": "string" + } + } + ] + } + ], + "vimConnectionInfo": [ + { + "id": "string", + "vimId": "string", + "vimType": "string", + "interfaceInfo": {}, + "accessInfo": {}, + "extra": {} + } + ], + "additionalParams": {} +} \ No newline at end of file diff --git a/SOL003/VNFLifecycleManagement-API_egm/jsons/changeVnfFlavourRequest.json b/SOL003/VNFLifecycleManagement-API_egm/jsons/changeVnfFlavourRequest.json new file mode 100644 index 00000000..5b52927e --- /dev/null +++ b/SOL003/VNFLifecycleManagement-API_egm/jsons/changeVnfFlavourRequest.json @@ -0,0 +1,3 @@ +{ + "newFlavourId": "myFlavour_new" +} \ No newline at end of file diff --git a/SOL003/VNFLifecycleManagement-API_egm/jsons/healVnfRequest.json b/SOL003/VNFLifecycleManagement-API_egm/jsons/healVnfRequest.json new file mode 100644 index 00000000..8981fa94 --- /dev/null +++ b/SOL003/VNFLifecycleManagement-API_egm/jsons/healVnfRequest.json @@ -0,0 +1,4 @@ +{ + "cause": "a specific cause", + "additionalParams": {} +} \ No newline at end of file diff --git a/SOL003/VNFLifecycleManagement-API_egm/jsons/instantiateVnfRequest.json b/SOL003/VNFLifecycleManagement-API_egm/jsons/instantiateVnfRequest.json new file mode 100644 index 00000000..3c9f8437 --- /dev/null +++ b/SOL003/VNFLifecycleManagement-API_egm/jsons/instantiateVnfRequest.json @@ -0,0 +1,77 @@ +{ + "flavourId": "myFlavour", + "instantiationLevelId": "string", + "extVirtualLinks": [ + { + "id": "string", + "vimConnectionId": "string", + "resourceProviderId": "string", + "resourceId": "string", + "extCps": [ + { + "cpdId": "string", + "cpConfig": [ + { + "cpInstanceId": "string", + "linkPortId": "string", + "cpProtocolData": [ + { + "layerProtocol": "IP_OVER_ETHERNET", + "ipOverEthernet": { + "macAddress": "string", + "ipAddresses": [ + { + "type": "IPV4", + "fixedAddresses": [ + "string" + ], + "numDynamicAddresses": 0, + "addressRange": { + "minAddress": "string", + "maxAddress": "string" + }, + "subnetId": "string" + } + ] + } + } + ] + } + ] + } + ], + "extLinkPorts": [ + { + "id": "string", + "resourceHandle": { + "vimConnectionId": "string", + "resourceProviderId": "string", + "resourceId": "string", + "vimLevelResourceType": "string" + } + } + ] + } + ], + "extManagedVirtualLinks": [ + { + "id": "string", + "virtualLinkDescId": "string", + "vimConnectionId": "string", + "resourceProviderId": "string", + "resourceId": "string" + } + ], + "vimConnectionInfo": [ + { + "id": "string", + "vimId": "string", + "vimType": "string", + "interfaceInfo": {}, + "accessInfo": {}, + "extra": {} + } + ], + "localizationLanguage": "English", + "additionalParams": {} +} \ No newline at end of file diff --git a/SOL003/VNFLifecycleManagement-API_egm/jsons/operateVnfRequest.json b/SOL003/VNFLifecycleManagement-API_egm/jsons/operateVnfRequest.json new file mode 100644 index 00000000..92dc07fa --- /dev/null +++ b/SOL003/VNFLifecycleManagement-API_egm/jsons/operateVnfRequest.json @@ -0,0 +1,5 @@ +{ + "changeStateTo": "STOPPED", + "stopType": "FORCEFUL" + "additionalParams": {} +} \ No newline at end of file diff --git a/SOL003/VNFLifecycleManagement-API_egm/jsons/patchBodyRequest.json b/SOL003/VNFLifecycleManagement-API_egm/jsons/patchBodyRequest.json new file mode 100644 index 00000000..0c8845c2 --- /dev/null +++ b/SOL003/VNFLifecycleManagement-API_egm/jsons/patchBodyRequest.json @@ -0,0 +1,4 @@ +{ + "vnfInstanceName": "vnf new name", + "vnfInstanceDescription": "new description" +} \ No newline at end of file diff --git a/SOL003/VNFLifecycleManagement-API_egm/jsons/scaleVnfRequest.json b/SOL003/VNFLifecycleManagement-API_egm/jsons/scaleVnfRequest.json new file mode 100644 index 00000000..09dc7dff --- /dev/null +++ b/SOL003/VNFLifecycleManagement-API_egm/jsons/scaleVnfRequest.json @@ -0,0 +1,4 @@ +{ + "type": "SCALE_OUT", + "aspectId": "myAspect" +} \ No newline at end of file diff --git a/SOL003/VNFLifecycleManagement-API_egm/jsons/scaleVnfToLevelRequest.json b/SOL003/VNFLifecycleManagement-API_egm/jsons/scaleVnfToLevelRequest.json new file mode 100644 index 00000000..1c39a7bb --- /dev/null +++ b/SOL003/VNFLifecycleManagement-API_egm/jsons/scaleVnfToLevelRequest.json @@ -0,0 +1,3 @@ +{ + "instantiationLevelId": "myNextLevel" +} \ No newline at end of file diff --git a/SOL003/VNFLifecycleManagement-API_egm/jsons/terminateVnfRequest.json b/SOL003/VNFLifecycleManagement-API_egm/jsons/terminateVnfRequest.json new file mode 100644 index 00000000..0a4f9592 --- /dev/null +++ b/SOL003/VNFLifecycleManagement-API_egm/jsons/terminateVnfRequest.json @@ -0,0 +1,4 @@ +{ + "terminationType": "GRACEFUL", + "additionalParams": {} +} \ No newline at end of file -- GitLab