Comments (2)
@jazmandorf @jihoon-seo
기존에 MCIS 리스트 조회 기능의 경우,
CSP로의 API CALL이 많아질 수 있는 상황과 응답 속도 저하를 고려하여,
MCIS들 및 소속된 VM들의 상태를 조회하지 않고 리턴하고 있었습니다.
이슈 대응 차원에서 아래와 같이 조치하였습니다.
두 가지 방식 중에 필요에 따라 선택하여 사용하시기 바랍니다.
- 기존 MCIS List 조회 기능 (상태 정보를 비워서 리턴)
- 현재 상태를 포함하는 MCIS List 조회 옵션 추가
- 반영 브랜치: 최신 master (commit: 336eb14) 또는 Tag: v0.1.6
- API 문서 : 반영 완료
- [Publish] Namespace management API
https://documenter.getpostman.com/view/6451118/SzmfXGk9?version=latest
[Publish] MCIR management API - https://documenter.getpostman.com/view/6451118/SzmfXGkB?version=latest
- [Publish] MCIS management API
https://documenter.getpostman.com/view/6451118/SzmfXGkD?version=latest
- [Publish] Namespace management API
[상세 정보]
- 기존 MCIS List 조회 기능
- MCIS와 VM의 Status는 "" empty string으로 회신
API CALL: {{tb_ip}}:{{tb_port}}{{tb_prefix}}/ns/{{ns_id}}/mcis
REPONSE:
{
"mcis": [
{
"id": "MCIS-aws-shson",
"name": "MCIS-aws-shson",
"status": "",
"placement_algo": "",
"description": "Tumblebug Demo",
"vm": [
{
"id": "vm-aws-shson-01",
"name": "vm-aws-shson-01",
"config_name": "aws-us-east-1-config",
"region": {
"Region": "us-east-1",
"Zone": "us-east-1d"
},
"publicIP": "3.90.103.21",
"publicDNS": "",
"status": ""
},
{
"id": "vm-aws-shson-02",
"name": "vm-aws-shson-02",
"config_name": "aws-us-east-1-config",
"region": {
"Region": "us-east-1",
"Zone": "us-east-1d"
},
"publicIP": "54.175.56.22",
"publicDNS": "",
"status": ""
},
{
"id": "vm-aws-shson-03",
"name": "vm-aws-shson-03",
"config_name": "aws-us-east-1-config",
"region": {
"Region": "us-east-1",
"Zone": "us-east-1d"
},
"publicIP": "54.144.67.40",
"publicDNS": "",
"status": ""
}
]
}
]
}
- 현재 상태를 포함하는 MCIS List 조회 옵션
- 기존 MCIS 조회 Path에 QueryParam 추가 (?option=status)
- MCIS와 VM의 Status를 최신 상태 정보로 회신
API CALL: {{tb_ip}}:{{tb_port}}{{tb_prefix}}/ns/{{ns_id}}/mcis?option=status
REPONSE:
{
"mcis": [
{
"id": "MCIS-aws-shson",
"name": "MCIS-aws-shson",
"status": "Running",
"placement_algo": "",
"description": "Tumblebug Demo",
"vm": [
{
"id": "vm-aws-shson-01",
"name": "vm-aws-shson-01",
"config_name": "aws-us-east-1-config",
"region": {
"Region": "us-east-1",
"Zone": "us-east-1d"
},
"publicIP": "3.90.103.21",
"publicDNS": "",
"status": "Running"
},
{
"id": "vm-aws-shson-02",
"name": "vm-aws-shson-02",
"config_name": "aws-us-east-1-config",
"region": {
"Region": "us-east-1",
"Zone": "us-east-1d"
},
"publicIP": "54.175.56.22",
"publicDNS": "",
"status": "Running"
},
{
"id": "vm-aws-shson-03",
"name": "vm-aws-shson-03",
"config_name": "aws-us-east-1-config",
"region": {
"Region": "us-east-1",
"Zone": "us-east-1d"
},
"publicIP": "54.144.67.40",
"publicDNS": "",
"status": "Running"
}
]
}
]
}
from cb-tumblebug.
넵 감사합니다.
from cb-tumblebug.
Related Issues (20)
- Need to compensate for failed data disk list lookup HOT 1
- Error message format is not correct at timeout HOT 2
- Terminated VM state handling needs to be supplemented HOT 1
- Replace deprecated `set-output` command with environment file
- Check and incorporate OpenAPI 3.1 from new swaggo release
- Provisioning Global L4 NLB faces runtime error HOT 1
- When using test scripts for MS Azure, is there a test script for creating a ResourceGroup? HOT 1
- Is it valid that scripts that creating vNet/securityGroup/sshKey/... for all csp regions?
- [testscripts] Need a bigger vNet's IP address range for K8s cluster in `create-vNet.sh` HOT 1
- [testclient/scripts] Need a bigger vNet's IP address range for K8s cluster in `create-vNet.sh` HOT 4
- Need `netutil` package for network configuration
- [testclient/scripts/sequentialFullTest] Call register-cloud.sh and unregister-cloud.sh HOT 1
- Incorrect response from CB-Spider for Disk detach request HOT 1
- Echo v4.11.4 version update and test
- Support Built-in functions in parameters of a request body
- OpenTofu TF PoC integration HOT 5
- A question about error code HOT 2
- [NCP Classic] When manages S/G, need to apply the name user generated in the console as it is. HOT 2
- [KT Cloud VPC] To use NLB, needs to support the subnet management features with a fixed name.
- Watch Swagger API dashboard performance issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cb-tumblebug.