-
Notifications
You must be signed in to change notification settings - Fork 48
Cloud Driver Capability Info Guide
ByoungSeob Kim edited this page Mar 7, 2025
·
5 revisions
-
사용자는 Driver Capability 정보를 활용하여 현재 Connection의 Driver가 제공 가능한 자원 및 기능에 대한 지원 여부를 확인할 수 있다.
-
CB-Spider를 활용하는 코드 내에서 현재 Connection의 특정 자원 제공 여부를 조건으로 제공하지 않는 CSP에 대한 대응 처리가 가능하다.
-
사용자는 다음과 같은 CB-Spider REST API를 이용하여 Public Image 정보를 JSON 규격으로 제공 받는다.
GET /driver/capability - Get Driver Capability Information
-
제공 되는 JSON 결과에 포함된 정보는 다음과 같다.
속성 명칭 제공 정보 제공 값 예시 RegionZoneHandler Driver가 RegionZone 정보 목록을 제공하는 핸들러 제공 여부 true
orfalse
PriceInfoHandler Driver가 Price 정보 목록을 제공하는 핸들러 제공 여부 true
orfalse
ImageHandler Driver가 Image 정보 목록을 제공하는 핸들러 제공 여부 true
orfalse
VMSpecHandler Driver가 VM Spec 정보 목록을 제공하는 핸들러 제공 여부 true
orfalse
ZoneBasedControl Driver가 자원들의 Zone-based Control 기능 제공 여부 true
orfalse
VPCHandler
VPC_CIDR
SINGLE_VPC
EMULATED_VPCDriver가 VPC 제어를 제공하는 핸들러 제공 여부
Driver가 VPC의 CIDR 정보를 제공하는 지 여부
Driver가 단일 VPC를 제공하는 지 여부
Driver가 Classic CSP 호환성을 위한 VPC Emulation 여부true
orfalse
true
orfalse
true
orfalse
true
orfalse
SecurityHandler Driver가 Security Group 제어를 제공하는 핸들러 제공 여부 true
orfalse
KeyPairHandler Driver가 KeyPair 제어를 제공하는 핸들러 제공 여부 true
orfalse
VMHandler Driver가 VM 제어를 제공하는 핸들러 제공 여부 true
orfalse
DiskHandler Driver가 Disk 제어를 제공하는 핸들러 제공 여부 true
orfalse
MyImageHandler Driver가 MyImage 제어를 제공하는 핸들러 제공 여부 true
orfalse
NLBHandler Driver가 NLB 제어를 제공하는 핸들러 제공 여부 true
orfalse
ClusterHandler Driver가 Cluster 제어를 제공하는 핸들러 제공 여부 true
orfalse
TagHandler Driver가 Tag 제어를 제공하는 핸들러 제공 여부 true
orfalse
TagSupportResourceType Driver가 제공하는 Tag 자원 타입 목록 [“vpc”, “subnet”, “vm“]
- AWS
aws-config01
Connection에 설정된 Driver의 Capability 정보 호출 API 및 제공 정보 예시가 다음과 같다.curl -sX 'GET' 'http://localhost:1024/spider/driver/capability?ConnectionName=aws-config01' | json_pp
{ "RegionZoneHandler" : true, "PriceInfoHandler" : true, "ImageHandler" : true, "VMSpecHandler" : true, "ZoneBasedControl" : true, "VPCHandler" : true, "VPC_CIDR" : true, "SINGLE_VPC" : false, "EMULATED_VPC" : false, "SecurityHandler" : true, "KeyPairHandler" : true, "VMHandler" : true, "DiskHandler" : true, "MyImageHandler" : true, "NLBHandler" : true, "ClusterHandler" : true, "TagHandler" : true, "TagSupportResourceType" : [ "vpc", "subnet", "sg", "keypair", "vm", "nlb", "disk", "myimage", "cluster" ] }
-
Install & Start Guide
-
Features & Usage
-
- AdminWeb Tool Guide
- CLI Tool Guide
- REST API Guide
- NLI Guide
-
Design
-
Developer Guide
-
Cloud Driver Developer Guide
- Cloud Driver Developer Guide-WIP
- VM SSH Key Development Guide-WIP
- VM User Development Guide
- What is the CSP SDK API Version of drivers
- Region Zone Info and Driver API
- Price Info and Driver API
- (StartVM TerminateVM) API Call Counts and Waiting
- StartVM and TerminateVM Main Flow of drivers
- VM Root Disk Configuration Guide
- Security Group Rules and Driver API
- Network Load Balancer and Driver API
- VM Snapshot, MyImage and Disk Overview
- Kubernetes and Driver API(PMKS, K8S)
- Tag and Cloud Driver API
- AnyCall API Extension Guide
-
Test Reports
- v0.2.8-for-espresso-release
- v0.3.0-espresso-release
- Azure:Terminating VM
- cb-user@VM: ssh login, sudo run
- v0.3.14 test for SG Source
- v0.4.0-cafemocha-release
- Test via REST API Gateway
- Test Reports of v0.4.11 (IID2 initial Version)
- Test Reports of v0.4.12 (Register & Unregister existing Resources)
- Test Reports for v0.6.0 Release
- How to ...
- How to Use Alibaba ECS i1.* Instance Types
- How to provision GPU VMs
- How to Resolve the 'Failed to Connect to Database' Error
- How to test CB Spider with Mock Driver
- How to install CB Spider on WSL2 under 공유기/사설망
- How to install CB Spider on macOS
- How to run CB Spider Container on macOS
- How to install OpenStack on a VM for CB Spider Testing
- How to get Azure available Regions
- How to profile memory usage in Golang
- Deprecated:How to install protoc and plugins
- [For Cloud-Migrator]