Region Zone Driver API
ByoungSeob Kim edited this page Dec 13, 2023
·
3 revisions
- CB-Spider Region/Zone Specification V0.5
- V0.5 : 실시간 목록 제공, 추후 필요시 캐싱 보완
- CB-Spider는 연동 대상 클라우드(CSP)가 제공하는 Region/Zone 목록을 동일 인터페이스로 제공한다.
- CSP별 Region/Zone 제공 현황 분석 및 제공 정보 예시
- Region/Zone 추상화/규격 정의, Driver 개발 가이드
- CSP별 Region/Zone 정보 제공 특이사항
-
Source Tree
$tree cb-spider/cloud-control-manager/cloud-driver/interfaces/ cb-spider/cloud-control-manager/cloud-driver/interfaces/ |-- CloudDriver.go |-- README.md |-- connect | `-- CloudConnect.go `-- resources |-- AnyCallHandler.go |-- ClusterHandler.go |-- DiskHandler.go |-- IId.go |-- ImageHandler.go |-- KeyPairHandler.go |-- KeyValue.go |-- MyImageHandler.go |-- NLBHandler.go |-- RegionZoneHandler.go <================= Region/Zone Driver API |-- SecurityHandler.go |-- VMHandler.go |-- VMSpecHandler.go `-- VPCHandler.go
-
Driver API Spec (latest)
package resources // -------- Const type ZoneStatus string const ( ZoneAvailable ZoneStatus = "Available" ZoneUnavailable ZoneStatus = "Unavailable" NotSupported ZoneStatus = "StatusNotSupported" ) type RegionZoneInfo struct { Name string DisplayName string ZoneList []ZoneInfo KeyValueList []KeyValue } type ZoneInfo struct { Name string DisplayName string Status ZoneStatus // Available | Unavailable | NotSupported KeyValueList []KeyValue } type RegionZoneHandler interface { ListRegionZone() ([]*RegionZoneInfo, error) GetRegionZone(Name string) (RegionZoneInfo, error) ListOrgRegion() (string, error) // return string: json format ListOrgZone() (string, error) // return string: json format
-
Install & Start Guide
-
Features & Usage
-
- AdminWeb Tool Guide
- CLI Tool Guide
- REST API 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 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)
- 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 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
- Deprecated:Spider Start time is too long, How to?
- Deprecated:How to use etcd as Spider meta info
- [For Cloud-Migrator]