CB-Tumblebug v0.9.11
Pre-releaseSupport and Tested with
API
What's Changed
- Rename spec and image relatd fields by @seokho-son in #1805
- Update Kubernetes dev status for each CSP in README.md by @seokho-son in #1807
- [k8scluster] move CB-SP's returns to cspviewk8sxxx and revert ImageId by @sykim-etri in #1809
- [Workflow] Update Swagger REST API doc by @cb-github-robot in #1810
- Update cloud region zone info and the helper tool by @seokho-son in #1811
- Staging v0.9.11 by @seokho-son in #1812
Full Changelog: v0.9.10...v0.9.11
API Diff (v0.9.10 to v0.9.11)
What's New
What's Deprecated
What's Changed
POST
/lookupImage Lookup image
Parameters
Insert lookupImageReq.cspImageName
lookupImageReq Notes Specify connectionName & cspResourceId change into Specify connectionName, cspImageName
Delete lookupImageReq.cspResourceId
POST
/lookupSpec Lookup spec
Parameters
lookupSpecReq Notes Specify connectionName & cspResourceId change into Specify connectionName & cspSpecNameS
POST
/mciDynamicCheckRequest Check available ConnectionConfig list for creating MCI Dynamically
Return Type
Insert reqCheck.image.cspImageName //CspImageName is name of the image given by CSP
Insert reqCheck.spec.cspSpecName //CspSpecName is name of the spec given by CSP
Delete reqCheck.image.cspResourceId //CspResourceId is resource identifier managed by CSP
Delete reqCheck.image.cspResourceName //CspResourceName is name assigned to the CSP resource. This name is internally used to handle the resource.
Delete reqCheck.spec.cspResourceId //CspResourceId is resource identifier managed by CSP
Delete reqCheck.spec.cspResourceName //CspResourceName is name assigned to the CSP resource. This name is internally used to handle the resource.
Modify reqCheck.spec.infraType //vm|k8s|kubernetes|container, etc.
POST
/mciRecommendVm Recommend MCI plan (filter and priority)
Return Type
Insert cspSpecName //CspSpecName is name of the spec given by CSP
Delete cspResourceId //CspResourceId is resource identifier managed by CSP
Delete cspResourceName //CspResourceName is name assigned to the CSP resource. This name is internally used to handle the resource.
Modify infraType //vm|k8s|kubernetes|container, etc.
POST
/ns/{nsId}/k8scluster Create K8sCluster
Parameters
Modify k8sClusterReq.k8sNodeGroupList.specId
Return Type
Insert cspViewK8sClusterDetail
Delete accessInfo
Delete addons
Delete createdTime
Delete k8sNodeGroupList
Delete keyValueList
Delete network
Delete version //Kubernetes Version, ex) 1.23.3
GET
/ns/{nsId}/k8scluster/{k8sClusterId} Get K8sCluster
Return Type
Insert cspViewK8sClusterDetail
Delete accessInfo
Delete addons
Delete createdTime
Delete k8sNodeGroupList
Delete keyValueList
Delete network
Delete version //Kubernetes Version, ex) 1.23.3
POST
/ns/{nsId}/k8scluster/{k8sClusterId}/k8snodegroup Add a K8sNodeGroup
Parameters
Modify k8sNodeGroupReq.specId
Return Type
Insert cspViewK8sClusterDetail
Delete accessInfo
Delete addons
Delete createdTime
Delete k8sNodeGroupList
Delete keyValueList
Delete network
Delete version //Kubernetes Version, ex) 1.23.3
PUT
/ns/{nsId}/k8scluster/{k8sClusterId}/k8snodegroup/{k8sNodeGroupName}/autoscalesize Change a K8sNodeGroup's Autoscale Size
Return Type
Insert cspViewK8sNodeGroupDetail
Delete desiredNodeSize
Delete imageId //VM config.
Delete k8sNodes //id for nodes
Delete keyValueList
Delete maxNodeSize
Delete minNodeSize
Delete onAutoScaling //Scaling config.
Delete rootDiskSize
Delete rootDiskType
Delete specId
Delete sshKeyId
POST
/ns/{nsId}/mci Create MCI
Return Type
Insert vm.cspImageName
Insert vm.cspSpecName
Delete vm.cspImageId
Delete vm.cspSpecId
POST
/ns/{nsId}/mci/{mciId}/mcSwNlb Create a special purpose MCI for NLB and depoly and setting SW NLB
Return Type
Insert mcNlbHostInfo.vm.cspImageName
Insert mcNlbHostInfo.vm.cspSpecName
Delete mcNlbHostInfo.vm.cspImageId
Delete mcNlbHostInfo.vm.cspSpecId
POST
/ns/{nsId}/mci/{mciId}/subgroup/{subgroupId} ScaleOut subGroup in specified MCI
Return Type
Insert vm.cspImageName
Insert vm.cspSpecName
Delete vm.cspImageId
Delete vm.cspSpecId
POST
/ns/{nsId}/mci/{mciId}/vm Create and add homogeneous VMs(subGroup) to a specified MCI (Set subGroupSize for multiple VMs)
Return Type
Insert vm.cspImageName
Insert vm.cspSpecName
Delete vm.cspImageId
Delete vm.cspSpecId
POST
/ns/{nsId}/mci/{mciId}/vm/{vmId}/dataDisk Provisioning (Create and attach) dataDisk
Return Type
Insert cspImageName
Insert cspSpecName
Delete cspImageId
Delete cspSpecId
PUT
/ns/{nsId}/mci/{mciId}/vm/{vmId}/dataDisk Attach/Detach available dataDisk
Return Type
Insert cspImageName
Insert cspSpecName
Delete cspImageId
Delete cspSpecId
POST
/ns/{nsId}/mci/{mciId}/vmDynamic Create VM Dynamically and add it to MCI
Return Type
Insert vm.cspImageName
Insert vm.cspSpecName
Delete vm.cspImageId
Delete vm.cspSpecId
POST
/ns/{nsId}/mciDynamic Create MCI Dynamically
Return Type
Insert vm.cspImageName
Insert vm.cspSpecName
Delete vm.cspImageId
Delete vm.cspSpecId
PUT
/ns/{nsId}/monitoring/status/mci/{mciId}/vm/{vmId} Set monitoring agent (CB-Dragonfly agent) installation status installed (for Windows VM only)
Return Type
Insert cspImageName
Insert cspSpecName
Delete cspImageId
Delete cspSpecId
POST
/ns/{nsId}/registerCspResource/vNet/{vNetId}/subnet Register Subnet (created in CSP)
Return Type
Insert cspVNetName //CspVNetName is identifier to handle CSP vNet resource
Delete cspVNetHandlingId //CspVNetHandlingId is identifier to handle CSP vNet resource
POST
/ns/{nsId}/registerCspVm Register existing VM in a CSP to Cloud-Barista MCI
Return Type
Insert vm.cspImageName
Insert vm.cspSpecName
Delete vm.cspImageId
Delete vm.cspSpecId
POST
/ns/{nsId}/resources/fetchImages Fetch images
Parameters
Modify nsId //Namespace ID
POST
/ns/{nsId}/resources/filterSpecsByRange Filter specs by range
Parameters
Insert specRangeFilter.cspSpecName
Delete specRangeFilter.cspResourceId
Return Type
Insert spec.cspSpecName //CspSpecName is name of the spec given by CSP
Delete spec.cspResourceId //CspResourceId is resource identifier managed by CSP
Delete spec.cspResourceName //CspResourceName is name assigned to the CSP resource. This name is internally used to handle the resource.
Modify spec.infraType //vm|k8s|kubernetes|container, etc.
GET
/ns/{nsId}/resources/image List all images or images' ID
Parameters
Modify nsId //Namespace ID
DELETE
/ns/{nsId}/resources/image Delete all images
Parameters
Modify nsId //Namespace ID
POST
/ns/{nsId}/resources/image Register image
Parameters
Add imageReq //Specify (name, connectionName, cspImageName) to register an image object automatically
Insert imageInfo.cspImageName //CspImageName is name of the image given by CSP
Delete imageInfo.cspResourceId //CspResourceId is resource identifier managed by CSP
Delete imageInfo.cspResourceName //CspResourceName is name assigned to the CSP resource. This name is internally used to handle the resource.
Delete imageId //Specify name, connectionName and cspResourceId to register an image object automatically
Return Type
Insert cspImageName //CspImageName is name of the image given by CSP
Delete cspResourceId //CspResourceId is resource identifier managed by CSP
Delete cspResourceName //CspResourceName is name assigned to the CSP resource. This name is internally used to handle the resource.
GET
/ns/{nsId}/resources/image/{imageId} Get image
Parameters
imageId Notes Image ID ({providerName}+{regionName}+{imageName}) change into Image ID ({providerName}+{regionName}+{cspImageName})
Modify nsId //Namespace ID
Modify imageId //Image ID ({providerName}+{regionName}+{cspImageName})
Return Type
Insert cspImageName //CspImageName is name of the image given by CSP
Delete cspResourceId //CspResourceId is resource identifier managed by CSP
Delete cspResourceName //CspResourceName is name assigned to the CSP resource. This name is internally used to handle the resource.
DELETE
/ns/{nsId}/resources/image/{imageId} Delete image
Parameters
imageId Notes Image ID ({providerName}+{regionName}+{imageName}) change into Image ID ({providerName}+{regionName}+{cspImageName})
Modify nsId //Namespace ID
Modify imageId //Image ID ({providerName}+{regionName}+{cspImageName})
PUT
/ns/{nsId}/resources/image/{imageId} Update image
Parameters
Insert imageInfo.cspImageName //CspImageName is name of the image given by CSP
imageId Notes Image ID ({providerName}+{regionName}+{imageName}) change into Image ID ({providerName}+{regionName}+{cspImageName})
Modify nsId //Namespace ID
Modify imageId //Image ID ({providerName}+{regionName}+{cspImageName})
Delete imageInfo.cspResourceId //CspResourceId is resource identifier managed by CSP
Delete imageInfo.cspResourceName //CspResourceName is name assigned to the CSP resource. This name is internally used to handle the resource.
Return Type
Insert cspImageName //CspImageName is name of the image given by CSP
Delete cspResourceId //CspResourceId is resource identifier managed by CSP
Delete cspResourceName //CspResourceName is name assigned to the CSP resource. This name is internally used to handle the resource.
POST
/ns/{nsId}/resources/searchImage Search image
Parameters
Modify nsId //Namespace ID
Return Type
Insert image.cspImageName //CspImageName is name of the image given by CSP
Delete image.cspResourceId //CspResourceId is resource identifier managed by CSP
Delete image.cspResourceName //CspResourceName is name assigned to the CSP resource. This name is internally used to handle the resource.
POST
/ns/{nsId}/resources/spec Register spec
Parameters
Add specReq //Specify n(ame, connectionName, cspSpecName) to register a spec object automatically
Insert specInfo.cspSpecName //CspSpecName is name of the spec given by CSP
Delete specInfo.cspResourceId //CspResourceId is resource identifier managed by CSP
Delete specInfo.cspResourceName //CspResourceName is name assigned to the CSP resource. This name is internally used to handle the resource.
Modify specInfo.infraType //vm|k8s|kubernetes|container, etc.
Delete specName //Specify name, connectionName and cspResourceId to register a spec object automatically
Return Type
Insert cspSpecName //CspSpecName is name of the spec given by CSP
Delete cspResourceId //CspResourceId is resource identifier managed by CSP
Delete cspResourceName //CspResourceName is name assigned to the CSP resource. This name is internally used to handle the resource.
Modify infraType //vm|k8s|kubernetes|container, etc.
GET
/ns/{nsId}/resources/spec/{specId} Get spec
Parameters
specId Notes Spec ID ({providerName}+{regionName}+{specName}) change into Spec ID ({providerName}+{regionName}+{cspSpecName})
Modify specId //Spec ID ({providerName}+{regionName}+{cspSpecName})
Return Type
Insert cspSpecName //CspSpecName is name of the spec given by CSP
Delete cspResourceId //CspResourceId is resource identifier managed by CSP
Delete cspResourceName //CspResourceName is name assigned to the CSP resource. This name is internally used to handle the resource.
Modify infraType //vm|k8s|kubernetes|container, etc.
DELETE
/ns/{nsId}/resources/spec/{specId} Delete spec
Parameters
specId Notes Spec ID ({providerName}+{regionName}+{specName}) change into Spec ID ({providerName}+{regionName}+{cspSpecName})
Modify specId //Spec ID ({providerName}+{regionName}+{cspSpecName})
PUT
/ns/{nsId}/resources/spec/{specId} Update spec
Parameters
Insert specInfo.cspSpecName //CspSpecName is name of the spec given by CSP
specId Notes Spec ID ({providerName}+{regionName}+{specName}) change into Spec ID ({providerName}+{regionName}+{cspSpecName})
Modify specId //Spec ID ({providerName}+{regionName}+{cspSpecName})
Delete specInfo.cspResourceId //CspResourceId is resource identifier managed by CSP
Delete specInfo.cspResourceName //CspResourceName is name assigned to the CSP resource. This name is internally used to handle the resource.
Modify specInfo.infraType //vm|k8s|kubernetes|container, etc.
Return Type
Insert cspSpecName //CspSpecName is name of the spec given by CSP
Delete cspResourceId //CspResourceId is resource identifier managed by CSP
Delete cspResourceName //CspResourceName is name assigned to the CSP resource. This name is internally used to handle the resource.
Modify infraType //vm|k8s|kubernetes|container, etc.
GET
/ns/{nsId}/resources/vNet/{vNetId} Get VNet
Return Type
Insert subnetInfoList.cspVNetName //CspVNetName is identifier to handle CSP vNet resource
Delete subnetInfoList.cspVNetHandlingId //CspVNetHandlingId is identifier to handle CSP vNet resource
GET
/ns/{nsId}/resources/vNet/{vNetId}/subnet List all subnets (metadata)
Return Type
Insert subnetInfoList.cspVNetName //CspVNetName is identifier to handle CSP vNet resource
Delete subnetInfoList.cspVNetHandlingId //CspVNetHandlingId is identifier to handle CSP vNet resource
POST
/ns/{nsId}/resources/vNet/{vNetId}/subnet Create Subnet
Return Type
Insert cspVNetName //CspVNetName is identifier to handle CSP vNet resource
Delete cspVNetHandlingId //CspVNetHandlingId is identifier to handle CSP vNet resource
GET
/ns/{nsId}/resources/vNet/{vNetId}/subnet/{subnetId} Get Subnet (metadata)
Return Type
Insert cspVNetName //CspVNetName is identifier to handle CSP vNet resource
Delete cspVNetHandlingId //CspVNetHandlingId is identifier to handle CSP vNet resource
POST
/systemMci Create System MCI Dynamically for Special Purpose in NS:system
Return Type
Insert vm.cspImageName
Insert vm.cspSpecName
Delete vm.cspImageId
Delete vm.cspSpecId