Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for extractPortalAndIqn (0.21 sec)

  1. pkg/volume/iscsi/iscsi_util_test.go

    	portal, iqn, err := extractPortalAndIqn(devicePath)
    	if err != nil || portal != "127.0.0.1:3260" || iqn != "iqn.2014-12.com.example:test.tgt00" {
    		t.Errorf("extractPortalAndIqn: got %v %s %s", err, portal, iqn)
    	}
    	devicePath = "127.0.0.1:3260-eui.02004567A425678D-lun-0"
    	portal, iqn, err = extractPortalAndIqn(devicePath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 18 09:43:07 UTC 2022
    - 14.5K bytes
    - Viewed (0)
  2. pkg/volume/iscsi/iscsi.go

    	}
    
    	// Obtain iscsi disk configurations from globalPDPath
    	device, _, err := extractDeviceAndPrefix(globalPDPath)
    	if err != nil {
    		return volume.ReconstructedVolume{}, err
    	}
    	bkpPortal, iqn, err := extractPortalAndIqn(device)
    	if err != nil {
    		return volume.ReconstructedVolume{}, err
    	}
    	arr := strings.Split(device, "-lun-")
    	if len(arr) < 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. pkg/volume/iscsi/iscsi_util.go

    		// This portal/iqn/iface is no longer referenced, log out.
    		// Extract the portal and iqn from device path.
    		bkpPortal = make([]string, 1)
    		bkpPortal[0], iqn, err = extractPortalAndIqn(device)
    		if err != nil {
    			return err
    		}
    		// Extract the iface from the mountPath and use it to log out. If the iface
    		// is not found, maintain the previous behavior to facilitate kubelet upgrade.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 22 12:53:01 UTC 2022
    - 34.1K bytes
    - Viewed (0)
Back to top