From 7dc385e4fe3062c6929f97a01eb4f30f967fed35 Mon Sep 17 00:00:00 2001 From: innodreamer Date: Tue, 16 Jul 2024 17:17:38 +0900 Subject: [PATCH] Update drvCapabilityInfo --- .../cloud-driver/drivers/ncp/NcpDriver.go | 14 ++++++++++---- .../cloud-driver/drivers/ncpvpc/NcpVpcDriver.go | 13 +++++++++---- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/cloud-control-manager/cloud-driver/drivers/ncp/NcpDriver.go b/cloud-control-manager/cloud-driver/drivers/ncp/NcpDriver.go index a95af3481..419574fa4 100644 --- a/cloud-control-manager/cloud-driver/drivers/ncp/NcpDriver.go +++ b/cloud-control-manager/cloud-driver/drivers/ncp/NcpDriver.go @@ -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 } diff --git a/cloud-control-manager/cloud-driver/drivers/ncpvpc/NcpVpcDriver.go b/cloud-control-manager/cloud-driver/drivers/ncpvpc/NcpVpcDriver.go index 72f444780..1542c82ad 100644 --- a/cloud-control-manager/cloud-driver/drivers/ncpvpc/NcpVpcDriver.go +++ b/cloud-control-manager/cloud-driver/drivers/ncpvpc/NcpVpcDriver.go @@ -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 }