Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getWwnsLunWwids (0.12 sec)

  1. pkg/volume/fc/fc_test.go

    		Lun:        &num,
    	}
    	wwn, lun, _, err := getWwnsLunWwids(fc)
    	// if no wwn and lun, exit
    	if (len(wwn) == 0 && lun != "0") || err != nil {
    		t.Errorf("no fc disk found")
    	}
    }
    
    func Test_getWwids(t *testing.T) {
    	fc := &v1.FCVolumeSource{
    		FSType: "ext4",
    		WWIDs:  []string{"3600508b400105e210000900000490000"},
    	}
    	_, _, wwid, err := getWwnsLunWwids(fc)
    	// if no wwn and lun, exit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  2. pkg/volume/fc/fc.go

    	fc, readOnly, err := getVolumeSource(spec)
    	if err != nil {
    		return nil, err
    	}
    
    	wwns, lun, wwids, err := getWwnsLunWwids(fc)
    	if err != nil {
    		return nil, fmt.Errorf("fc: no fc disk information found. failed to make a new mounter")
    	}
    	fcDisk := &fcDisk{
    		podUID:  podUID,
    		volName: spec.Name(),
    		wwns:    wwns,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top