Skip to content

Commit

Permalink
Support GCP-spicific TPU and DeepLearning-VM with AnyCall
Browse files Browse the repository at this point in the history
  • Loading branch information
powerkimhub committed Oct 31, 2024
1 parent 0ea47c8 commit 2c74d37
Show file tree
Hide file tree
Showing 2 changed files with 1,132 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ package connect

import (
"context"
"errors"

cblog "github.com/cloud-barista/cb-log"
gcprs "github.com/cloud-barista/cb-spider/cloud-control-manager/cloud-driver/drivers/gcp/resources"
Expand Down Expand Up @@ -143,7 +142,9 @@ func (cloudConn *GCPCloudConnection) CreateClusterHandler() (irs.ClusterHandler,
}

func (cloudConn *GCPCloudConnection) CreateAnyCallHandler() (irs.AnyCallHandler, error) {
return nil, errors.New("GCP Cloud Driver: not implemented")
cblogger.Info("GCP Cloud Driver: called CreateAnyCallHandler()!")
anyCallHandler := gcprs.GCPAnyCallHandler{cloudConn.Region, cloudConn.Ctx, cloudConn.VMClient, cloudConn.Credential}
return &anyCallHandler, nil
}

func (cloudConn *GCPCloudConnection) CreateRegionZoneHandler() (irs.RegionZoneHandler, error) {
Expand Down
Loading

0 comments on commit 2c74d37

Please sign in to comment.