Skip to content

Commit

Permalink
Merge pull request #1083 from innodreamer/master
Browse files Browse the repository at this point in the history
Update NCP VPC README - Add reference links for using VPC and Subnet (about available Private IP range)
  • Loading branch information
powerkimhub authored Feb 20, 2024
2 parents 081ae55 + a9babe9 commit b47b0a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ func (myImageHandler *KtCloudMyImageHandler) SnapshotVM(snapshotReqInfo irs.MyIm
start := call.Start()
imgResp, err := myImageHandler.Client.CreateTemplate(&imgReq)
if err != nil {
newErr := fmt.Errorf("Failed to Create New Disk Volume. [%v]", err.Error())
newErr := fmt.Errorf("Failed to Create New Image. [%v]", err.Error())
cblogger.Error(newErr.Error())
LoggingError(callLogInfo, newErr)
return irs.MyImageInfo{}, newErr
}
LoggingInfo(callLogInfo, start)

cblogger.Info("### Waiting for the Disk to be Created(600sec)!!\n")
cblogger.Info("### Waiting for the Image to be Created(600sec)!!\n")
waitErr := myImageHandler.Client.WaitForAsyncJob(imgResp.Createtemplateresponse.JobId, 600000000000)
if waitErr != nil {
cblogger.Errorf("Failed to Wait the Job : [%v]", waitErr)
Expand Down
7 changes: 5 additions & 2 deletions cloud-control-manager/cloud-driver/drivers/ncpvpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,18 @@ ssh -i /private_key_경로/private_key_파일명(~~.pem) cb-user@VM의_public_ip

<p><br>

#### # NHN Cloud driver 사용시 참고 및 주의 사항
#### # NCP VPC Cloud driver 사용시 참고 및 주의 사항
O NCP VPC 버전 driver이 지원하는 region 및 zone은 아래의 파일을 참고
```
./ncpvpc/ncpvpc/main/config/config.yaml.sample
./cb-spider/api-runtime/rest-runtime/test/connect-config/14.ncpvpc-conn-config.sh
```

​O NCP VPC driver를 이용해 VM 생성시 VPC, Subnet, Network Interface에 대해 다음 사항을 참고
- VPC의 private IP address 범위는, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 대역 내에서 /16~/28 범위여야함.
- VPC의 private IP address 범위는, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 대역 내에서, 실제 생성시 /16~/28 범위여야함.
- 참고 : NCP의 VPC/Subnet 가용 범위
- https://guide.ncloud-docs.com/docs/vpc-spec-vpc
- https://guide.ncloud-docs.com/docs/vpc-glossary-vpc
- Subnet의 private IP address 범위는, VPC의 private address 범위 이하로만 지정이 가능하며, 생성 이후에는 Network ACL만 변경이 가능함.
- 본 driver에서 VM의 Network Interface는 VPC 생성시 자동으로 생성되는 Default Network Interface를 사용하도록 개발되어있음.

Expand Down

0 comments on commit b47b0a9

Please sign in to comment.