Skip to content

Commit

Permalink
Update KT Cloud Driver Test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
innodreamer committed Feb 2, 2024
1 parent a0b3fdd commit d5d6480
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ func handleDisk() {
return
}
diskHandler := resourceHandler.(irs.DiskHandler)
//config := readConfigFile()

for {
fmt.Println("\n============================================================================================")
Expand All @@ -59,19 +58,20 @@ func handleDisk() {
fmt.Println("============================================================================================")

var commandNum int
config := readConfigFile()

diskIId := irs.IID{
NameId: "...",
SystemId: "5fb57e6c-a8ed-4e66-8549-f9d804e72f95",
SystemId: config.KtCloud.DiskID,
}

createReqInfo := irs.DiskInfo{
IId: irs.IID{
NameId: "kt-disk-1",
},
// DiskType: "default",
// DiskType: "HDD",
DiskType: "SSD",
DiskType: "HDD",
// DiskType: "SSD",
// DiskSize: "default",
DiskSize: "100",
}
Expand Down Expand Up @@ -234,8 +234,8 @@ type Config struct {

SubnetID string `yaml:"subnet_id"`
SecurityGroupID string `yaml:"security_group_id"`

PublicIP string `yaml:"public_ip"`
PublicIP string `yaml:"public_ip"`
DiskID string `yaml:"disk_id"`
} `yaml:"ktcloud"`
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,12 @@ func handleImage() {
}

imageReqInfo := irs.ImageReqInfo{
IId: irs.IID{NameId: "Ubuntu 20.04 64bit", SystemId: "23bc4025-8a16-4ebf-aa49-3160ee2ac24b"},
// # KT Cloud : Ubuntu 20.04 64bit
// Zone : KOR-Central A
IId: irs.IID{NameId: "WIN 2019 STD [Korean] MSSQL 2019 ENT", SystemId: "297b2872-7ba9-4e6f-a8b7-e7f81fffc5f3"},

// Zone : KOR-Seoul M2
// IId: irs.IID{NameId: "Ubuntu 20.04 64bit", SystemId: "23bc4025-8a16-4ebf-aa49-3160ee2ac24b"},
// # KT Cloud : Ubuntu 20.04 64bit

// IId: irs.IID{NameId: "Test OS Image", SystemId: "528fdf79-c57f-4f9a-b8ea-c887b9fed003"},
// # KT Cloud : ubuntu-18.04, Ubuntu Server 64-bit
Expand Down

0 comments on commit d5d6480

Please sign in to comment.