Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetISCSIPortalHostMapForTarget (0.48 sec)

  1. pkg/volume/util/device_util.go

    */
    
    package util
    
    // DeviceUtil is a util for common device methods
    type DeviceUtil interface {
    	FindMultipathDeviceForDevice(disk string) string
    	FindSlaveDevicesOnMultipath(disk string) []string
    	GetISCSIPortalHostMapForTarget(targetIqn string) (map[string]int, error)
    	FindDevicesForISCSILun(targetIqn string, lun int) ([]string, error)
    }
    
    type deviceHandler struct {
    	getIo IoUtil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. pkg/volume/util/device_util_linux.go

    		}
    	}
    	return devices
    }
    
    // GetISCSIPortalHostMapForTarget given a target iqn, find all the scsi hosts logged into
    // that target. Returns a map of iSCSI portals (string) to SCSI host numbers (integers).
    //
    //	For example: {
    //	   "192.168.30.7:3260": 2,
    //	   "192.168.30.8:3260": 3,
    //	}
    func (handler *deviceHandler) GetISCSIPortalHostMapForTarget(targetIqn string) (map[string]int, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 9.4K bytes
    - Viewed (0)
Back to top