Skip to content

Commit

Permalink
PLT-1310: As part of sdk cutover removing libvirt support
Browse files Browse the repository at this point in the history
  • Loading branch information
SivaanandM committed Jul 26, 2024
1 parent cc3798c commit e481c49
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 98 deletions.
79 changes: 0 additions & 79 deletions client/cluster_libvirt.go.defer

This file was deleted.

19 changes: 0 additions & 19 deletions client/node_actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,25 +167,6 @@ func (h *V1Client) GetNodeMaintenanceStatusGke(configUID, machineName, nodeID st
return resp.Payload.Status.MaintenanceStatus, nil
}

// GetNodeMaintenanceStatusLibvirt retrieves maintenance status for a Libvirt node.
// TODO: libevirt deprecation
func (h *V1Client) GetNodeMaintenanceStatusLibvirt(ConfigUID, MachineName, NodeId string) (*models.V1MachineMaintenanceStatus, error) {

//params := clientv1.NewV1CloudConfigsLibvirtPoolMachinesUIDGetParamsWithContext(h.ctx).
// WithConfigUID(ConfigUID).
// WithMachinePoolName(MachineName).
// WithMachineUID(NodeId)
//
//s, err := h.Client.V1CloudConfigs(params)
//print(s)
//if err != nil {
// return nil, err
//}
//
//return s.Payload.Status.MaintenanceStatus, nil
return nil, nil
}

// GetNodeMaintenanceStatusOpenStack retrieves maintenance status for an OpenStack node.
func (h *V1Client) GetNodeMaintenanceStatusOpenStack(configUID, machineName, nodeID string) (*models.V1MachineMaintenanceStatus, error) {
params := clientv1.NewV1CloudConfigsOpenStackPoolMachinesUIDGetParamsWithContext(h.ctx).
Expand Down

0 comments on commit e481c49

Please sign in to comment.