Skip to content

Commit

Permalink
Update drvCapabilityInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
innodreamer committed Jul 16, 2024
1 parent c52d140 commit 7dc385e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
14 changes: 10 additions & 4 deletions cloud-control-manager/cloud-driver/drivers/ncp/NcpDriver.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,20 @@ func (NcpDriver) GetDriverCapability() idrv.DriverCapabilityInfo {
var drvCapabilityInfo idrv.DriverCapabilityInfo

// NOTE Temporary Setting
drvCapabilityInfo.ImageHandler = true
drvCapabilityInfo.VPCHandler = true
drvCapabilityInfo.SecurityHandler = true
drvCapabilityInfo.KeyPairHandler = true
drvCapabilityInfo.VNicHandler = false
drvCapabilityInfo.ImageHandler = true
drvCapabilityInfo.VMSpecHandler = true
drvCapabilityInfo.SecurityHandler = true
drvCapabilityInfo.KeyPairHandler = true
drvCapabilityInfo.PublicIPHandler = false
drvCapabilityInfo.VMHandler = true
drvCapabilityInfo.VMSpecHandler = true
drvCapabilityInfo.DiskHandler = true
drvCapabilityInfo.MyImageHandler = true
drvCapabilityInfo.NLBHandler = true
drvCapabilityInfo.PriceInfoHandler = true
drvCapabilityInfo.RegionZoneHandler = true
drvCapabilityInfo.TagHandler = true

return drvCapabilityInfo
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,20 @@ func (NcpVpcDriver) GetDriverCapability() idrv.DriverCapabilityInfo {
var drvCapabilityInfo idrv.DriverCapabilityInfo

// NOTE Temporary Setting
drvCapabilityInfo.ImageHandler = true
drvCapabilityInfo.VPCHandler = true
drvCapabilityInfo.SecurityHandler = true
drvCapabilityInfo.KeyPairHandler = true
drvCapabilityInfo.VNicHandler = false
drvCapabilityInfo.ImageHandler = true
drvCapabilityInfo.VMSpecHandler = true
drvCapabilityInfo.SecurityHandler = true
drvCapabilityInfo.KeyPairHandler = true
drvCapabilityInfo.PublicIPHandler = false
drvCapabilityInfo.VMHandler = true
drvCapabilityInfo.VMSpecHandler = true
drvCapabilityInfo.DiskHandler = true
drvCapabilityInfo.MyImageHandler = true
drvCapabilityInfo.NLBHandler = true
drvCapabilityInfo.PriceInfoHandler = true
drvCapabilityInfo.RegionZoneHandler = true
drvCapabilityInfo.TagHandler = false

return drvCapabilityInfo
}
Expand Down

0 comments on commit 7dc385e

Please sign in to comment.